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
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.80ms] Passed 4 tests
Analyzing server-side resources used by Cart All In One For WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 41.24 ▼3.85 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.36 ▼1.01 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 49.18 ▼4.89 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.86 ▼13.46 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.88 ▲4.11 |
Server storage [IO: ▲3.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 110 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Cart All In One For WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.34 ▲0.07 | 1.71 ▼0.94 | 44.45 ▼0.54 |
Dashboard /wp-admin | 2,203 ▲23 | 5.63 ▼0.05 | 89.98 ▼5.24 | 40.62 ▼3.03 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.99 ▼0.01 | 37.71 ▲0.94 | 36.38 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.52 ▲0.32 | 644.13 ▼50.52 | 51.07 ▼5.94 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.16 ▼0.14 | 94.25 ▼15.31 | 42.73 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: cart all in one for woocommerce, wc mini cart, woocommerce mini cart, wc sticky cart, wc cart
woo-cart-all-in-one/woo-cart-all-in-one.php Passed 13 tests
The main PHP script in "Cart All In One For WooCommerce" version 1.1.13 is automatically included on every request by WordPress
76 characters long description:
Cart All In One For WooCommerce helps your customers view cart effortlessly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin21,189 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 1,271 | 388 | 7,668 |
PHP | 22 | 235 | 103 | 6,744 |
SVG | 5 | 1 | 18 | 3,477 |
CSS | 29 | 526 | 130 | 3,300 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 30.11 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 25 | 19.23% |
▷ Public methods | 110 | 84.62% |
▷ Protected methods | 16 | 12.31% |
▷ Private methods | 4 | 3.08% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
9 PNG files occupy 0.27MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cart-icon/style_3.png | 2.23KB | 1.41KB | ▼ 36.62% |
assets/images/cart-icon/style_5.png | 2.11KB | 1.38KB | ▼ 34.77% |
assets/images/cart-icon/style_1.png | 2.09KB | 1.38KB | ▼ 34.24% |
assets/images/sticky_bar.png | 74.00KB | 32.40KB | ▼ 56.21% |
assets/images/sidebar_cart_footer_pre.png | 24.20KB | 11.20KB | ▼ 53.71% |