Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.25ms] Passed 4 tests
This is a short check of server-side resources used by Abandoned Cart Recovery for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.62 ▼7.93 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.72 ▼16.69 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.98 ▲6.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.93 ▼11.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 30.75 ▼4.50 |
Server storage [IO: ▲3.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 547 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Abandoned Cart Recovery for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.26 ▼0.11 | 1.66 ▲0.03 | 43.40 ▼0.12 |
Dashboard /wp-admin | 2,198 ▲17 | 5.67 ▼0.02 | 92.04 ▼21.88 | 42.47 ▼0.10 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.06 | 37.09 ▼2.07 | 33.22 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 23.34 ▲0.74 | 664.78 ▲13.96 | 67.93 ▲14.68 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▲0.01 | 96.17 ▼3.28 | 40.86 ▼5.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- 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
Even though no errors were found, this is by no means an exhaustive test
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 a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
woo-abandoned-cart-recovery/woo-abandoned-cart-recovery.php Passed 13 tests
The main PHP script in "Abandoned Cart Recovery for WooCommerce" version 1.1.1 is automatically included on every request by WordPress
63 characters long description:
Capture abandoned cart & send reminder emails to the customers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin17,679 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,495 | 552 | 7,791 |
JavaScript | 17 | 1,274 | 317 | 5,562 |
CSS | 32 | 280 | 221 | 2,659 |
Sass | 4 | 311 | 28 | 1,210 |
PO File | 1 | 187 | 222 | 420 |
SVG | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 35.52 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 328 | |
▷ Static methods | 51 | 15.55% |
▷ Public methods | 304 | 92.68% |
▷ Protected methods | 5 | 1.52% |
▷ Private methods | 19 | 5.79% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
433 PNG files occupy 1.50MB with 0.83MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/_unknown.png | 1.35KB | 0.30KB | ▼ 77.69% |
assets/img/flag/256/GD.png | 7.55KB | 3.28KB | ▼ 56.56% |
assets/img/flag/256/NI.png | 7.08KB | 3.67KB | ▼ 48.22% |
assets/img/flag/256/YE.png | 1.47KB | 0.86KB | ▼ 41.68% |
assets/img/flag/TW.png | 0.85KB | 0.39KB | ▼ 54.27% |