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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.19ms] Passed 4 tests
Server-side resources used by Redirect for Bloom by Logic Hop
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.47 ▼2.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.93 ▼2.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.54 ▼0.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.14 ▼2.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.00 ▲0.58 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Redirect for Bloom by Logic Hop
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 13.56 ▼1.26 | 6.36 ▲4.59 | 43.33 ▼0.82 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▲0.86 | 93.42 ▼9.89 | 41.02 ▼0.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.03 | 39.44 ▲0.28 | 37.81 ▲4.65 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.05 ▼0.23 | 598.25 ▼70.58 | 50.34 ▼21.61 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▲0.04 | 93.70 ▼8.20 | 42.43 ▼3.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/redirect-for-bloom-by-logic-hop/logichop-bloom-redirect.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: bloom, optin, redirect, email
redirect-for-bloom-by-logic-hop/logichop-bloom-redirect.php 69% from 13 tests
The entry point to "Redirect for Bloom by Logic Hop" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("redirect-for-bloom-by-logic-hop.php" instead of "logichop-bloom-redirect.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin61 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 0 | 1 | 40 |
PHP | 2 | 13 | 47 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 119.19KB | 55.83KB | ▼ 53.16% |