Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼7.81ms] Passed 4 tests
Server-side resources used by WPC Smart Price Filter for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 36.32 ▲0.19 |
Dashboard /wp-admin | 3.47 ▲0.13 | 43.36 ▼16.28 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 47.17 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 79.25 ▼17.92 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.33 ▲2.77 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.36 | 30.56 |
About /wp-admin/admin.php?page=wpclever | 3.36 | 29.35 |
Server storage [IO: ▲0.07MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WPC Smart Price Filter for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲104 | 13.23 ▼1.15 | 1.58 ▼0.44 | 40.05 ▼0.99 |
Dashboard /wp-admin | 2,281 ▲96 | 5.85 ▲0.98 | 102.45 ▲1.87 | 86.12 ▲45.03 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 2.05 ▲0.06 | 36.90 ▲1.65 | 35.90 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,596 ▲54 | 23.31 ▲0.45 | 666.75 ▲29.83 | 47.78 ▼4.66 |
Media Library /wp-admin/upload.php | 1,463 ▲75 | 4.26 ▲0.08 | 100.14 ▲5.65 | 81.85 ▲40.38 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,730 | 2.27 | 41.28 | 52.87 |
About /wp-admin/admin.php?page=wpclever | 1,386 | 2.12 | 29.58 | 34.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in wpc-smart-price-filter/assets to your readme.txt
wpc-smart-price-filter/wpc-smart-price-filter.php Passed 13 tests
"WPC Smart Price Filter for WooCommerce" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
110 characters long description:
WPC Smart Price Filter is an advanced widget help you to filter products by price with unlimited price ranges.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,420 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 135 | 41 | 853 |
CSS | 3 | 83 | 6 | 441 |
JavaScript | 3 | 11 | 2 | 97 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 29.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 5.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 30 | 93.75% |
▷ Protected methods | 2 | 6.25% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin