Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.85MB] [CPU: ▲4.99ms] Passed 4 tests
Server-side resources used by Core Web Vitals & PageSpeed Booster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.90 | 81.38 ▲37.47 |
Dashboard /wp-admin | 4.14 ▲0.84 | 50.04 ▼0.67 |
Posts /wp-admin/edit.php | 4.24 ▲0.88 | 54.17 ▲10.53 |
Add New Post /wp-admin/post-new.php | 6.74 ▲0.86 | 93.61 ▲4.45 |
Media Library /wp-admin/upload.php | 4.06 ▲0.83 | 40.23 ▲5.66 |
Server storage [IO: ▲14.02MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- There were 7 files (133.28KB) illegally modified outside of "wp-content/plugins/core-web-vitals-pagespeed-booster/" and "wp-content/uploads/"
- (new file) wp-content/gravatars/d7a973c7dab26985da5f961be7b74480
- (new file) wp-content/cache/cwvpsb/css/553f6978a85cdddde528416e8ae02520.css
- (new file) wp-content/cache/cwvpsb/fonts/fonts/.empty
- (new file) wp-content/cache/cwvpsb/css/b984edcdfe562d3f512e5f50c1f1a1ed.css
- (new file) wp-content/gravatars/dda8de772f53e64b26129d7f632ad1a3
- (new file) wp-content/cache/cwvpsb/css/0bba90111c2f173cff13aa7eb4f94889.css
- (new file) wp-content/cache/cwvpsb/css/d44c34cfed9d779feaaeb753fb76c2f0.css
Filesystem: 743 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_cwvpb_critical_urls |
New WordPress options |
---|
save_terms_offset |
category_children |
widget_recent-posts |
widget_recent-comments |
save_posts_offset |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Core Web Vitals & PageSpeed Booster
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,775 ▲13 | 14.24 ▼0.48 | 2.50 ▲0.81 | 42.77 ▼3.01 |
Dashboard /wp-admin | 2,229 ▲61 | 5.59 ▼0.01 | 93.85 ▼7.89 | 40.21 ▼8.57 |
Posts /wp-admin/edit.php | 1,624 ▼476 | 1.97 ▼0.02 | 42.05 ▲7.84 | 35.44 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,754 ▲228 | 23.56 ▲0.06 | 698.83 ▲8.66 | 39.00 ▼23.27 |
Media Library /wp-admin/upload.php | 1,440 ▲43 | 4.22 ▼0.03 | 106.27 ▲6.45 | 44.46 ▲1.06 |
Uninstaller [IO: ▲0.13MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_cwvpb_critical_urls
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- save_terms_offset
- widget_theysaidso_widget
- category_children
- save_posts_offset
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/core-web-vitals-pagespeed-booster/includes/vendor/sabberworm/php-css-parser/tests/quickdump.php
- 278× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\Cache\\CacheInterface' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Cache/FilesystemCache.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Node/ImportNode.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Node/BodyNode.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/TokenParser/ApplyTokenParser.php:27
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Parsing\\SourceException' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/includes/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Parsing/OutputException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Node/Expression/Binary/AddBinary.php:17
- > PHP Fatal error
Uncaught Error: Class 'WebPConvert\\Convert\\Exceptions\\ConversionFailed\\FileSystemProblemsException' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/includes/vendor/rosell-dk/webp-convert/src/Convert/Exceptions/ConversionFailed/FileSystemProblems/CreateDestinationFileException.php:7
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Extension/StagingExtension.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\TestExpression' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/Node/Expression/Test/DefinedTest.php:36
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/core-web-vitals-pagespeed-booster/css-extractor/vendor/twig/twig/src/TokenParser/AutoEscapeTokenParser.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in core-web-vitals-pagespeed-booster/assets to your readme.txt
core-web-vitals-pagespeed-booster/core-web-vitals-pagespeed-booster.php 85% from 13 tests
The principal PHP file in "Core Web Vitals & PageSpeed Booster" v. 1.0.16 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 147 characters long)
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 plugin45,005 lines of code in 698 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 594 | 7,217 | 11,697 | 38,496 |
Markdown | 29 | 992 | 0 | 3,106 |
JavaScript | 6 | 116 | 38 | 1,146 |
JSON | 14 | 0 | 0 | 1,118 |
CSS | 46 | 89 | 26 | 779 |
YAML | 4 | 57 | 0 | 221 |
PO File | 1 | 25 | 25 | 90 |
XML | 3 | 0 | 0 | 39 |
reStructuredText | 1 | 8 | 5 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 8.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 555.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 72 | |
Interfaces | 24 | |
Traits | 9 | |
Classes | 541 | |
▷ Abstract classes | 24 | 4.44% |
▷ Concrete classes | 517 | 95.56% |
▷ Final classes | 56 | 10.83% |
Methods | 2,318 | |
▷ Static methods | 310 | 13.37% |
▷ Public methods | 1,931 | 83.30% |
▷ Protected methods | 183 | 7.89% |
▷ Private methods | 204 | 8.80% |
Functions | 292 | |
▷ Named functions | 238 | 81.51% |
▷ Anonymous functions | 54 | 18.49% |
Constants | 136 | |
▷ Global constants | 35 | 25.74% |
▷ Class constants | 101 | 74.26% |
▷ Public constants | 100 | 99.01% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 0.31MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
includes/vendor/rosell-dk/webp-convert/docs/v2.0/converting/dice.png | 231.30KB | 58.53KB | ▼ 74.69% |
images/cwv-main-bg.png | 42.71KB | 42.75KB | 0.00% |
includes/admin/images/cwv-main-bg.png | 42.71KB | 42.75KB | 0.00% |
includes/admin/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |