Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲2.53MB] [CPU: ▲14.12ms] Passed 4 tests
A check of server-side resources used by Speed Booster Pack ⚡ PageSpeed Optimization Suite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.83 ▲1.37 | 45.49 ▲6.43 |
Dashboard /wp-admin | 6.22 ▲2.87 | 67.70 ▲7.77 |
Posts /wp-admin/edit.php | 6.37 ▲3.00 | 81.84 ▲36.61 |
Add New Post /wp-admin/post-new.php | 8.84 ▲2.94 | 100.64 ▲5.66 |
Media Library /wp-admin/upload.php | 6.15 ▲2.92 | 73.06 ▲41.23 |
Server storage [IO: ▲2.12MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (0.51KB) outside of "wp-content/plugins/speed-booster-pack/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 218 new files
Database: no new tables, 10 new options
New WordPress options |
---|
woocommerce_allow_tracking |
can_compress_scripts |
woocommerce_analytics_enabled |
sbp_public_post_types |
sbp_options |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Speed Booster Pack ⚡ PageSpeed Optimization Suite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲191 | 14.73 ▲0.38 | 1.31 ▼0.35 | 39.31 ▼1.57 |
Dashboard /wp-admin | 2,328 ▲148 | 5.60 ▼0.08 | 93.99 ▲8.70 | 75.22 ▲32.87 |
Posts /wp-admin/edit.php | 2,464 ▲364 | 4.20 ▲2.20 | 83.80 ▲48.92 | 34.59 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,980 ▲439 | 20.23 ▼2.52 | 690.46 ▲25.71 | 77.39 ▲14.21 |
Media Library /wp-admin/upload.php | 1,592 ▲192 | 5.26 ▲0.85 | 100.09 ▼10.30 | 87.13 ▲41.06 |
Optimize CSS /wp-admin/admin.php?page=sbp-settings#tab=optimize-css | 3,265 | 4.90 | 97.76 | 87.62 |
Tools /wp-admin/admin.php?page=sbp-settings#tab=tools | 3,092 | 3.88 | 53.18 | 80.21 |
Assets /wp-admin/admin.php?page=sbp-settings#tab=assets | 3,108 | 4.78 | 84.94 | 74.59 |
Dashboard /wp-admin/admin.php?page=sbp-settings#tab=dashboard | 3,115 | 3.95 | 53.97 | 85.57 |
CDN & Proxy /wp-admin/admin.php?page=sbp-settings#tab=cdn-proxy | 3,099 | 4.68 | 83.86 | 91.40 |
General /wp-admin/admin.php?page=sbp-settings#tab=general | 3,248 | 4.83 | 74.48 | 84.54 |
Optimize Database /wp-admin/admin.php?page=sbp-settings#tab=optimize-database | 3,110 | 3.95 | 59.89 | 73.23 |
WooCommerce /wp-admin/admin.php?page=sbp-settings#tab=woocommerce | 3,148 | 4.31 | 64.01 | 98.02 |
Caching /wp-admin/admin.php?page=sbp-settings#tab=caching | 3,190 | 5.28 | 89.66 | 74.27 |
About /wp-admin/admin.php?page=sbp-settings#tab=about | 3,104 | 4.03 | 53.47 | 78.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- can_compress_scripts
- woocommerce_analytics_enabled
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- sbp_public_post_types
- woocommerce_allow_tracking
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/speed-booster-pack/vendor/deliciousbrains/wp-background-processing/wp-background-processing.php:20
- > PHP Fatal error
Uncaught Error: Class 'SpeedBooster\\SBP_Abstract_Module' not found in wp-content/plugins/speed-booster-pack/includes/classes/class-sbp-image-dimensions.php:7
- > PHP Fatal error
Uncaught Error: Class 'SpeedBooster\\SBP_Abstract_Module' not found in wp-content/plugins/speed-booster-pack/includes/classes/class-sbp-base-cache.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/speed-booster-pack/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in speed-booster-pack/assets to your readme.txt
speed-booster-pack/speed-booster-pack.php Passed 13 tests
"Speed Booster Pack ⚡ PageSpeed Optimization Suite" version 4.5.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
135 characters long description:
PageSpeed optimization is vital for SEO: A faster website equals better conversions. Optimize & cache your site with this smart plugin!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin40,660 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 4,411 | 3,100 | 15,855 |
JavaScript | 9 | 1,335 | 529 | 6,880 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 6 | 410 | 512 | 5,090 |
Markdown | 2 | 84 | 0 | 457 |
JSON | 4 | 0 | 0 | 201 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 26.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 270.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 5 | 4.63% |
▷ Concrete classes | 103 | 95.37% |
▷ Final classes | 0 | 0.00% |
Methods | 682 | |
▷ Static methods | 98 | 14.37% |
▷ Public methods | 534 | 78.30% |
▷ Protected methods | 47 | 6.89% |
▷ Private methods | 101 | 14.81% |
Functions | 65 | |
▷ Named functions | 51 | 78.46% |
▷ Anonymous functions | 14 | 21.54% |
Constants | 72 | |
▷ Global constants | 53 | 73.61% |
▷ Class constants | 19 | 26.39% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |