Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.80ms] Passed 4 tests
An overview of server-side resources used by Unbloater
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.45 ▼6.56 |
Dashboard /wp-admin | 3.35 ▲0.05 | 42.37 ▼5.00 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.80 ▲5.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.70 ▼4.87 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.67 ▲7.64 |
Unbloater /wp-admin/options-general.php?page=unbloater | 3.24 | 29.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
unbloater_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Unbloater
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.60 ▼0.83 | 1.85 ▲0.03 | 41.16 ▼8.36 |
Dashboard /wp-admin | 2,210 ▲22 | 4.88 ▼1.00 | 112.07 ▼3.50 | 41.98 ▼4.36 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.04 | 39.50 ▲3.70 | 35.33 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.69 ▼4.38 | 591.66 ▼74.68 | 48.14 ▼7.74 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.28 ▲0.06 | 94.03 ▼6.70 | 40.48 ▼2.84 |
Unbloater /wp-admin/options-general.php?page=unbloater | 1,334 | 2.04 | 27.26 | 38.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: remove, notice, unbloat, bloat, clean
unbloater/unbloater.php Passed 13 tests
"Unbloater" version 1.6.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
80 characters long description:
Remove unnecessary code, nags and bloat from WordPress core and certain plugins.
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
There were no executable files found in this plugin1,522 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 359 | 215 | 1,522 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 4 | 3.36% |
▷ Public methods | 118 | 99.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.84% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin