Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼291.22ms] Passed 4 tests
Server-side resources used by WooCommerce Update Cart On Quantity Change
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.05 | 48.04 ▼6.62 |
Dashboard /wp-admin | 3.41 ▲0.00 | 31.78 ▼0.50 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 40.02 ▲1.98 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 91.18 ▼1,158.31 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.86 ▲0.54 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Update Cart On Quantity Change
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,181 ▼573 | 15.69 ▼0.27 | 0.39 ▼6.43 | 30.50 ▲27.73 |
Dashboard /wp-admin | 2,885 ▲24 | 6.03 ▼0.14 | 120.08 ▼15.32 | 155.41 ▼8.99 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.23 ▼0.00 | 64.98 ▼1.03 | 135.69 ▼10.02 |
Add New Post /wp-admin/post-new.php | 1,752 ▲86 | 21.40 ▲0.59 | 416.96 ▼20.04 | 157.85 ▼4.70 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.50 ▼0.02 | 141.49 ▲4.69 | 184.22 ▼5.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-update-cart-on-quantity-change/woo-update-cart-on-quantity-change.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (wcc-screenshot-1) image required
- Requires at least: Version not formatted correctly
woo-update-cart-on-quantity-change/woo-update-cart-on-quantity-change.php 92% from 13 tests
The principal PHP file in "WooCommerce Update Cart On Quantity Change" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected28 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 5 | 12 | 15 |
JavaScript | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin