Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.28MB] [CPU: ▲22.76ms] Passed 4 tests
A check of server-side resources used by HUSKY - Products Filter for WooCommerce Professional
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.73 ▲2.27 | 65.04 ▲25.61 |
Dashboard /wp-admin | 5.59 ▲2.29 | 65.28 ▲17.70 |
Posts /wp-admin/edit.php | 5.64 ▲2.29 | 74.24 ▲26.37 |
Add New Post /wp-admin/post-new.php | 8.17 ▲2.29 | 112.21 ▲21.69 |
Media Library /wp-admin/upload.php | 5.51 ▲2.28 | 59.87 ▲26.05 |
Server storage [IO: ▲8.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 765 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_woof_sd |
New WordPress options |
---|
widget_woof_widget |
woof_show_author_search |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
woof_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
woof_later_rate_alert |
Browser metrics Passed 4 tests
A check of browser resources used by HUSKY - Products Filter for WooCommerce Professional
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,995 ▲234 | 13.99 ▼0.36 | 10.00 ▲8.43 | 41.46 ▼0.35 |
Dashboard /wp-admin | 2,223 ▲43 | 5.59 ▼0.01 | 94.65 ▲9.87 | 39.27 ▲0.82 |
Posts /wp-admin/edit.php | 2,153 ▲56 | 2.34 ▲0.33 | 42.36 ▲6.11 | 33.61 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,558 ▲18 | 23.03 ▲4.81 | 607.23 ▼36.81 | 56.68 ▼7.16 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.36 ▲0.21 | 99.34 ▲4.13 | 42.05 ▼2.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_woof_sd
- Zombie WordPress options detected upon uninstall: 10 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- woof_later_rate_alert
- woof_version
- woof_show_author_search
- widget_recent-posts
- widget_woof_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 193× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/woocommerce-products-filter/ext/smart_designer/data/switcher.php
- > /wp-content/plugins/woocommerce-products-filter/ext/quick_search/views/sort_html.php
- > /wp-content/plugins/woocommerce-products-filter/ext/step_filer/index.php
- > /wp-content/plugins/woocommerce-products-filter/ext/meta_filter/html_types/textinput/index.php
- > /wp-content/plugins/woocommerce-products-filter/ext/smart_designer/views/tabs_content.php
- > /wp-content/plugins/woocommerce-products-filter/ext/meta_filter/views/tabs_content.php
- > /wp-content/plugins/woocommerce-products-filter/ext/by_onsales/views/options.php
- > /wp-content/plugins/woocommerce-products-filter/ext/meta_filter/html_types/mselect/views/woof.php
- > /wp-content/plugins/woocommerce-products-filter/ext/meta_filter/html_types/select/views/additional_options.php
- > /wp-content/plugins/woocommerce-products-filter/ext/front_builder/options/sections/by_featured.php
- 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: subscr in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 6
- > PHP Notice
Undefined variable: subscr in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php:9
- > PHP Notice
Undefined variable: subscr in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/item_list_subscr.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 4
- > PHP Notice
Undefined variable: subscr in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/ext/products_messenger/views/email_template.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add descriptions for screenshots #10, #11, #12, #13, #14, #15, #16, #17, #18, #2, #22, #23, #24, #25, #26, #28, #29, #3, #4, #5, #6, #7, #8, #9 in woocommerce-products-filter/assets to your readme.txt
woocommerce-products-filter/index.php 85% from 13 tests
This is the main PHP file of "HUSKY - Products Filter for WooCommerce Professional" version 1.3.4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-products-filter.php" instead of "index.php")
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "WP 4.9.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin100,789 lines of code in 505 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 121 | 7,904 | 6,285 | 39,075 |
PHP | 201 | 5,765 | 1,179 | 29,296 |
CSS | 125 | 1,781 | 708 | 17,309 |
PO File | 7 | 5,472 | 3,464 | 12,152 |
SVG | 34 | 10 | 1 | 2,319 |
Sass | 13 | 132 | 69 | 454 |
JSON | 2 | 0 | 0 | 79 |
HTML | 1 | 6 | 0 | 67 |
Markdown | 1 | 16 | 0 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 43.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 721.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 3 | 4.29% |
▷ Concrete classes | 67 | 95.71% |
▷ Final classes | 48 | 71.64% |
Methods | 873 | |
▷ Static methods | 72 | 8.25% |
▷ Public methods | 780 | 89.35% |
▷ Protected methods | 20 | 2.29% |
▷ Private methods | 73 | 8.36% |
Functions | 79 | |
▷ Named functions | 17 | 21.52% |
▷ Anonymous functions | 62 | 78.48% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
136 compressed PNG files occupy 0.82MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/checked3.png | 0.78KB | 0.74KB | ▼ 5.24% |
ext/by_author/img/eye-icon2.png | 0.81KB | 0.92KB | 0.00% |
js/icheck/skins/flat/grey.png | 1.48KB | 1.65KB | 0.00% |
js/icheck/skins/square/aero.png | 2.12KB | 1.83KB | ▼ 13.71% |
js/ion.range-slider/img/sprite-skin-flat.png | 0.30KB | 0.28KB | ▼ 5.92% |