Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼8.92ms] Passed 4 tests
This is a short check of server-side resources used by WordPress abandoned cart recovery and email marketing for WooCommerce by Recapture
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.27 | 43.54 ▼8.04 |
Dashboard /wp-admin | 3.62 ▲0.23 | 48.92 ▼17.14 |
Posts /wp-admin/edit.php | 3.67 ▲0.27 | 50.94 ▼0.63 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.21 | 98.32 ▼9.87 |
Media Library /wp-admin/upload.php | 3.48 ▲0.21 | 38.27 ▲2.42 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress abandoned cart recovery and email marketing for WooCommerce by Recapture
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.73 ▲0.35 | 1.82 ▼0.02 | 43.35 ▲0.84 |
Dashboard /wp-admin | 2,201 ▲21 | 5.63 ▼0.02 | 92.49 ▼5.00 | 40.79 ▲3.84 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.03 ▲0.04 | 40.27 ▲2.48 | 35.59 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,535 ▲8 | 23.31 ▲0.30 | 687.93 ▼67.18 | 60.36 ▲2.13 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.18 ▼0.03 | 107.75 ▼14.95 | 45.48 ▼2.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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 50% 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 fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'RecaptureBasePlatform' not found in wp-content/plugins/recapture-for-woocommerce/platforms/class-edd.php:15
- > PHP Fatal error
Uncaught Error: Class 'RecaptureBasePlatform' not found in wp-content/plugins/recapture-for-woocommerce/platforms/class-woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recapture-for-woocommerce/recapture.php:706
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/recapture-for-woocommerce/templates/reviews.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Experience the famous 5-minute install with Recapture), #2 (Configure your store settings once you're connected), #3 (Activate your campaigns in Recapture to start increasing sales!)
recapture-for-woocommerce/recapture.php 85% from 13 tests
The main file in "WordPress abandoned cart recovery and email marketing for WooCommerce by Recapture" v. 1.0.35 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("recapture-for-woocommerce.php" instead of "recapture.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,898 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 325 | 171 | 1,501 |
CSS | 2 | 11 | 2 | 180 |
JavaScript | 2 | 26 | 5 | 158 |
PO File | 1 | 15 | 17 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 115 | |
▷ Static methods | 61 | 53.04% |
▷ Public methods | 111 | 96.52% |
▷ Protected methods | 2 | 1.74% |
▷ Private methods | 2 | 1.74% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/recapture.png | 1.31KB | 0.32KB | ▼ 75.47% |