Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▲1.36ms] Passed 4 tests
Analyzing server-side resources used by Cache Ultra
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 42.73 ▼2.14 |
Dashboard /wp-admin | 3.87 ▲0.57 | 53.03 ▲6.33 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 55.00 ▲11.20 |
Add New Post /wp-admin/post-new.php | 6.74 ▲0.85 | 103.87 ▼3.07 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 38.55 ▲4.31 |
Page Caches /wp-admin/admin.php?page=cache-ultra | 3.82 | 40.83 |
Custom Caches /wp-admin/admin.php?page=custom-caches | 3.82 | 36.64 |
Post Type Caches /wp-admin/admin.php?page=post-type-caches | 3.82 | 37.74 |
Server storage [IO: ▲10.75MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 1,677 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_cu_resources |
wp_cu_caches |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
_cu_plugin_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Cache Ultra
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲74 | 13.20 ▼1.38 | 1.72 ▼0.41 | 38.54 ▼4.91 |
Dashboard /wp-admin | 2,237 ▲49 | 4.87 ▲0.04 | 107.13 ▼12.76 | 41.90 ▼2.99 |
Posts /wp-admin/edit.php | 2,324 ▲235 | 4.80 ▲2.76 | 107.70 ▲68.44 | 86.81 ▲52.65 |
Add New Post /wp-admin/post-new.php | 1,854 ▲312 | 24.32 ▲6.12 | 693.96 ▲82.30 | 66.70 ▲12.87 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.19 ▼0.08 | 112.87 ▲12.01 | 46.24 ▲0.66 |
Page Caches /wp-admin/admin.php?page=cache-ultra | 926 | 4.23 | 90.21 | 37.62 |
Custom Caches /wp-admin/admin.php?page=custom-caches | 918 | 4.13 | 84.50 | 42.32 |
Post Type Caches /wp-admin/admin.php?page=post-type-caches | 957 | 3.74 | 47.11 | 46.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 2 tables in the database
- wp_cu_caches
- wp_cu_resources
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- _cu_plugin_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cache-ultra/vendor/symfony/translation/Resources/bin/translation-status.php
- 446× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/cache-ultra/vendor/lcobucci/jwt/test/unit/Signer/Ecdsa/Sha512Test.php:14
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/cache-ultra/vendor/illuminate/support/Facades/Config.php:15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found in wp-content/plugins/cache-ultra/vendor/nesbot/carbon/src/Carbon/Lang/sh.php:11
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found in wp-content/plugins/cache-ultra/vendor/nesbot/carbon/src/Carbon/Lang/uz.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/cache-ultra/vendor/lcobucci/jwt/test/unit/Claim/BasicTest.php:14
- > PHP Fatal error
Trait 'Carbon\\Traits\\Boundaries' not found in wp-content/plugins/cache-ultra/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 517
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/cache-ultra/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/cache-ultra/vendor/lcobucci/jwt/test/unit/Signer/Rsa/Sha256Test.php:14
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\PluralizationRules' not found in wp-content/plugins/cache-ultra/vendor/nesbot/carbon/src/Carbon/Lang/ga.php:15
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/cache-ultra/vendor/lcobucci/jwt/test/unit/SignatureTest.php:14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
cache-ultra/index.php 92% from 13 tests
The entry point to "Cache Ultra" version 1.1.11 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cache-ultra.php" instead of "index.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
It is important to fix the following items
- Do not include executable or dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/cache-ultra/vendor/nesbot/carbon/bin/carbon.bat
- ☣ wp-content/plugins/cache-ultra/vendor/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,302 | 16,245 | 56,823 | 70,846 |
Markdown | 33 | 1,529 | 0 | 4,395 |
XSD | 3 | 92 | 48 | 2,803 |
JSON | 25 | 0 | 0 | 2,109 |
JavaScript | 4 | 1,328 | 1,884 | 2,033 |
CSS | 4 | 89 | 0 | 612 |
XML | 22 | 5 | 0 | 481 |
YAML | 12 | 5 | 1 | 104 |
PO File | 7 | 10 | 5 | 51 |
Qt Linguist | 1 | 0 | 0 | 21 |
make | 1 | 4 | 0 | 9 |
DOS Batch | 2 | 0 | 0 | 8 |
Bourne Shell | 1 | 3 | 1 | 6 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 159)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 272.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 159.00 |
Code structure | ||
---|---|---|
Namespaces | 120 | |
Interfaces | 133 | |
Traits | 49 | |
Classes | 471 | |
▷ Abstract classes | 24 | 5.10% |
▷ Concrete classes | 447 | 94.90% |
▷ Final classes | 14 | 3.13% |
Methods | 6,137 | |
▷ Static methods | 713 | 11.62% |
▷ Public methods | 4,978 | 81.11% |
▷ Protected methods | 917 | 14.94% |
▷ Private methods | 242 | 3.94% |
Functions | 717 | |
▷ Named functions | 130 | 18.13% |
▷ Anonymous functions | 587 | 81.87% |
Constants | 167 | |
▷ Global constants | 16 | 9.58% |
▷ Class constants | 151 | 90.42% |
▷ Public constants | 149 | 98.68% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin