Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.04ms] Passed 4 tests
Analyzing server-side resources used by ELEX WooCommerce Abandoned Cart Recovery with Dynamic Coupons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.81 ▼1.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.62 ▼0.86 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.89 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.00 ▼13.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.73 ▲0.70 |
Server storage [IO: ▲3.41MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 134 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_eh_ab_trash_table |
wp_eh_ab_email_templates |
wp_eh_ab_log_table |
wp_eh_ab_cart_details |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by ELEX WooCommerce Abandoned Cart Recovery with Dynamic Coupons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.77 ▲0.02 | 1.75 ▼0.30 | 42.77 ▼1.51 |
Dashboard /wp-admin | 2,212 ▲24 | 4.84 ▼0.05 | 113.46 ▼3.40 | 41.80 ▼6.40 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.01 ▼0.02 | 35.98 ▲0.72 | 35.45 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,539 ▲18 | 23.10 ▼0.06 | 727.55 ▲52.78 | 55.87 ▲0.15 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.20 ▼0.11 | 94.02 ▼18.92 | 41.34 ▼13.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_eh_ab_cart_details
- wp_eh_ab_log_table
- wp_eh_ab_email_templates
- wp_eh_ab_trash_table
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/email/CouponCodeHtml.php
- > /wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/review_and_troubleshoot_notify/resources/logo.php
- 28× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/tables/class-elex-table-creation.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/class-elex-ab-cart-action.php:20
- > PHP Fatal error
Uncaught Error: Class 'AbandonedCartAction' not found in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/settings/elex-dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/view/cart-details-popup.php:33
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/view/settings/email-templates.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/review_and_troubleshoot_notify/resources/review.php:58
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/tables/class-elex-table-creation.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/wp-fluent/src/QueryBuilder/NestedCriteria.php:3
- > PHP Warning
Use of undefined constant OBJECT - assumed 'OBJECT' (this will throw an Error in a future version of PHP) in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/view/settings/email-settings.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/elex-abandoned-cart-recovery-with-dynamic-coupons/includes/wp-fluent/src/QueryBuilder/Transaction.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid URI found ("")
elex-abandoned-cart-recovery-with-dynamic-coupons/elex-abandoned-cart-woocommerce.php 69% from 13 tests
The principal PHP file in "ELEX WooCommerce Abandoned Cart Recovery with Dynamic Coupons" v. 1.0.5 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "2.6.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("elex-abandoned-cart-recovery-with-dynamic-coupons.php" instead of "elex-abandoned-cart-woocommerce.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
- Domain Path: The domain path is invalid: folder "/language" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin16,379 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 65 | 2,447 | 1,920 | 10,971 |
JavaScript | 19 | 742 | 131 | 3,379 |
CSS | 6 | 34 | 6 | 830 |
Sass | 4 | 39 | 26 | 572 |
Markdown | 1 | 141 | 0 | 484 |
SVG | 20 | 0 | 0 | 143 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 339.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 1 | 2.44% |
▷ Concrete classes | 40 | 97.56% |
▷ Final classes | 0 | 0.00% |
Methods | 403 | |
▷ Static methods | 44 | 10.92% |
▷ Public methods | 385 | 95.53% |
▷ Protected methods | 14 | 3.47% |
▷ Private methods | 4 | 0.99% |
Functions | 40 | |
▷ Named functions | 4 | 10.00% |
▷ Anonymous functions | 36 | 90.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.54MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Images/catalog_mode.png | 85.64KB | 21.17KB | ▼ 75.28% |
assets/Images/google_feed.png | 80.41KB | 19.81KB | ▼ 75.37% |
assets/Images/icons/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/Images/ab_cart.png | 76.09KB | 17.48KB | ▼ 77.02% |
assets/Images/icons/top banner.png | 68.55KB | 19.96KB | ▼ 70.88% |