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
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.97ms] Passed 4 tests
A check of server-side resources used by BlankPress WordPress Cleaner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.26 ▼4.48 |
Dashboard /wp-admin | 3.42 ▲0.08 | 48.61 ▼9.13 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.06 ▼0.80 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 88.21 ▲4.03 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.05 ▲2.55 |
BPWP Cleaner /wp-admin/options-general.php?page=bpwpcleaner-setting | 3.30 | 28.17 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
bpwpcleaner_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for BlankPress WordPress Cleaner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,353 ▼397 | 14.25 ▼0.10 | 1.21 ▼0.43 | 42.66 ▲1.56 |
Dashboard /wp-admin | 1,938 ▼242 | 5.43 ▼0.24 | 78.57 ▼4.77 | 36.09 ▼4.30 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.02 | 33.50 ▼3.98 | 34.59 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 18.16 ▼5.09 | 611.53 ▼63.23 | 69.93 ▲17.71 |
Media Library /wp-admin/upload.php | 1,396 ▼4 | 4.22 ▲0.07 | 94.43 ▼9.25 | 41.95 ▼0.51 |
BPWP Cleaner /wp-admin/options-general.php?page=bpwpcleaner-setting | 1,083 | 2.10 | 24.75 | 28.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=bpwpcleaner-setting
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=bpwpcleaner-setting
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_settings_section() in wp-content/plugins/bpwp-cleaner/inc/settings-misc.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bpwp-cleaner/inc/cleanup-head.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bpwp-cleaner/inc/cleanup-dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_settings_section() in wp-content/plugins/bpwp-cleaner/inc/settings-head.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bpwp-cleaner/inc/class.bpwpc-cleanup.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_settings_section() in wp-content/plugins/bpwp-cleaner/inc/settings-dashboard.php:4
- > PHP Fatal error
Uncaught Error: Class 'BPWPC_Cleanup' not found in wp-content/plugins/bpwp-cleaner/inc/class.bpwpc-core.php:19
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bpwp-cleaner/inc/cleanup-misc.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: wp optimizer, header cleaner, springclean wordpress, wordpress cleaner, disable login shake...
bpwp-cleaner/index.php 85% from 13 tests
The primary PHP file in "BlankPress WordPress Cleaner" version 1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 214 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("bpwp-cleaner.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected621 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 218 | 99 | 574 |
JavaScript | 1 | 10 | 6 | 37 |
CSS | 1 | 0 | 2 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin