Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.29MB] [CPU: ▲19.56ms] Passed 4 tests
Analyzing server-side resources used by Speed Optimizer - The All-In-One WordPress Performance-Boosting Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.76 ▲2.29 | 65.20 ▲21.52 |
Dashboard /wp-admin | 5.58 ▲2.28 | 62.94 ▲10.62 |
Posts /wp-admin/edit.php | 5.70 ▲2.34 | 66.81 ▲22.91 |
Add New Post /wp-admin/post-new.php | 8.35 ▲2.46 | 119.29 ▲24.87 |
Media Library /wp-admin/upload.php | 5.51 ▲2.27 | 57.18 ▲23.20 |
SG Plugins /wp-admin/options-general.php?page=siteground_settings | 5.47 | 46.92 |
Dashboard /wp-admin/admin.php?page=sg-cachepress | 5.51 | 50.98 |
Environment /wp-admin/admin.php?page=sgo_environment | 5.49 | 50.22 |
Caching /wp-admin/admin.php?page=sgo_caching | 5.49 | 55.24 |
Site Performance /wp-admin/admin.php?page=sgo_analysis | 5.49 | 49.84 |
Frontend /wp-admin/admin.php?page=sgo_frontend | 5.49 | 53.20 |
Media /wp-admin/admin.php?page=sgo_media | 5.49 | 49.64 |
Server storage [IO: ▲7.31MB] [DB: ▲0.01MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- Illegal file modification found: 1 file (3.98KB) outside of "wp-content/plugins/sg-cachepress/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 934 new files
Database: no new tables, 48 new options
New WordPress options |
---|
siteground_optimizer_optimize_css |
siteground_optimizer_update_timestamp |
siteground_optimizer_first_run |
siteground_settings_optimizer_hello |
siteground_optimizer_async_javascript_exclude |
siteground_optimizer_version |
siteground_optimizer_combine_css |
siteground_optimizer_quality_webp |
siteground_optimizer_whats_new |
siteground_optimizer_excluded_lazy_load_media_types |
... |
Browser metrics Passed 4 tests
Speed Optimizer - The All-In-One WordPress Performance-Boosting Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲127 | 14.07 ▼0.64 | 1.92 ▲0.22 | 42.82 ▼1.57 |
Dashboard /wp-admin | 2,245 ▲74 | 5.51 ▼0.11 | 92.44 ▼12.21 | 78.30 ▲28.62 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 1.83 ▼0.14 | 32.89 ▼7.60 | 34.52 ▲0.17 |
Add New Post /wp-admin/post-new.php | 6,254 ▲4,728 | 26.32 ▲3.18 | 931.44 ▲317.18 | 36.72 ▼16.08 |
Media Library /wp-admin/upload.php | 1,468 ▲71 | 4.11 ▼0.08 | 99.04 ▼4.66 | 81.47 ▲34.44 |
SG Plugins /wp-admin/options-general.php?page=siteground_settings | 890 | 1.98 | 23.82 | 29.25 |
Dashboard /wp-admin/admin.php?page=sg-cachepress | 1,295 | 6.99 | 134.40 | 152.42 |
Environment /wp-admin/admin.php?page=sgo_environment | 1,228 | 6.97 | 141.68 | 92.25 |
Caching /wp-admin/admin.php?page=sgo_caching | 1,223 | 7.04 | 118.11 | 79.89 |
Site Performance /wp-admin/admin.php?page=sgo_analysis | 1,123 | 6.59 | 101.64 | 96.03 |
Frontend /wp-admin/admin.php?page=sgo_frontend | 1,171 | 6.33 | 110.69 | 93.12 |
Media /wp-admin/admin.php?page=sgo_media | 1,205 | 9.32 | 154.25 | 86.27 |
Uninstaller [IO: ▲2.25MB] [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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 47 options
- siteground_optimizer_whats_new
- can_compress_scripts
- widget_theysaidso_widget
- siteground_optimizer_phpcompat_status
- siteground_optimizer_heartbeat_post_interval
- db_upgraded
- sg_cachepress
- siteground_settings_optimizer_hello
- sgo_install_7_4_0
- siteground_optimizer_checked_nginx
- ...
Smoke tests 25% 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 0% 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 fix the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sg-cachepress/templates/partials/campaing-1-step.php
- > /wp-content/plugins/sg-cachepress/templates/campaigns/campaign-template.php
- > /wp-content/plugins/sg-cachepress/templates/partials/campaing-0-step.php
- > /wp-content/plugins/sg-cachepress/templates/partials/campaing-2-step.php
- > /wp-content/plugins/sg-cachepress/templates/performance_reports/performance_reports.php
- > /wp-content/plugins/sg-cachepress/templates/campaigns/new-campaign-template.php
- 369× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sg-cachepress/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
- > PHP Notice
Undefined variable: args in wp-content/plugins/sg-cachepress/templates/partials/campaing-0-step.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sg-cachepress/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:4
- > PHP Notice
Undefined variable: args in wp-content/plugins/sg-cachepress/templates/partials/campaing-0-step.php on line 104
- > PHP Notice
Undefined variable: args in wp-content/plugins/sg-cachepress/templates/partials/campaing-1-step.php on line 71
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sg-cachepress/templates/partials/campaing-0-step.php on line 72
- > PHP Fatal error
Uncaught Error: Class 'SiteGround_Optimizer\\Install_Service\\Install' not found in wp-content/plugins/sg-cachepress/core/Install_Service/Install_5_2_5.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sg-cachepress/templates/performance_reports/features.php on line 1
- > PHP Notice
Undefined variable: args in wp-content/plugins/sg-cachepress/templates/partials/campaing-1-step.php on line 197
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sg-cachepress/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sgo_media
- > Console-api (warning) in wp-content/plugins/sg-cachepress/assets/js/main.min.js?ver=7.4.4+1:334132
%c\"checkIcon\" will be deprecated, please use \"icon\" instead" "color: red; font-size: small
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: speed, caching, supercacher, nginx, free...
sg-cachepress/sg-cachepress.php 92% from 13 tests
The entry point to "Speed Optimizer - The All-In-One WordPress Performance-Boosting Plugin" version 7.4.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin21,904 lines of code in 901 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 276 | 4,262 | 10,703 | 18,208 |
SVG | 583 | 0 | 0 | 1,235 |
JSON | 14 | 0 | 0 | 952 |
CSS | 2 | 80 | 17 | 633 |
PO File | 11 | 50 | 85 | 301 |
Markdown | 5 | 117 | 0 | 253 |
JavaScript | 4 | 1 | 201 | 163 |
Sass | 1 | 25 | 0 | 90 |
YAML | 2 | 4 | 0 | 36 |
XML | 3 | 2 | 0 | 33 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 2 | |
Traits | 3 | |
Classes | 240 | |
▷ Abstract classes | 11 | 4.58% |
▷ Concrete classes | 229 | 95.42% |
▷ Final classes | 0 | 0.00% |
Methods | 928 | |
▷ Static methods | 111 | 11.96% |
▷ Public methods | 784 | 84.48% |
▷ Protected methods | 106 | 11.42% |
▷ Private methods | 38 | 4.09% |
Functions | 41 | |
▷ Named functions | 4 | 9.76% |
▷ Anonymous functions | 37 | 90.24% |
Constants | 25 | |
▷ Global constants | 4 | 16.00% |
▷ Class constants | 21 | 84.00% |
▷ Public constants | 21 | 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
No PNG images were found in this plugin