Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.02ms] Passed 4 tests
Server-side resources used by Recover Exit For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 39.45 ▲0.59 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.95 ▼4.89 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.68 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 81.54 ▼16.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.72 ▼0.07 |
RecoverExit /wp-admin/admin.php?page=recoverexit-for-woocommerce | 3.22 | 39.04 |
Bulk Add Coupons /wp-admin/admin.php?page=recover-exit-gen-coupons | 3.22 | 34.90 |
Help & License /wp-admin/admin.php?page=recover-exit-help-license | 3.22 | 35.35 |
Template Editor /wp-admin/admin.php?page=recover-exit-template-editor | 3.26 | 45.29 |
Statistics /wp-admin/admin.php?page=recover-exit-stats | 3.20 | 31.63 |
Settings /wp-admin/admin.php?page=recover-exit-settings | 3.23 | 31.92 |
Feedback /wp-admin/admin.php?page=recover-exit-feedback | 3.23 | 34.87 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
RecoverExitFirstTimer |
can_compress_scripts |
widget_theysaidso_widget |
RecoverExitSettings |
db_upgraded |
widget_recent-posts |
randomrecoverexitcheck |
RE_Total_Counter |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Recover Exit For WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 13.31 ▼0.91 | 1.59 ▼0.08 | 37.98 ▼2.45 |
Dashboard /wp-admin | 2,259 ▲68 | 4.85 ▼0.22 | 109.16 ▲7.00 | 40.07 ▼4.38 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.03 ▲0.03 | 33.96 ▼6.03 | 34.31 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 23.21 ▲5.69 | 660.24 ▲36.72 | 61.74 ▲6.19 |
Media Library /wp-admin/upload.php | 1,444 ▲53 | 4.20 ▲0.03 | 96.78 ▼5.80 | 40.44 ▼4.62 |
RecoverExit /wp-admin/admin.php?page=recoverexit-for-woocommerce | 907 | 2.03 | 29.02 | 40.32 |
Bulk Add Coupons /wp-admin/admin.php?page=recover-exit-gen-coupons | 905 | 2.03 | 24.32 | 38.45 |
Help & License /wp-admin/admin.php?page=recover-exit-help-license | 4,605 | 52.17 | 1,404.39 | 38.61 |
Template Editor /wp-admin/admin.php?page=recover-exit-template-editor | 724 | 1.14 | 8.85 | 26.32 |
Statistics /wp-admin/admin.php?page=recover-exit-stats | 843 | 1.14 | 7.33 | 21.33 |
Settings /wp-admin/admin.php?page=recover-exit-settings | 1,205 | 2.03 | 25.29 | 45.95 |
Feedback /wp-admin/admin.php?page=recover-exit-feedback | 848 | 2.15 | 27.64 | 37.27 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- randomrecoverexitcheck
- RecoverExitSettings
- RE_conversion_Counter
- widget_recent-comments
- can_compress_scripts
- RecoverExitFirstTimer
- widget_recent-posts
- RE_Total_Counter
- db_upgraded
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=recover-exit-template-editor
- > Error in wp-content/uploads/RecoverExit/templates/BlackNYellow [Premium].php+9
Uncaught Error: Call to undefined function wc_get_page_permalink() in wp-content/uploads/RecoverExit/templates/BlackNYellow [Premium].php:9
Stack trace:
#0 wp-content/plugins/recoverexit-for-woocommerce/admin_area.php(1001): include()
#1 wp-includes/class-wp-hook.php(310): recover_exit_template_editor()
#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/admin.php(259): do_action()
#5 {main}
thrown- > GET request to /wp-admin/admin.php?page=recover-exit-stats
- > Error in wp-content/uploads/RecoverExit/templates/BlackNYellow [Premium].php+9
Uncaught Error: Call to undefined function wc_get_page_permalink() in wp-content/uploads/RecoverExit/templates/BlackNYellow [Premium].php:9
Stack trace:
#0 wp-content/plugins/recoverexit-for-woocommerce/admin_area.php(303): include()
#1 wp-includes/class-wp-hook.php(310): recover_exit_stats()
#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/admin.php(259): do_action()
#5 {main}
thrown
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recoverexit-for-woocommerce/includes/functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_page_permalink() in wp-content/plugins/recoverexit-for-woocommerce/assets/feedbacktemplate/feedback.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in recoverexit-for-woocommerce/assets to your readme.txt
recoverexit-for-woocommerce/recoverexit_woocommerce.php 92% from 13 tests
"Recover Exit For WooCommerce" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("recoverexit-for-woocommerce.php" instead of "recoverexit_woocommerce.php")
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
There were no executable files found in this plugin3,185 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 873 | 340 | 2,468 |
CSS | 3 | 6 | 1 | 555 |
JavaScript | 2 | 26 | 9 | 162 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tick.png | 1.02KB | 0.53KB | ▼ 48.00% |
assets/images/settings.png | 5.23KB | 5.54KB | 0.00% |
assets/images/feedback.png | 3.60KB | 3.87KB | 0.00% |
assets/images/template-editor.png | 1.33KB | 1.37KB | 0.00% |
assets/images/gold-star.png | 1.57KB | 1.31KB | ▼ 16.41% |