Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.68MB] [CPU: ▼3.22ms] Passed 4 tests
Analyzing server-side resources used by App for Cloudflare®
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.69 | 44.36 ▲2.10 |
Dashboard /wp-admin | 3.99 ▲0.64 | 46.47 ▼9.09 |
Posts /wp-admin/edit.php | 4.39 ▲1.03 | 52.30 ▲3.46 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 88.27 ▼9.36 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 38.48 ▲3.49 |
IP address details /wp-admin/admin.php?page=app-for-cf_ip-details | 3.96 | 37.49 |
Firewall /wp-admin/admin.php?page=app-for-cf_firewall | 4.55 | 46.42 |
R2 (media storage) /wp-admin/admin.php?page=app-for-cf_r2 | 3.96 | 35.31 |
WHOIS /wp-admin/admin.php?page=app-for-cf_whois | 3.96 | 36.27 |
Settings Missing API token /wp-admin/options-general.php?page=app-for-cf | 4.24 | 37.75 |
DMARC management /wp-admin/admin.php?page=app-for-cf_dmarc | 4.53 | 41.89 |
Rules /wp-admin/admin.php?page=app-for-cf_rules | 4.53 | 44.34 |
Cloudflare Settings /wp-admin/admin.php?page=app-for-cf_settings | 4.23 | 37.45 |
Public page caching /wp-admin/admin.php?page=app-for-cf_caching | 4.63 | 37.57 |
Domain details /wp-admin/admin.php?page=app-for-cf_domain-details | 3.96 | 35.07 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
app_for_cf |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
App for Cloudflare®: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲94 | 14.16 ▼0.13 | 1.53 ▼0.72 | 36.69 ▼6.99 |
Dashboard /wp-admin | 2,274 ▲96 | 5.59 ▼0.14 | 94.96 ▼14.86 | 41.96 ▼0.93 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.01 ▲0.06 | 38.91 ▼1.07 | 36.94 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,587 ▲56 | 23.14 ▲0.26 | 667.69 ▲6.74 | 52.44 ▲0.21 |
Media Library /wp-admin/upload.php | 1,540 ▲143 | 4.18 ▼0.11 | 97.07 ▲3.48 | 49.91 ▲7.23 |
IP address details /wp-admin/admin.php?page=app-for-cf_ip-details | 880 | 2.05 | 27.61 | 29.27 |
Firewall /wp-admin/admin.php?page=app-for-cf_firewall | 998 | 1.82 | 25.95 | 27.39 |
R2 (media storage) /wp-admin/admin.php?page=app-for-cf_r2 | 969 | 1.82 | 24.55 | 26.60 |
WHOIS /wp-admin/admin.php?page=app-for-cf_whois | 887 | 2.02 | 26.19 | 28.20 |
Settings Missing API token /wp-admin/options-general.php?page=app-for-cf | 1,308 | 2.05 | 35.39 | 44.91 |
DMARC management /wp-admin/admin.php?page=app-for-cf_dmarc | 975 | 3.24 | 74.83 | 34.20 |
Rules /wp-admin/admin.php?page=app-for-cf_rules | 946 | 1.82 | 26.44 | 27.89 |
Cloudflare Settings /wp-admin/admin.php?page=app-for-cf_settings | 1,251 | 2.06 | 34.85 | 36.42 |
Public page caching /wp-admin/admin.php?page=app-for-cf_caching | 950 | 1.79 | 24.47 | 31.01 |
Domain details /wp-admin/admin.php?page=app-for-cf_domain-details | 887 | 2.02 | 24.88 | 26.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- app_for_cf
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=app-for-cf_dmarc
- > Notice in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Controller/Cloudflare.php+586
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=app-for-cf_dmarc
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Controller/Cloudflare.php+193
Undefined index: stats
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 32× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/MultisiteR2.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Dmarc.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Firewall.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Format\\Table\\AbstractTable' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Format/Table/Dmarc.php:5
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Cache.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Dashboard.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Admin\\Template\\AbstractTemplate' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Admin/Template/Rules.php:3
- > PHP Fatal error
Uncaught Error: Class 'DigitalPoint\\Cloudflare\\Format\\Table\\AbstractTable' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Format/Table/RequestTrace.php:5
- > PHP Fatal error
Uncaught Error: Class 'XF\\Mvc\\Entity\\Repository' not found in wp-content/plugins/app-for-cf/src/DigitalPoint/Cloudflare/Repository/Cloudflare.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: cache, cloudflare, performance, caching, security...
app-for-cf/app-for-cf.php 85% from 13 tests
The main PHP script in "App for Cloudflare®" version 1.8.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 325 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected9,334 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,236 | 296 | 8,101 |
CSS | 4 | 177 | 14 | 739 |
JavaScript | 7 | 85 | 31 | 494 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 16.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 53 | |
▷ Abstract classes | 8 | 15.09% |
▷ Concrete classes | 45 | 84.91% |
▷ Final classes | 0 | 0.00% |
Methods | 337 | |
▷ Static methods | 34 | 10.09% |
▷ Public methods | 185 | 54.90% |
▷ Protected methods | 152 | 45.10% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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 files were detected