Benchmarks
Plugin footprint 83% 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.12MB] [CPU: ▼4.30ms] Passed 4 tests
An overview of server-side resources used by Blizhost CloudCache Purge
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.79 ▼10.33 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.94 ▼1.74 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.11 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 96.86 ▼6.52 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 36.23 ▲1.38 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Blizhost CloudCache Purge
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.47 ▲0.04 | 2.11 ▲0.09 | 41.04 ▼2.21 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▼0.02 | 110.32 ▲7.66 | 43.07 ▲5.63 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.04 ▲0.03 | 40.25 ▼0.04 | 35.46 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 18.22 ▼4.88 | 605.66 ▼31.52 | 59.14 ▼3.15 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.25 ▲0.09 | 98.21 ▼5.63 | 44.99 ▲0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blizhost-cache-purge/blizhost-cache-purge.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: host, cloudcache, redis, hospedagem, blizhost...
blizhost-cache-purge/blizhost-cache-purge.php Passed 13 tests
The principal PHP file in "Blizhost CloudCache Purge" v. 4.0.4 is loaded by WordPress automatically on each request
131 characters long description:
Automatically empty your site cache when a post is published or when content is modified. And it improves CloudCache compatibility.
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
There were no executable files found in this plugin540 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 125 | 253 | 431 |
CSS | 1 | 4 | 2 | 84 |
SVG | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 2 | 7.41% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin