Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.11ms] Passed 4 tests
This is a short check of server-side resources used by WP Booster
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.83 ▼1.53 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.34 ▼6.89 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.09 ▼4.75 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.64 ▲5.19 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 36.59 ▲0.74 |
WP Booster Settings /wp-admin/options-general.php?page=wp-booster | 3.28 | 33.54 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- The plugin illegally modified 1 file (0.51KB) outside of "wp-content/plugins/wp-booster/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 30 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
wpbooster_enqueued_scripts |
theysaidso_admin_options |
wpbooster_enqueued_styles |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Booster
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.69 ▼0.76 | 1.84 ▼0.40 | 41.10 ▼7.85 |
Dashboard /wp-admin | 2,214 ▲26 | 4.91 ▲0.05 | 104.56 ▼10.86 | 30.59 ▼12.21 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.00 ▼0.04 | 38.58 ▲3.38 | 25.34 ▼8.19 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.31 ▲0.16 | 613.25 ▼54.92 | 54.45 ▼22.24 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.28 ▲0.04 | 95.82 ▼3.69 | 42.96 ▼3.08 |
WP Booster Settings /wp-admin/options-general.php?page=wp-booster | 891 | 1.73 | 27.38 | 26.38 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-booster/wp-booster.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in wp-booster/assets to your readme.txt
wp-booster/wp-booster.php 85% from 13 tests
The main PHP file in "WP Booster" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "5.0.0")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,038 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 389 | 655 | 1,945 |
JavaScript | 2 | 4 | 5 | 60 |
CSS | 1 | 7 | 7 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 22 | 20.56% |
▷ Public methods | 51 | 47.66% |
▷ Protected methods | 15 | 14.02% |
▷ Private methods | 41 | 38.32% |
Functions | 12 | |
▷ Named functions | 4 | 33.33% |
▷ Anonymous functions | 8 | 66.67% |
Constants | 20 | |
▷ Global constants | 8 | 40.00% |
▷ Class constants | 12 | 60.00% |
▷ Public constants | 12 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 1.04KB | 1.06KB | 0.00% |