Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼33.48ms] Passed 4 tests
An overview of server-side resources used by Delete Bad Behavior Log
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.30 ▼8.05 |
Dashboard /wp-admin | 3.00 ▼0.30 | 23.85 ▼28.89 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.00 ▼21.79 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.16 ▼71.96 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.10 ▼11.29 |
Delete Bad Behavior Log /wp-admin/options-general.php?page=bd-delete-bad-behavior-log | 3.00 | 23.62 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Delete Bad Behavior Log
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.30 | 1.61 ▼0.59 | 40.03 ▼4.59 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼1.02 | 108.70 ▼8.29 | 43.75 ▲0.09 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.02 | 50.42 ▲10.94 | 45.37 ▲10.67 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.34 ▲0.07 | 669.08 ▲27.64 | 53.16 ▼2.48 |
Media Library /wp-admin/upload.php | 1,383 ▼5 | 4.23 ▼0.02 | 96.74 ▼7.99 | 42.19 ▼4.46 |
Delete Bad Behavior Log /wp-admin/options-general.php?page=bd-delete-bad-behavior-log | 678 | 1.53 | 6.72 | 19.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 7 options in the database
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bd-delete-bad-behavior-log
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=bd-delete-bad-behavior-log
- > Error in wp-content/plugins/delete-bad-behavior-log/delete-bad-behavior-log.php+25
Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/delete-bad-behavior-log/delete-bad-behavior-log.php:25
Stack trace:
#0 wp-includes/class-wp-hook.php(310): bd_delete_bad_behavior_log_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#5 {main}
thrown
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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delete-bad-behavior-log/delete-bad-behavior-log.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Invalid url: ""
delete-bad-behavior-log/delete-bad-behavior-log.php Passed 13 tests
The entry point to "Delete Bad Behavior Log" version 0.5 is a PHP file that has certain tags in its header comment area
38 characters long description:
Delete HTTP Log of Bad Behavior Plugin
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 plugin66 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 8 | 66 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 3 | |
▷ Named functions | 3 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin