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.05MB] [CPU: ▼4.20ms] Passed 4 tests
Server-side resources used by FlowHippo Abandoned Cart Recovery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.31 ▼8.01 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.05 ▼7.40 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.66 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 94.40 ▲3.39 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.07 ▼0.23 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FlowHippo Abandoned Cart Recovery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 14.48 ▲0.13 | 1.67 ▼0.27 | 40.08 ▼6.06 |
Dashboard /wp-admin | 2,206 ▲18 | 5.78 ▼0.07 | 97.97 ▼19.24 | 39.69 ▼4.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.07 | 39.16 ▲3.21 | 34.91 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,514 ▼7 | 17.63 ▼5.45 | 625.74 ▼33.92 | 48.89 ▼8.48 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.25 ▲0.01 | 97.15 ▼2.85 | 41.01 ▼3.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: abandoned cart, zoko, flowhippo, broadcast, cart recovery...
flowhippo-abandoned-cart-recovery/flowhippo.php 77% from 13 tests
The main PHP script in "FlowHippo Abandoned Cart Recovery" version 1.1.9 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 155 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("flowhippo-abandoned-cart-recovery.php" instead of "flowhippo.php")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.4")
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
Good job! No executable or dangerous file extensions detected501 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 50 | 43 | 347 |
JavaScript | 1 | 1 | 1 | 154 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 13 | |
▷ Named functions | 13 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.86MB with 0.65MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 333.09KB | 69.94KB | ▼ 79.00% |
assets/screenshot-2.png | 543.69KB | 151.57KB | ▼ 72.12% |