Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/booter-bots-crawlers-manager/includes/Updater.php+89
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.47MB] [CPU: ▲1.55ms] Passed 4 tests
An overview of server-side resources used by Booter - Bots & Crawlers Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.45 | 47.24 ▲7.34 |
Dashboard /wp-admin | 3.81 ▲0.50 | 53.33 ▼0.85 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 53.70 ▲4.54 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 88.83 ▼4.83 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 43.16 ▲7.73 |
Booter - Bots & Crawlers Manager /wp-admin/options-general.php?page=booter | 3.97 | 55.63 |
Server storage [IO: ▲0.84MB] [DB: ▲0.04MB] 67% from 3 tests
Input-output and database impact of this plugin
Please fix the following
- Illegal file modification found: 2 files (1.19KB) outside of "wp-content/plugins/booter-bots-crawlers-manager/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/booter-crawlers-manager-mu.php
- (new file) robots.txt
Filesystem: 37 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_booter_404s |
New WordPress options |
---|
booter_version |
widget_recent-comments |
booter_settings |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Booter - Bots & Crawlers Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 14.39 ▲0.10 | 1.73 ▼0.04 | 45.42 ▲1.85 |
Dashboard /wp-admin | 2,259 ▲82 | 5.58 ▼0.04 | 86.05 ▼7.17 | 41.82 ▲1.58 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 1.97 ▼0.02 | 34.83 ▼7.97 | 33.05 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,586 ▲58 | 23.61 ▲0.43 | 670.46 ▲29.60 | 68.90 ▲19.64 |
Media Library /wp-admin/upload.php | 1,467 ▲73 | 4.23 ▲0.01 | 100.51 ▼10.17 | 43.84 ▼2.43 |
Booter - Bots & Crawlers Manager /wp-admin/options-general.php?page=booter | 11,382 | 4.53 | 118.15 | 43.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_booter_404s
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- booter_version
- booter_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/booter-bots-crawlers-manager/booter-crawlers-manager.php
- > /wp-content/plugins/booter-bots-crawlers-manager/booter-contstants.php
- > /wp-content/plugins/booter-bots-crawlers-manager/mu-plugins/booter-crawlers-manager-mu.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/block.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/disavow.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/rate-limit.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url_raw() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/booter-bots-crawlers-manager/views/options.php:9
- > PHP Warning
array_map() expects parameter 1 to be a valid callback, function 'sanitize_text_field' not found or invalid function name in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/bad-bots.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/help.php:4
- > PHP Fatal error
Uncaught Error: Class 'Upress\\Booter\\Log404' not found in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/404-log.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/debug.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/booter-bots-crawlers-manager/views/options-tabs/bad-bots.php:4
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: hosting, security, request, rate limit, upress
booter-bots-crawlers-manager/booter-crawlers-manager.php 85% from 13 tests
"Booter - Bots & Crawlers Manager" version 1.5.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("booter-bots-crawlers-manager.php" instead of "booter-crawlers-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin3,065 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 399 | 355 | 2,225 |
PO File | 1 | 254 | 305 | 837 |
JavaScript | 2 | 0 | 2 | 2 |
CSS | 1 | 0 | 0 | 1 |
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.34 |
Average class complexity | 23.40 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 38 | 48.10% |
▷ Public methods | 66 | 83.54% |
▷ Protected methods | 6 | 7.59% |
▷ Private methods | 7 | 8.86% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-file-NEW-03-min.png | 1.00KB | 1.00KB | 0.00% |
assets/images/upress_logo.png | 8.59KB | 8.60KB | 0.00% |