Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.16ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Cart Abandonment Recovery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.09 ▼5.58 |
Dashboard /wp-admin | 3.36 ▲0.01 | 50.98 ▼12.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.07 ▼0.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.00 ▼5.33 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.01 ▲1.77 |
Server storage [IO: ▲0.76MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 69 new files
Database: 4 new tables, 22 new options
New tables |
---|
wp_cartflows_ca_email_history |
wp_cartflows_ca_cart_abandonment |
wp_cartflows_ca_email_templates |
wp_cartflows_ca_email_templates_meta |
New WordPress options |
---|
db_upgraded |
wcf_ca_gdpr_status |
widget_theysaidso_widget |
theysaidso_admin_options |
wcf_ca_discount_type |
widget_recent-posts |
wcf_ca_from_name |
wcf_ca_zapier_cart_abandoned_webhook |
wcf_ca_coupon_code_status |
wcf_ca_cut_off_time |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Cart Abandonment Recovery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲56 | 14.20 ▼0.15 | 1.77 ▲0.10 | 41.43 ▼2.18 |
Dashboard /wp-admin | 2,208 ▲31 | 5.57 ▼0.04 | 91.64 ▼11.66 | 42.65 ▼3.49 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.94 ▼0.06 | 40.12 ▲3.12 | 37.69 ▲3.17 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.31 ▼2.17 | 638.62 ▼11.54 | 57.26 ▼9.25 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.18 ▲0.03 | 104.49 ▲7.83 | 44.93 ▲4.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_cartflows_ca_email_templates
- wp_cartflows_ca_cart_abandonment
- wp_cartflows_ca_email_history
- wp_cartflows_ca_email_templates_meta
- Zombie WordPress options were found after uninstall: 22 options
- wcf_ca_gdpr_status
- wcf_ca_from_name
- wcf_ca_reply_email
- wcf_ca_zapier_cart_abandoned_webhook
- wcf_ca_coupon_amount
- db_upgraded
- wcf_ca_zapier_tracking_status
- wcf_ca_coupon_expiry_unit
- wcf_ca_discount_type
- widget_recent-comments
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: cart abandonment, woocommerce, cart recovery
woo-cart-abandonment-recovery/woo-cart-abandonment-recovery.php 85% from 13 tests
The main file in "WooCommerce Cart Abandonment Recovery" v. 1.2.26 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 141 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("5.4" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected7,687 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 1,404 | 1,936 | 5,992 |
JavaScript | 11 | 72 | 34 | 838 |
CSS | 9 | 123 | 18 | 788 |
SVG | 2 | 0 | 2 | 66 |
JSON | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 27.76 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 1 | 4.76% |
Methods | 249 | |
▷ Static methods | 32 | 12.85% |
▷ Public methods | 228 | 91.57% |
▷ Protected methods | 2 | 0.80% |
▷ Private methods | 19 | 7.63% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 58 | |
▷ Global constants | 58 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.33MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/facebook2x.png | 1.89KB | 1.01KB | ▼ 46.72% |
admin/assets/images/twitter2x.png | 2.13KB | 1.14KB | ▼ 46.30% |
admin/assets/images/wcar-icon.png | 308.94KB | 1.94KB | ▼ 99.37% |
admin/assets/images/cartflows-email-logo.png | 13.00KB | 8.11KB | ▼ 37.57% |
admin/assets/images/image-placeholder.png | 12.27KB | 6.98KB | ▼ 43.09% |