Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▼143.81ms] Passed 4 tests
This is a short check of server-side resources used by PickPlugins Product Filter for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.31 ▲0.48 | 41.18 ▲7.67 |
Dashboard /wp-admin | 3.59 ▲0.54 | 51.77 ▲4.18 |
Posts /wp-admin/edit.php | 3.64 ▲0.53 | 46.28 ▼0.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.46 | 87.36 ▼580.40 |
Media Library /wp-admin/upload.php | 3.47 ▲0.47 | 36.30 ▲1.03 |
Product Filter /wp-admin/edit.php?post_type=product&page=wc_pf_settings | 3.28 | 26.56 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_widget_wcproductfilter |
Browser metrics Passed 4 tests
An overview of browser requirements for PickPlugins Product Filter for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲131 | 15.95 ▲0.32 | 8.45 ▼5.07 | 50.25 ▼2.05 |
Dashboard /wp-admin | 2,973 ▲42 | 5.88 ▼0.06 | 154.36 ▲5.58 | 111.15 ▼1.57 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.01 | 68.14 ▼1.24 | 81.46 ▼12.27 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.74 ▲0.00 | 393.25 ▼0.24 | 107.46 ▼1.72 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.00 | 163.49 ▲13.81 | 116.93 ▲1.00 |
Product Filter /wp-admin/edit.php?post_type=product&page=wc_pf_settings | 28 | 0.90 | 0.05 | 11.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- widget_widget_wcproductfilter
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=product&page=wc_pf_settings
- > Network (severe)
wp-admin/edit.php?post_type=product&page=wc_pf_settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #3 (screenshot-3), #4 (screenshot-4), #5 (screenshot-5), #6 (screenshot-6), #7 (screenshot-7)
wc-product-filter/wc-product-filter.php Passed 13 tests
The main PHP file in "PickPlugins Product Filter for WooCommerce" ver. 1.0.9 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Advance filter & search for shop page to find product easily.
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
No dangerous file extensions were detected3,159 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 1,295 | 136 | 2,332 |
CSS | 3 | 223 | 85 | 688 |
JavaScript | 2 | 117 | 42 | 139 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 129.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 641.00 |
Average method complexity | 15.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/global/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.23KB | 0.11KB | ▼ 51.05% |
assets/global/css/images/ui-icons_555555_256x240.png | 3.20KB | 3.50KB | 0.00% |
assets/global/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.14KB | 0.08KB | ▼ 40.41% |
assets/global/css/images/ui-icons_cc0000_256x240.png | 3.19KB | 3.49KB | 0.00% |
assets/global/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.23KB | 0.11KB | ▼ 50.64% |