Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/clean-up-booster/clean-up-booster.php+533
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼2.07MB] [CPU: ▼342.63ms] Passed 4 tests
This is a short check of server-side resources used by Clean Up Booster - Database Optimizer & Login Security
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.21 | 4.99 ▼52.12 |
Dashboard /wp-admin | 2.32 ▼1.09 | 5.03 ▼30.49 |
Posts /wp-admin/edit.php | 2.32 ▼1.32 | 5.46 ▼37.36 |
Add New Post /wp-admin/post-new.php | 2.32 ▼4.65 | 5.25 ▼1,250.56 |
Media Library /wp-admin/upload.php | 2.32 ▼0.97 | 4.02 ▼19.85 |
/wp-admin/admin.php?page=cub_manage_ip_addresses | 2.32 | 4.73 |
/wp-admin/admin.php?page=cub_database_scheduled_clean_up | 2.32 | 4.70 |
/wp-admin/admin.php?page=cub_visitor_logs | 2.32 | 5.03 |
/wp-admin/admin.php?page=cub_manage_ip_ranges | 2.32 | 4.63 |
/wp-admin/admin.php?page=cub_add_new_schedule_clean_up | 2.32 | 4.80 |
/wp-admin/admin.php?page=cub_country_blocks | 2.32 | 4.31 |
System Information /wp-admin/admin.php?page=cub_system_information | 2.32 | 4.86 |
WordPress Data /wp-admin/admin.php?page=cub_clean_up_booster | 2.32 | 4.52 |
/wp-admin/admin.php?page=cub_core_cron_jobs | 2.32 | 5.04 |
Advance Security /wp-admin/admin.php?page=cub_blocking_options | 2.32 | 4.51 |
Server storage [IO: ▲1.81MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 112 new files
Database: 3 new tables, 2 new options
New tables |
---|
wp_clean_up_booster |
wp_clean_up_booster_meta |
wp_clean_up_booster_ip_locations |
New WordPress options |
---|
cub_admin_notice |
clean_up_booster_version_number |
Browser metrics Passed 4 tests
Checking browser requirements for Clean Up Booster - Database Optimizer & Login Security
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,852 ▲130 | 15.38 ▼0.13 | 5.88 ▲0.36 | 4.70 ▲2.48 |
Dashboard /wp-admin | 2,960 ▲99 | 6.14 ▼0.03 | 119.88 ▼14.01 | 181.59 ▼61.85 |
Posts /wp-admin/edit.php | 2,724 ▲39 | 3.25 ▲0.01 | 67.25 ▲5.51 | 148.12 ▲6.59 |
Add New Post /wp-admin/post-new.php | 1,706 ▲16 | 16.10 ▼4.53 | 417.86 ▼29.63 | 232.50 ▲46.71 |
Media Library /wp-admin/upload.php | 1,761 ▲64 | 5.57 ▲0.07 | 127.19 ▼46.26 | 227.78 ▲29.58 |
/wp-admin/admin.php?page=cub_manage_ip_addresses | 1,405 | 3.51 | 73.11 | 197.27 |
/wp-admin/admin.php?page=cub_database_scheduled_clean_up | 1,405 | 3.52 | 73.12 | 189.33 |
/wp-admin/admin.php?page=cub_visitor_logs | 1,402 | 3.44 | 63.85 | 184.75 |
/wp-admin/admin.php?page=cub_manage_ip_ranges | 1,402 | 3.46 | 68.16 | 195.60 |
/wp-admin/admin.php?page=cub_add_new_schedule_clean_up | 1,401 | 3.55 | 74.18 | 193.29 |
/wp-admin/admin.php?page=cub_country_blocks | 1,370 | 3.52 | 66.67 | 199.20 |
System Information /wp-admin/admin.php?page=cub_system_information | 1,402 | 3.51 | 67.84 | 193.95 |
WordPress Data /wp-admin/admin.php?page=cub_clean_up_booster | 1,401 | 3.54 | 71.15 | 194.82 |
/wp-admin/admin.php?page=cub_core_cron_jobs | 1,402 | 3.59 | 65.88 | 182.55 |
Advance Security /wp-admin/admin.php?page=cub_blocking_options | 1,401 | 3.54 | 67.73 | 255.72 |
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
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/clean-up-booster/clean-up-booster.php+533
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
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
These errors were triggered by the plugin
- 60 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cub_blocking_options
- > Deprecated in wp-content/plugins/clean-up-booster/clean-up-booster.php+907
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cub_blocking_options
- > Network (severe)
http://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #23 (System Information Screen), #24 (Error Logs Screen)
- Tags: You are using too many tags: 12 tag instead of maximum 10
clean-up-booster/clean-up-booster.php 92% from 13 tests
The main file in "Clean Up Booster - Database Optimizer & Login Security" v. 3.0.22 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin29,023 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 264 | 817 | 12,982 |
CSS | 14 | 30 | 151 | 9,206 |
PO File | 3 | 1,388 | 1,913 | 3,189 |
JavaScript | 8 | 294 | 64 | 2,205 |
SVG | 2 | 0 | 0 | 1,441 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 84 | |
▷ Named functions | 83 | 98.81% |
▷ Anonymous functions | 1 | 1.19% |
Constants | 23 | |
▷ Global constants | 23 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
35 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/global/img/icon.png | 1.71KB | 0.97KB | ▼ 43.44% |
assets/global/img/portlet-reload-icon-white.png | 0.32KB | 0.35KB | 0.00% |
assets/global/img/ribbon_green_right_top.png | 4.20KB | 1.18KB | ▼ 71.86% |
assets/admin/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/admin/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |