Benchmarks
Plugin footprint 82% 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: ▲1.52MB] [CPU: ▲3.70ms] Passed 4 tests
Server-side resources used by Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.02 ▲1.56 | 52.99 ▲8.42 |
Dashboard /wp-admin | 4.87 ▲1.52 | 60.19 ▼0.22 |
Posts /wp-admin/edit.php | 4.92 ▲1.56 | 56.12 ▲9.97 |
Add New Post /wp-admin/post-new.php | 7.41 ▲1.52 | 94.69 ▼3.39 |
Media Library /wp-admin/upload.php | 4.73 ▲1.50 | 45.49 ▲12.54 |
Server storage [IO: ▲2.42MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- There were 5 files (17.31KB) illegally modified outside of "wp-content/plugins/powered-cache/" and "wp-content/uploads/"
- (modified) .htaccess
- (modified) wp-config.php
- (new file) wp-content/cache/.htaccess
- (new file) wp-content/pc-config/config-wp.com.php
- (new file) wp-content/advanced-cache.php
Filesystem: 223 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
powered_cache_db_version |
widget_recent-posts |
powered_cache_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.13 ▼0.15 | 2.00 ▲0.24 | 41.70 ▼2.91 |
Dashboard /wp-admin | 2,248 ▲71 | 5.64 ▼0.03 | 89.10 ▼9.69 | 40.59 ▼2.75 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.01 ▲0.05 | 35.95 ▲0.34 | 35.25 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.56 ▲0.43 | 721.70 ▲44.44 | 55.18 ▲5.39 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.26 ▲0.07 | 95.83 ▼5.26 | 41.39 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 67× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\\XPath\\Extension\\AbstractExtension' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php:27
- > PHP Fatal error
Uncaught Error: Interface 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php:30
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\voku\\helper\\AbstractSimpleXmlDom' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/voku/helper/SimpleXmlDom.php:14
- > PHP Fatal error
Uncaught Error: Class 'Powered_Cache_WP_Background_Process' not found in wp-content/plugins/powered-cache/includes/classes/Async/CachePurger.php:19
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\voku\\helper\\AbstractDomParser' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/voku/helper/XmlDomParser.php:16
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/MatthiasMullie/Minify/JS.php:25
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\ode\\AbstractNode' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/Node/PseudoNode.php:24
- > PHP Fatal error
Uncaught Error: Interface 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\\Parser\\ParserInterface' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php:29
- > PHP Fatal error
Uncaught Error: Interface 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php:32
- > PHP Fatal error
Uncaught Error: Class 'PoweredCache\\Dependencies\\Symfony\\Component\\CssSelector\ode\\AbstractNode' not found in wp-content/plugins/powered-cache/includes/classes/Dependencies/Symfony/Component/CssSelector/Node/SelectorNode.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
powered-cache/powered-cache.php 92% from 13 tests
"Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score" version 3.3.1'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:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
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
Good job! No executable or dangerous file extensions detected21,840 lines of code in 196 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 5,640 | 12,841 | 20,905 |
JavaScript | 16 | 109 | 46 | 649 |
SVG | 2 | 0 | 0 | 191 |
JSON | 2 | 0 | 0 | 49 |
CSS | 12 | 5 | 24 | 24 |
Markdown | 1 | 6 | 0 | 12 |
XML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 50 | |
Interfaces | 17 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 12 | 11.01% |
▷ Concrete classes | 97 | 88.99% |
▷ Final classes | 5 | 5.15% |
Methods | 1,327 | |
▷ Static methods | 83 | 6.25% |
▷ Public methods | 1,139 | 85.83% |
▷ Protected methods | 116 | 8.74% |
▷ Private methods | 72 | 5.43% |
Functions | 282 | |
▷ Named functions | 228 | 80.85% |
▷ Anonymous functions | 54 | 19.15% |
Constants | 108 | |
▷ Global constants | 26 | 24.07% |
▷ Class constants | 82 | 75.93% |
▷ Public constants | 82 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/select-arrow.png | 0.30KB | 0.21KB | ▼ 30.19% |
dist/images/select-arrow.png | 0.18KB | 0.16KB | ▼ 11.76% |
assets/images/select-arrow@2x.png | 0.53KB | 0.34KB | ▼ 36.51% |
dist/images/select-arrow@2x.png | 0.22KB | 0.21KB | ▼ 7.83% |