Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.10ms] Passed 4 tests
This is a short check of server-side resources used by WP Cloudflare Cache
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.27 ▲3.32 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.83 ▲0.10 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 41.85 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.60 ▼2.94 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.29 ▼0.57 |
WP Cloudflare Cache /wp-admin/options-general.php?page=wpcc-cache | 3.23 | 31.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
cf_email_value |
cf_maxage_value |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
cf_key_value |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Cloudflare Cache
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.54 ▼0.86 | 1.66 ▼0.17 | 44.55 ▲5.64 |
Dashboard /wp-admin | 2,211 ▲23 | 5.87 ▲1.06 | 111.76 ▼4.32 | 43.45 ▼2.20 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.02 ▲0.02 | 36.42 ▲0.31 | 34.88 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.20 ▼0.00 | 664.43 ▼6.42 | 54.19 ▼9.95 |
Media Library /wp-admin/upload.php | 1,399 ▲17 | 4.24 ▲0.01 | 93.29 ▼3.37 | 41.53 ▲1.64 |
WP Cloudflare Cache /wp-admin/options-general.php?page=wpcc-cache | 894 | 2.07 | 24.82 | 36.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- cf_email_value
- theysaidso_admin_options
- widget_recent-posts
- cf_maxage_value
- cf_key_value
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-cloudflare-cache/lib/class-wp-cloudflare-cache.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-cloudflare-cache/wp-cloudflare-cache.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-cloudflare-cache/wp-cloudflare-cache.php 92% from 13 tests
The entry point to "WP Cloudflare Cache" version 1.0.3 is a PHP file that has certain tags in its header comment area
It is important 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected211 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 33 | 193 |
JavaScript | 1 | 3 | 3 | 15 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin