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
Installer ran successfully
Server metrics [RAM: ▲1.50MB] [CPU: ▲14.08ms] Passed 4 tests
This is a short check of server-side resources used by Booster Sweeper: WordPress Asset Cleanup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.00 ▲1.53 | 62.93 ▲21.83 |
Dashboard /wp-admin | 4.83 ▲1.52 | 57.58 ▲5.23 |
Posts /wp-admin/edit.php | 4.92 ▲1.56 | 77.50 ▲29.15 |
Add New Post /wp-admin/post-new.php | 7.38 ▲1.49 | 102.79 ▲10.77 |
Media Library /wp-admin/upload.php | 4.69 ▲1.46 | 53.35 ▲18.50 |
Server storage [IO: ▲1.88MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
_booster_sweeper_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Booster Sweeper: WordPress Asset Cleanup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 14.70 ▲0.26 | 1.77 ▲0.04 | 41.95 ▼1.40 |
Dashboard /wp-admin | 2,238 ▲64 | 5.57 ▲0.03 | 86.35 ▼6.12 | 40.51 ▲1.22 |
Posts /wp-admin/edit.php | 2,341 ▲238 | 3.58 ▲1.62 | 80.44 ▲42.78 | 35.59 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,680 ▲154 | 23.36 ▲0.16 | 664.16 ▲58.11 | 48.82 ▼0.71 |
Media Library /wp-admin/upload.php | 1,443 ▲49 | 4.08 ▼0.08 | 81.90 ▼17.89 | 43.16 ▲0.83 |
General /wp-admin/admin.php?page=booster-sweeper-settings#tab=general | 1,401 | 3.40 | 61.49 | 44.36 |
Manage (Frontend) /wp-admin/admin.php?page=booster-sweeper-settings#tab=manage-frontend | 1,381 | 3.42 | 54.69 | 34.49 |
Documentation /wp-admin/admin.php?page=booster-sweeper-settings#tab=documentation | 1,406 | 3.85 | 59.29 | 36.77 |
Manage (Backend) /wp-admin/admin.php?page=booster-sweeper-settings#tab=manage-backend | 1,384 | 3.39 | 53.21 | 32.37 |
Assets (Options) /wp-admin/admin.php?page=booster-sweeper-settings#tab=assets-options | 1,385 | 3.72 | 52.50 | 33.23 |
Import/Export /wp-admin/admin.php?page=booster-sweeper-settings#tab=import-export | 1,385 | 3.73 | 57.19 | 31.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- _booster_sweeper_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: assets, performance, seo, dequeue, pagespeed...
booster-sweeper/booster-sweeper.php 92% from 13 tests
"Booster Sweeper: WordPress Asset Cleanup" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin39,308 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 3,628 | 1,701 | 15,620 |
JavaScript | 6 | 1,304 | 516 | 6,633 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 5 | 376 | 515 | 4,879 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 25.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 7.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 2 | 3.12% |
▷ Concrete classes | 62 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 250 | |
▷ Static methods | 48 | 19.20% |
▷ Public methods | 250 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 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
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 |
admin/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |