Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.64ms] Passed 4 tests
An overview of server-side resources used by Recover abandoned cart for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.45 ▼6.14 |
Dashboard /wp-admin | 3.44 ▲0.09 | 50.85 ▼9.27 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.96 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 82.87 ▼14.33 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 39.10 ▲7.33 |
Abandoned carts /wp-admin/admin.php?page=racart-abandonedcart | 3.34 | 40.86 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_racart_cartemail |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Recover abandoned cart for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,009 ▲248 | 15.04 ▲0.75 | 4.05 ▲2.38 | 43.88 ▲1.83 |
Dashboard /wp-admin | 2,342 ▲165 | 6.34 ▲0.74 | 110.15 ▲16.78 | 39.63 ▼3.50 |
Posts /wp-admin/edit.php | 2,271 ▲174 | 3.35 ▲1.39 | 48.88 ▲14.33 | 31.27 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 22.91 ▼0.13 | 647.97 ▼7.18 | 36.73 ▼19.93 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.11 ▼0.08 | 125.63 ▲23.71 | 59.68 ▲17.12 |
Abandoned carts /wp-admin/admin.php?page=racart-abandonedcart | 1,244 | 3.04 | 40.49 | 63.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_racart_cartemail
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/recover-wc-abandoned-cart/admin/abandoned-list.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/recover-wc-abandoned-cart/admin/exitintent.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/recover-wc-abandoned-cart/admin/cartemail.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce, cart abandoned, recover woocommerce cart, cart recovery, abandon cart
recover-wc-abandoned-cart/recover-wc-abandoned-cart.php Passed 13 tests
This is the main PHP file of "Recover abandoned cart for WooCommerce" version 1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
113 characters long description:
Recover abandoned cart for WooCommerce easily. Increase sales by recovering your lost shopping cart by customers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,063 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 8 | 33 | 769 |
JavaScript | 3 | 1 | 23 | 167 |
CSS | 2 | 9 | 1 | 127 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/browse-themes.png | 104.42KB | 44.22KB | ▼ 57.65% |