Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/recover-abandoned-cart-for-woocommerce/azh_woo_recover_abandoned _cart.php+849
Uncaught Error: Call to undefined function azr_run() in wp-content/plugins/recover-abandoned-cart-for-woocommerce/azh_woo_recover_abandoned _cart.php:849
Stack trace:
#0 wp-content/plugins/recover-abandoned-cart-for-woocommerce/azh_woo_recover_abandoned _cart.php(62): azm_woo_rac_create_defualt_campaign()
#1 wp-includes/class-wp-hook.php(310): azm_woo_rac_activate()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.33ms] Passed 4 tests
This is a short check of server-side resources used by Recover Abandoned Cart for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.15 ▼3.95 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.30 ▼3.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.90 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.86 ▼18.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.20 ▼0.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_azm_woo_abandoned_carts_rules |
wp_azm_woo_abandoned_carts |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
azm_woo_rac_defualt_campaign |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Recover Abandoned Cart for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.71 ▲0.16 | 1.82 ▲0.22 | 41.99 ▼0.32 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▼0.05 | 90.76 ▼5.41 | 41.32 ▼7.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 39.83 ▲2.96 | 36.50 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.18 ▲0.27 | 674.97 ▼32.39 | 67.16 ▲15.60 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▼0.02 | 99.68 ▼12.00 | 48.81 ▲2.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_azm_woo_abandoned_carts_rules
- wp_azm_woo_abandoned_carts
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- azm_woo_rac_defualt_campaign
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
recover-abandoned-cart-for-woocommerce/azh_woo_recover_abandoned _cart.php 85% from 13 tests
The entry point to "Recover Abandoned Cart for WooCommerce" version 1.27.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("recover-abandoned-cart-for-woocommerce.php" instead of "azh_woo_recover_abandoned _cart.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin782 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 94 | 43 | 782 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 28 | 96.55% |
▷ Anonymous functions | 1 | 3.45% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin