Benchmarks
Plugin footprint 83% 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: ▲0.02MB] [CPU: ▼8.85ms] Passed 4 tests
An overview of server-side resources used by WPC Product Size Chart for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.16 ▲1.88 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.22 ▼14.96 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.67 ▼3.23 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.70 ▼19.07 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.30 ▲7.21 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 28.59 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 30.84 |
Server storage [IO: ▲0.21MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Product Size Chart for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲95 | 14.32 ▼0.21 | 1.50 ▼0.27 | 39.07 ▼2.75 |
Dashboard /wp-admin | 2,272 ▲95 | 5.60 ▼0.07 | 83.63 ▼5.93 | 72.34 ▲26.47 |
Posts /wp-admin/edit.php | 2,178 ▲81 | 2.02 ▲0.07 | 36.22 ▼1.50 | 34.15 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,763 ▲229 | 24.43 ▲6.45 | 714.35 ▲75.31 | 51.18 ▼12.76 |
Media Library /wp-admin/upload.php | 1,471 ▲68 | 4.18 ▲0.05 | 104.28 ▲10.26 | 76.91 ▲36.17 |
About /wp-admin/admin.php?page=wpclever | 1,405 | 2.14 | 29.59 | 33.51 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.13 | 33.07 | 66.44 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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 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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in wpc-product-size-chart/assets to your readme.txt
wpc-product-size-chart/wpc-product-size-chart.php Passed 13 tests
The main PHP file in "WPC Product Size Chart for WooCommerce" ver. 2.0.6 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Ultimate solution to manage WooCommerce product size charts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,342 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 409 | 179 | 1,769 |
CSS | 6 | 259 | 75 | 1,329 |
PHP | 4 | 190 | 42 | 1,198 |
SVG | 2 | 0 | 0 | 46 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 38.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 3 | 5.77% |
▷ Public methods | 52 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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