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.12MB] [CPU: ▼2.92ms] Passed 4 tests
A check of server-side resources used by WPC Update Variations In Cart for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.70 ▼0.36 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.11 ▼7.24 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.41 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.40 ▼5.25 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 43.64 ▲8.25 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.31 | 32.82 |
About /wp-admin/admin.php?page=wpclever | 3.31 | 29.28 |
Server storage [IO: ▲0.06MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Update Variations In Cart for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲142 | 13.21 ▼1.19 | 1.67 ▼0.34 | 38.52 ▼11.90 |
Dashboard /wp-admin | 2,286 ▲95 | 4.96 ▼0.08 | 104.89 ▼10.58 | 73.43 ▲25.15 |
Posts /wp-admin/edit.php | 2,169 ▲83 | 2.07 ▲0.05 | 37.93 ▲2.05 | 35.35 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,742 ▲200 | 22.26 ▲3.98 | 711.94 ▲71.01 | 55.56 ▲2.53 |
Media Library /wp-admin/upload.php | 1,459 ▲71 | 4.15 ▼0.12 | 100.26 ▲1.82 | 75.56 ▲29.36 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,729 | 2.27 | 32.83 | 55.13 |
About /wp-admin/admin.php?page=wpclever | 1,384 | 2.16 | 31.41 | 33.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in wpc-update-variations-in-cart/assets to your readme.txt
wpc-update-variations-in-cart/wpc-update-variations-in-cart.php Passed 13 tests
The principal PHP file in "WPC Update Variations In Cart for WooCommerce" v. 1.0.9 is loaded by WordPress automatically on each request
84 characters long description:
WPC Update Variations In Cart gives your customer power to change variation in cart.
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 plugin1,273 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 88 | 27 | 608 |
CSS | 3 | 92 | 6 | 468 |
JavaScript | 3 | 33 | 2 | 168 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.46 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.83 |
▷ 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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 24 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected