Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.54ms] Passed 4 tests
An overview of server-side resources used by Woomizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.91 ▼4.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.65 ▼0.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.77 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.47 ▼9.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.31 ▲0.10 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Woomizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.58 ▼1.10 | 1.92 ▲0.20 | 41.88 ▼10.83 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼0.02 | 108.24 ▼7.23 | 42.16 ▼2.66 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.04 | 35.36 ▼6.48 | 33.69 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.19 ▲5.24 | 683.97 ▲63.48 | 50.20 ▼3.32 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.25 ▲0.09 | 97.96 ▼8.30 | 43.98 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/woomizer/includes/class-woomizer-customize-panel.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/woomizer/includes/class-woomizer-customize-control.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Partial' not found in wp-content/plugins/woomizer/includes/class-woomizer-customize-partial.php:24
- > PHP Fatal error
Uncaught Error: Class 'Woomizer_Customize_Control' not found in wp-content/plugins/woomizer/includes/controls/class-woomizer-control-product-tabs.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/woomizer/includes/class-woomizer-customize-section.php:20
- > PHP Fatal error
Uncaught Error: Class 'Woomizer_Customize_Control' not found in wp-content/plugins/woomizer/includes/controls/class-woomizer-control-divider.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/woomizer/includes/class-woomizer-customize-setting.php:20
- > PHP Fatal error
Uncaught Error: Class 'Woomizer_Customize_Control' not found in wp-content/plugins/woomizer/includes/controls/class-woomizer-control-product-grid.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: customizer, woocommerce, woocommerce-customizer
woomizer/woomizer.php 92% from 13 tests
The entry point to "Woomizer" version 1.2.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.8.0" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,444 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 233 | 845 | 911 |
JavaScript | 9 | 59 | 35 | 315 |
CSS | 6 | 6 | 0 | 107 |
Sass | 3 | 3 | 0 | 85 |
JSON | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 12.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 2 | 18.18% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 28 | 66.67% |
▷ Protected methods | 4 | 9.52% |
▷ Private methods | 10 | 23.81% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin