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.32MB] [CPU: ▼13.24ms] Passed 4 tests
Analyzing server-side resources used by Page Cache on Cloudflare
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.86 ▼34.32 |
Dashboard /wp-admin | 3.34 ▲0.04 | 41.05 ▼7.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.16 ▼6.34 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.73 ▼5.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.28 ▼0.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Page Cache on Cloudflare
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.20 ▼1.11 | 2.21 ▲0.56 | 38.61 ▼2.58 |
Dashboard /wp-admin | 2,223 ▲71 | 4.89 ▼0.68 | 111.71 ▼1.55 | 42.69 ▼5.27 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.16 ▲0.12 | 35.52 ▼2.47 | 32.50 ▼4.85 |
Add New Post /wp-admin/post-new.php | 1,522 ▼6 | 23.18 ▲5.00 | 648.50 ▲38.78 | 50.13 ▼17.50 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.22 ▼0.08 | 100.02 ▲3.20 | 41.80 ▼3.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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (No screenshots) image missing
page-cache-on-cloudflare/page-cache-on-cloudflare.php Passed 13 tests
Analyzing the main PHP file in "Page Cache on Cloudflare" version 1.2.0
135 characters long description:
The fastest cache HTML pages on the Cloudflare with purge by button and automatic. You can specify URLs and cookies to exclude caching.
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
Everything looks great! No dangerous files found in this plugin557 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 92 | 30 | 515 |
JavaScript | 1 | 0 | 0 | 30 |
CSS | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.25 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 1 | 4.55% |
▷ Class constants | 21 | 95.45% |
▷ Public constants | 21 | 100.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
There were not PNG files found in your plugin