Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.09ms] Passed 4 tests
A check of server-side resources used by Bloat Buster - A Simple Plugin To Kill Off Bloat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.14 ▲9.03 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.92 ▲0.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.27 ▲0.02 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.98 ▼12.70 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.23 ▲3.58 |
Bloat Buster /wp-admin/options-general.php?page=bbuster-options | 3.26 | 51.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Bloat Buster - A Simple Plugin To Kill Off Bloat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.56 ▲0.29 | 1.93 ▼2.08 | 42.65 ▲1.17 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.96 | 106.47 ▲3.61 | 43.15 ▲1.93 |
Posts /wp-admin/edit.php | 2,072 ▼20 | 2.01 ▲0.01 | 36.63 ▼3.82 | 38.62 ▲3.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.30 ▲5.69 | 671.92 ▼2.75 | 52.26 ▼4.81 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.19 ▲0.03 | 95.86 ▼14.33 | 44.28 ▼1.42 |
Bloat Buster /wp-admin/options-general.php?page=bbuster-options | 873 | 2.03 | 23.17 | 27.36 |
Uninstaller [IO: ▲0.05MB] [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 attentionThis plugin does not fully uninstall, leaving 6 options in the database
- Incomplete uninstall procedure, leaving 26 files (0.05MB) in the plugin directory
- (new file) index.php
- (new file) includes/partials/import-form.php
- (new file) includes/partials/export-form.php
- (new file) includes/partials/option-page.php
- (new file) src/Base/Activate.php
- (new file) src/Base/Deactivate.php
- (new file) includes/partials/layout.php
- (new file) LICENSE.txt
- (new file) README.txt
- (new file) bloat-buster.php
- ...
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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 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
Please fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'BBUSTER_PATHincludes/partials/option-page.php' (include_path='.:/usr/share/php') in wp-content/plugins/bloat-buster/includes/partials/layout.php on line 18
- > PHP Warning
Use of undefined constant BBUSTER_PATH - assumed 'BBUSTER_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bloat-buster/includes/partials/layout.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bloat-buster/includes/partials/import-form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/bloat-buster/includes/partials/option-page.php:2
- > PHP Warning
require_once(BBUSTER_PATHincludes/partials/option-page.php): failed to open stream: No such file or directory in wp-content/plugins/bloat-buster/includes/partials/layout.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bloat-buster/includes/partials/export-form.php:2
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Setting page overview)
bloat-buster/bloat-buster.php 92% from 13 tests
This is the main PHP file of "Bloat Buster - A Simple Plugin To Kill Off Bloat" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin711 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 164 | 324 | 711 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 6.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 48 | |
▷ Static methods | 10 | 20.83% |
▷ Public methods | 46 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.17% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin