Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.20MB] [CPU: ▼281.64ms] Passed 4 tests
Server-side resources used by Breeze - WordPress Cache Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.05 | 60.56 ▲12.43 |
Dashboard /wp-admin | 4.68 ▲1.27 | 44.11 ▲11.12 |
Posts /wp-admin/edit.php | 4.90 ▲1.26 | 47.27 ▲11.13 |
Add New Post /wp-admin/post-new.php | 8.21 ▲1.23 | 106.81 ▼1,157.63 |
Media Library /wp-admin/upload.php | 4.56 ▲1.26 | 32.03 ▲8.82 |
Breeze /wp-admin/options-general.php?page=breeze | 4.58 | 30.77 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification detected: 12 files (14.62KB) outside of "wp-content/plugins/breeze/" and "wp-content/uploads/"
- (new file) wp-content/cache/breeze-minification/administrator/index.html
- (new file) wp-content/cache/breeze-minification/administrator/css/index.html
- (modified) wp-config.php
- (new file) wp-content/cache/breeze-minification/.htaccess
- (modified) .htaccess
- (new file) wp-content/cache/breeze-minification/css/index.html
- (new file) wp-content/advanced-cache.php
- (new file) wp-content/cache/breeze-minification/administrator/js/index.html
- (new file) wp-content/breeze-config/breeze-config.php
- (new file) wp-content/cache/breeze-minification/administrator/.htaccess
- ...
Filesystem: 176 new files
Database: no new tables, 9 new options
New WordPress options |
---|
breeze_advanced_settings |
breeze_basic_settings |
breeze_preload_settings |
breeze_varnish_cache |
breeze_advanced_settings_120 |
breeze_first_install |
breeze_file_settings |
breeze_cdn_integration |
breeze_heartbeat_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Breeze - WordPress Cache Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,825 ▲71 | 16.01 ▲0.34 | 6.07 ▼1.05 | 2.42 ▼0.46 |
Dashboard /wp-admin | 2,945 ▲87 | 6.32 ▲0.05 | 121.06 ▼14.29 | 155.83 ▼8.49 |
Posts /wp-admin/edit.php | 2,741 ▲47 | 3.30 ▲0.07 | 66.47 ▲2.50 | 138.21 ▼6.40 |
Add New Post /wp-admin/post-new.php | 1,702 ▲41 | 15.61 ▲0.08 | 442.84 ▲33.72 | 277.61 ▲125.14 |
Media Library /wp-admin/upload.php | 1,751 ▲53 | 5.57 ▲0.08 | 151.74 ▲12.95 | 189.55 ▲4.22 |
Breeze /wp-admin/options-general.php?page=breeze | 1,576 | 2.93 | 67.49 | 129.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/breeze/breeze.php
- > /wp-content/plugins/breeze/inc/minification/breeze-minify-main.php
- > /wp-content/plugins/breeze/inc/helpers.php
- > /wp-content/plugins/breeze/inc/cache/purge-per-time.php
- > /wp-content/plugins/breeze/inc/functions.php
- > /wp-content/plugins/breeze/inc/cache/purge-varnish.php
- > /wp-content/plugins/breeze/inc/cdn-integration/breeze-cdn-integration.php
- > /wp-content/plugins/breeze/inc/cdn-integration/breeze-cdn-rewrite.php
- > /wp-content/plugins/breeze/inc/breeze-admin.php
- > /wp-content/plugins/breeze/inc/breeze-configuration.php
- 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
include(): Failed opening 'BREEZE_PLUGIN_DIRinc/wp-cli/class-breeze-cli-helpers.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/breeze/inc/wp-cli/class-breeze-wp-cli-core.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/breeze/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/breeze/inc/wp-cli/class-breeze-settings-import-export.php:13
- > PHP Warning
include(BREEZE_PLUGIN_DIRinc/wp-cli/class-breeze-cli-helpers.php): failed to open stream: No such file or directory in wp-content/plugins/breeze/inc/wp-cli/class-breeze-wp-cli-core.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/breeze/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Warning
Use of undefined constant BREEZE_PLUGIN_DIR - assumed 'BREEZE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/breeze/inc/wp-cli/class-breeze-wp-cli-core.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/breeze/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/breeze/vendor/matthiasmullie/minify/src/JS.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/breeze/inc/plugin-incompatibility/breeze-amp-compatibility.php:25
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/breeze/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
breeze/breeze.php 92% from 13 tests
The main file in "Breeze - WordPress Cache Plugin" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected17,633 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 3,241 | 5,096 | 14,904 |
JavaScript | 4 | 158 | 62 | 1,041 |
CSS | 3 | 28 | 50 | 950 |
JSON | 6 | 0 | 0 | 239 |
Markdown | 2 | 114 | 0 | 228 |
PO File | 2 | 58 | 0 | 139 |
XML | 1 | 45 | 78 | 64 |
YAML | 2 | 1 | 1 | 56 |
Dockerfile | 1 | 2 | 0 | 11 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 6.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 4 | 7.84% |
▷ Concrete classes | 47 | 92.16% |
▷ Final classes | 0 | 0.00% |
Methods | 429 | |
▷ Static methods | 75 | 17.48% |
▷ Public methods | 300 | 69.93% |
▷ Protected methods | 75 | 17.48% |
▷ Private methods | 54 | 12.59% |
Functions | 91 | |
▷ Named functions | 54 | 59.34% |
▷ Anonymous functions | 37 | 40.66% |
Constants | 45 | |
▷ Global constants | 30 | 66.67% |
▷ Class constants | 15 | 33.33% |
▷ Public constants | 15 | 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
34 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/hdr-logo.png | 2.70KB | 2.87KB | 0.00% |
assets/images/heartbeat-active.png | 1.74KB | 1.01KB | ▼ 42.00% |
assets/images/preload.png | 0.63KB | 0.52KB | ▼ 17.00% |
assets/images/advanced.png | 0.53KB | 0.40KB | ▼ 23.79% |
assets/images/optimize_tables.png | 1.05KB | 0.62KB | ▼ 41.57% |