Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.44ms] Passed 4 tests
An overview of server-side resources used by Purge Cache for CloudFlare
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.88 ▲1.89 |
Dashboard /wp-admin | 3.59 ▲0.29 | 51.75 ▲0.84 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 50.16 ▲3.22 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 90.12 ▼0.93 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 37.76 ▼0.03 |
CloudFlare Purge All /wp-admin/options.php?page=cloudflare-purge-all | 3.41 | 37.30 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Purge Cache for CloudFlare
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.35 | 1.64 ▼0.14 | 41.36 ▲0.02 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.13 | 87.22 ▼3.02 | 42.15 ▲2.52 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.05 | 41.06 ▲4.16 | 34.64 ▼5.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.24 ▲4.94 | 622.87 ▼12.81 | 84.33 ▼0.73 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▲0.04 | 100.62 ▼5.03 | 41.96 ▲0.31 |
CloudFlare Purge All /wp-admin/options.php?page=cloudflare-purge-all | 762 | 2.02 | 24.08 | 21.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: page cache, cache, cloudflare
purge-cache-for-cloudflare/purge-cache-for-cloudflare.php 92% from 13 tests
"Purge Cache for CloudFlare" version 1.2'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:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected623 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 227 | 934 | 623 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 27.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 12 | 26.09% |
▷ Public methods | 45 | 97.83% |
▷ Protected methods | 1 | 2.17% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected