Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▲2.16ms] Passed 4 tests
Analyzing server-side resources used by ezCache
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.69 | 47.33 ▲2.66 |
Dashboard /wp-admin | 3.97 ▲0.67 | 53.49 ▲5.81 |
Posts /wp-admin/edit.php | 4.02 ▲0.67 | 53.44 ▲2.06 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.62 | 100.91 ▼1.90 |
Media Library /wp-admin/upload.php | 3.83 ▲0.61 | 44.63 ▲11.46 |
Server storage [IO: ▲2.50MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- You have illegally modified 5 files (17.84KB) outside of "wp-content/plugins/ezcache/" and "wp-content/uploads/"
- (modified) wp-config.php
- (new file) wp-content/advanced-cache.php
- (new file) wp-content/ezcache-config.json
- (new file) wp-content/cache/ezcache/wp.com/6666cd76f96956469e7be39d750cc7d9/index-mobile.html.gz
- (new file) wp-content/cache/ezcache/wp.com/6666cd76f96956469e7be39d750cc7d9/index.html.gz
Filesystem: 73 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ezcache_webp_images |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
ezcache_version |
Browser metrics Passed 4 tests
ezCache: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲206 | 13.68 ▼0.69 | 1.69 ▼0.37 | 42.22 ▲5.76 |
Dashboard /wp-admin | 2,329 ▲138 | 4.84 ▼0.05 | 109.82 ▼3.36 | 43.30 ▼1.04 |
Posts /wp-admin/edit.php | 2,212 ▲126 | 2.02 ▲0.05 | 40.05 ▲0.90 | 37.43 ▲0.52 |
Add New Post /wp-admin/post-new.php | 6,529 ▲5,010 | 20.36 ▼0.57 | 865.70 ▲243.91 | 52.90 ▼2.29 |
Media Library /wp-admin/upload.php | 1,508 ▲117 | 4.23 ▲0.01 | 120.36 ▲20.18 | 53.35 ▲8.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ezcache/uninstall.php
- > /wp-content/plugins/ezcache/advanced-cache.php
- > /wp-content/plugins/ezcache/ezcache.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Upress\\EzCache\\FileOptimizer\\BaseFileOptimizer' not found in wp-content/plugins/ezcache/includes/FileOptimizer/WebpConverter.php:9
- > PHP Fatal error
Uncaught Error: Class 'Upress\\EzCache\\FileOptimizer\\BaseFileOptimizer' not found in wp-content/plugins/ezcache/includes/FileOptimizer/JsCombiner.php:7
- > PHP Fatal error
Uncaught Error: Class 'Upress\\EzCache\\FileOptimizer\\BaseFileOptimizer' not found in wp-content/plugins/ezcache/includes/FileOptimizer/CombineGoogleFonts.php:10
- > PHP Fatal error
Uncaught Error: Class 'Upress\\EzCache\\FileOptimizer\\BaseFileOptimizer' not found in wp-content/plugins/ezcache/includes/FileOptimizer/CssCombiner.php:7
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/ezcache/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/ezcache/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Class 'Upress\\EzCache\\FileOptimizer\\BaseFileOptimizer' not found in wp-content/plugins/ezcache/includes/FileOptimizer/CssMinifier.php:7
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/ezcache/vendor/matthiasmullie/minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/ezcache/vendor/matthiasmullie/minify/src/Exceptions/IOException.php:19
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/ezcache/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: cache, upress, boost, hosting, speed
ezcache/ezcache.php Passed 13 tests
The entry point to "ezCache" version 1.6.3 is a PHP file that has certain tags in its header comment area
104 characters long description:
ezCache is an easy and innovative cache plugin that will help you significantly improve your site speed.
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 plugin5,575 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 1,224 | 2,481 | 4,729 |
PO File | 1 | 469 | 1,164 | 582 |
JSON | 3 | 0 | 0 | 181 |
Markdown | 1 | 21 | 0 | 38 |
YAML | 1 | 0 | 0 | 31 |
Dockerfile | 1 | 2 | 0 | 11 |
CSS | 1 | 1 | 1 | 2 |
JavaScript | 1 | 0 | 2 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 221.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 4 | 11.11% |
▷ Concrete classes | 32 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 260 | |
▷ Static methods | 31 | 11.92% |
▷ Public methods | 166 | 63.85% |
▷ Protected methods | 85 | 32.69% |
▷ Private methods | 9 | 3.46% |
Functions | 23 | |
▷ Named functions | 4 | 17.39% |
▷ Anonymous functions | 19 | 82.61% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected