Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.36MB] [CPU: ▲21.50ms] Passed 4 tests
Analyzing server-side resources used by 10Web Booster - Website speed optimization, Cache & Page Speed optimizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.31 ▲3.84 | 66.11 ▲27.84 |
Dashboard /wp-admin | 6.42 ▲3.07 | 68.39 ▲7.22 |
Posts /wp-admin/edit.php | 7.31 ▲3.94 | 74.75 ▲26.11 |
Add New Post /wp-admin/post-new.php | 9.22 ▲3.33 | 118.88 ▲24.82 |
Media Library /wp-admin/upload.php | 6.42 ▲3.19 | 68.29 ▲36.79 |
White Label /wp-admin/admin.php?page=two_white_label | 6.38 | 59.27 |
Logs /wp-admin/admin.php?page=iowd_logs | 6.67 | 63.70 |
Server storage [IO: ▲5.04MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification detected: 2 files (7.66KB) outside of "wp-content/plugins/tenweb-speed-optimizer/" and "wp-content/uploads/"
- (new file) wp-content/10web-page-cache-config/config.json
- (modified) .htaccess
Filesystem: 467 new files
Database: no new tables, 16 new options
New WordPress options |
---|
two_trans_iowd_origin |
widget_theysaidso_widget |
theysaidso_admin_options |
two_settings |
two_critical_default_settings |
two_delayed_js_execution_list_updated_fix_slashes |
two_flow_score_log |
two_delayed_js_execution_list_updated |
widget_recent-comments |
two_set_compress_html_default |
... |
Browser metrics Passed 4 tests
A check of browser resources used by 10Web Booster - Website speed optimization, Cache & Page Speed optimizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,532 ▲771 | 13.71 ▼0.65 | 12.71 ▲11.00 | 46.00 ▲2.33 |
Dashboard /wp-admin | 2,567 ▲387 | 4.90 ▼0.67 | 90.84 ▼1.77 | 89.77 ▲47.24 |
Posts /wp-admin/edit.php | 2,483 ▲380 | 2.21 ▲0.17 | 39.67 ▼0.44 | 43.88 ▲11.63 |
Add New Post /wp-admin/post-new.php | 2,062 ▲531 | 21.90 ▼1.52 | 698.93 ▲61.22 | 41.05 ▼15.47 |
Media Library /wp-admin/upload.php | 1,772 ▲372 | 4.31 ▲0.15 | 97.17 ▼2.55 | 87.29 ▲40.69 |
White Label /wp-admin/admin.php?page=two_white_label | 1,289 | 2.16 | 26.65 | 41.93 |
Logs /wp-admin/admin.php?page=iowd_logs | 1,330 | 2.25 | 28.92 | 28.19 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.10MB] 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
- This plugin did not uninstall successfully, leaving 17 options in the database
- two_set_compress_html_default
- two_flow_score_log
- db_upgraded
- two_critical_default_settings
- can_compress_scripts
- two_trans_iowd_origin
- two_set_dispatch_events
- theysaidso_admin_options
- tenweb_addons_state_hash
- tenweb_plugins_state_hash
- ...
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tenweb-speed-optimizer/vendor/mrclay/jsmin-php/tests/bootstrap.php
- > /wp-content/plugins/tenweb-speed-optimizer/vendor/pfaciana/tiny-html-minifier/tests/example.php
- 74× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DiDom\ode' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/imangazaliev/didom/src/DiDom/DocumentFragment.php:11
- > PHP Fatal error
Uncaught Error: Class 'TenWebQueue\\QueueOrchestrator' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/10web-utils/10web-queue/src/TenWebQueue/Examples/example.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Enqueue\\Fs\\Lock' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/enqueue/fs/LegacyFilesystemLock.php:8
- > PHP Fatal error
Uncaught Error: Class 'Interop\\Queue\\Exception\\Exception' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/queue-interop/queue-interop/src/Exception/DeliveryDelayNotSupportedException.php:6
- > PHP Fatal error
Uncaught Error: Class 'Interop\\Queue\\Exception\\Exception' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/queue-interop/queue-interop/src/Exception/SubscriptionConsumerNotSupportedException.php:6
- > PHP Fatal error
Uncaught Error: Interface 'TenWebQueue\\Interfaces\\QueueConsumerInterface' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/10web-utils/10web-queue/src/TenWebQueue/Abstracts/QueueConsumerAbstract.php:9
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/matthiasmullie/minify/src/JS.php:25
- > PHP Fatal error
Trait 'TenWebQueue\\Traits\\QueueRestart' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/10web-utils/10web-queue/src/TenWebQueue/QueueContext.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/tenweb-speed-optimizer/views/referral_program_page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Interop\\Queue\\Exception\\Exception' not found in wp-content/plugins/tenweb-speed-optimizer/vendor/queue-interop/queue-interop/src/Exception/TemporaryQueueNotSupportedException.php:6
- > PHP Fatal error
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: cache, critical css, web vitals, pagespeed, speed...
tenweb-speed-optimizer/tenweb_speed_optimizer.php 92% from 13 tests
This is the main PHP file of "10Web Booster - Website speed optimization, Cache & Page Speed optimizer" version 2.24.18, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("tenweb-speed-optimizer.php" instead of "tenweb_speed_optimizer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin53,536 lines of code in 395 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 204 | 6,214 | 7,022 | 34,734 |
JSON | 22 | 3 | 0 | 6,784 |
JavaScript | 66 | 625 | 822 | 4,980 |
CSS | 17 | 341 | 52 | 4,427 |
Markdown | 17 | 812 | 0 | 1,599 |
SVG | 57 | 0 | 0 | 622 |
Python | 2 | 46 | 33 | 204 |
XML | 4 | 7 | 1 | 78 |
HTML | 3 | 12 | 3 | 60 |
YAML | 2 | 9 | 0 | 41 |
TypeScript | 1 | 2 | 7 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 30.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 485.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 38 | |
Interfaces | 19 | |
Traits | 4 | |
Classes | 136 | |
▷ Abstract classes | 8 | 5.88% |
▷ Concrete classes | 128 | 94.12% |
▷ Final classes | 4 | 3.12% |
Methods | 1,445 | |
▷ Static methods | 386 | 26.71% |
▷ Public methods | 1,179 | 81.59% |
▷ Protected methods | 117 | 8.10% |
▷ Private methods | 149 | 10.31% |
Functions | 103 | |
▷ Named functions | 49 | 47.57% |
▷ Anonymous functions | 54 | 52.43% |
Constants | 220 | |
▷ Global constants | 149 | 67.73% |
▷ Class constants | 71 | 32.27% |
▷ Public constants | 71 | 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
20 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/offer_underline.png | 0.46KB | 0.33KB | ▼ 29.30% |
assets/images/waving_hand.png | 0.91KB | 0.96KB | 0.00% |
assets/css/DataTables-1.10.20/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/css/DataTables-1.10.20/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/css/DataTables-1.10.20/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |