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.08MB] [CPU: ▼8.77ms] Passed 4 tests
This is a short check of server-side resources used by Ajax Cart AutoUpdate for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.13 ▼2.14 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.99 ▼4.71 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.25 ▼5.47 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.23 ▼22.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.04 ▲2.59 |
Ajax Cart AutoUpdate /wp-admin/options-general.php?page=ajax-cart-autoupdate | 3.29 | 32.74 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
acau_first_activate |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Ajax Cart AutoUpdate for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.59 ▼1.02 | 1.95 ▲0.24 | 45.31 ▲2.85 |
Dashboard /wp-admin | 2,212 ▲29 | 5.85 ▲0.92 | 110.94 ▲3.75 | 47.36 ▲7.39 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.05 ▲0.01 | 39.57 ▼0.57 | 34.95 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.30 ▲0.16 | 641.09 ▲38.31 | 55.86 ▼1.33 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.08 | 93.74 ▼0.04 | 38.74 ▼3.32 |
Ajax Cart AutoUpdate /wp-admin/options-general.php?page=ajax-cart-autoupdate | 1,005 | 2.38 | 40.50 | 26.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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 everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=ajax-cart-autoupdate
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).trigger(...) is not a function" "TypeError: $(...).trigger(...) is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ajax-cart-autoupdate-for-woocommerce/js/ajax-cart-autoupdate-for-woocommerce-admin.js?ver=6.3.1:5:52)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=ajax-cart-autoupdate
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).trigger(...) is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
ajax-cart-autoupdate-for-woocommerce/ajax-cart-autoupdate-for-woocommerce.php 92% from 13 tests
"Ajax Cart AutoUpdate for WooCommerce" version 1.5.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "3.0.0")
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
Good job! No executable or dangerous file extensions detected369 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 101 | 73 | 359 |
JavaScript | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin