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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼8.95ms] Passed 4 tests
A check of server-side resources used by WordPress abandoned cart recovery and email marketing for Easy Digital Downloads by Recapture
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 39.77 ▼15.49 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.15 ▼4.30 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 61.92 ▲16.34 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 88.23 ▼9.84 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 42.63 ▼6.17 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WordPress abandoned cart recovery and email marketing for Easy Digital Downloads by Recapture: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.56 ▼0.74 | 1.72 ▼0.41 | 43.69 ▼2.02 |
Dashboard /wp-admin | 2,215 ▲30 | 5.85 ▼0.00 | 116.00 ▼10.92 | 42.94 ▼4.94 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 1.99 ▼0.05 | 51.66 ▲12.66 | 52.21 ▲15.78 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 20.68 ▼2.34 | 806.70 ▲130.22 | 67.07 ▲11.73 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.18 ▼0.04 | 156.73 ▲25.99 | 68.30 ▲9.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'RecaptureBasePlatform' not found in wp-content/plugins/recapture-for-edd/platforms/class-edd.php:15
- > PHP Fatal error
Uncaught Error: Class 'RecaptureBasePlatform' not found in wp-content/plugins/recapture-for-edd/platforms/class-woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/recapture-for-edd/templates/reviews.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recapture-for-edd/recapture.php:645
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: 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-edd/recapture.php 85% from 13 tests
Analyzing the main PHP file in "WordPress abandoned cart recovery and email marketing for Easy Digital Downloads by Recapture" version 1.0.34
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("recapture-for-edd.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 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,704 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 312 | 162 | 1,307 |
CSS | 2 | 11 | 2 | 180 |
JavaScript | 2 | 26 | 5 | 158 |
PO File | 1 | 15 | 17 | 59 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 22.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 104 | |
▷ Static methods | 52 | 50.00% |
▷ Public methods | 100 | 96.15% |
▷ Protected methods | 2 | 1.92% |
▷ Private methods | 2 | 1.92% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
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% |