Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.33ms] Passed 4 tests
Server-side resources used by Cart Lift - Abandoned Cart Recovery for WooCommerce and EDD
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.54 ▼4.01 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.06 ▼4.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.05 ▲2.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.26 ▼2.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.00 ▲1.36 |
Server storage [IO: ▲2.10MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 215 new files
Database: 7 new tables, 11 new options
New tables |
---|
wp_actionscheduler_claims |
wp_actionscheduler_logs |
wp_cl_campaign_history |
wp_cl_abandon_cart |
wp_cl_email_templates |
wp_actionscheduler_groups |
wp_actionscheduler_actions |
New WordPress options |
---|
schema-ActionScheduler_LoggerSchema |
cl_db_version |
can_compress_scripts |
db_upgraded |
cl_general_settings |
widget_theysaidso_widget |
action_scheduler_hybrid_store_demarkation |
theysaidso_admin_options |
schema-ActionScheduler_StoreSchema |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Cart Lift - Abandoned Cart Recovery for WooCommerce and EDD
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▲0.41 | 1.83 ▲0.07 | 38.54 ▼8.73 |
Dashboard /wp-admin | 2,198 ▲24 | 5.60 ▲0.01 | 92.95 ▼7.01 | 43.36 ▼1.85 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.05 | 38.99 ▲1.61 | 36.62 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.28 ▲0.20 | 593.82 ▼116.29 | 50.18 ▼5.15 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.28 ▲0.12 | 100.38 ▲3.97 | 41.39 ▲1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 7 tables
- wp_cl_abandon_cart
- wp_cl_campaign_history
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- wp_cl_email_templates
- wp_actionscheduler_groups
- This plugin does not fully uninstall, leaving 11 options in the database
- schema-ActionScheduler_LoggerSchema
- widget_recent-comments
- cl_db_version
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- action_scheduler_hybrid_store_demarkation
- cl_general_settings
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/cart-lift/admin/partials/cart-lift-analytics.php
- > /wp-content/plugins/cart-lift/public/partials/cart-lift-public-display.php
- > /wp-content/plugins/cart-lift/admin/partials/settings-component/sendgrid-tab.php
- > /wp-content/plugins/cart-lift/admin/partials/settings-component/mailchimp-tab.php
- > /wp-content/plugins/cart-lift/admin/partials/settings-component/ses-tab.php
- 89× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cart-lift/admin/partials/settings-component/general-tab.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php:6
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Exception' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/ActionScheduler_InvalidActionException.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cart-lift/admin/partials/settings-component/email-tab.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_NullSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/cart-lift/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: cart recovery, abandoned carts, cart abandonment, woocommerce
cart-lift/cart-lift.php Passed 13 tests
The principal PHP file in "Cart Lift - Abandoned Cart Recovery for WooCommerce and EDD" v. 3.1.10 is loaded by WordPress automatically on each request
78 characters long description:
Win back your abandoned cart customers with automated email recovery campaign.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected30,400 lines of code in 189 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 3,573 | 8,527 | 18,303 |
CSS | 7 | 709 | 23 | 6,379 |
PO File | 9 | 1,863 | 2,205 | 4,547 |
JavaScript | 8 | 104 | 115 | 941 |
JSON | 2 | 0 | 0 | 160 |
Markdown | 1 | 22 | 0 | 70 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 112 | |
▷ Abstract classes | 15 | 13.39% |
▷ Concrete classes | 97 | 86.61% |
▷ Final classes | 0 | 0.00% |
Methods | 936 | |
▷ Static methods | 119 | 12.71% |
▷ Public methods | 696 | 74.36% |
▷ Protected methods | 152 | 16.24% |
▷ Private methods | 88 | 9.40% |
Functions | 81 | |
▷ Named functions | 71 | 87.65% |
▷ Anonymous functions | 10 | 12.35% |
Constants | 44 | |
▷ Global constants | 11 | 25.00% |
▷ Class constants | 33 | 75.00% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/cart-lift-icon.png | 1.47KB | 1.06KB | ▼ 27.95% |
admin/images/logo.png | 15.81KB | 1.58KB | ▼ 89.98% |
admin/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
admin/images/logo-placeholder.png | 0.60KB | 0.34KB | ▼ 42.60% |
admin/images/Cart_Lift_Email_Blur.png | 5.45KB | 5.09KB | ▼ 6.59% |