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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.14MB] [CPU: ▼13.72ms] Passed 4 tests
This is a short check of server-side resources used by Helper for Cloudflare Web Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 25.45 ▼15.73 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.82 ▼2.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.89 ▼1.66 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 66.42 ▼34.15 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 30.01 ▼2.45 |
Helper for Cloudflare Web Analytics /wp-admin/options-general.php?page=cf_web_analytics | 3.18 | 28.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Helper for Cloudflare Web Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.20 ▼1.19 | 1.98 ▲0.22 | 43.41 ▼0.83 |
Dashboard /wp-admin | 2,212 ▲24 | 4.85 ▼0.07 | 110.52 ▲7.10 | 42.44 ▼0.81 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.04 | 34.35 ▼3.41 | 32.57 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.16 ▲5.06 | 665.23 ▲12.92 | 52.38 ▼5.52 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.19 ▼0.06 | 94.64 ▼12.63 | 42.79 ▼1.14 |
Helper for Cloudflare Web Analytics /wp-admin/options-general.php?page=cf_web_analytics | 859 | 2.06 | 23.73 | 26.04 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
Smoke test failed, please fix the following
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cf_web_analytics
- > Notice in wp-content/plugins/helper-for-cloudflare-web-analytics/includes/settings.php+190
Trying to access array offset on value of type null
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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/helper-for-cloudflare-web-analytics/includes/load-script.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/helper-for-cloudflare-web-analytics/includes/settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/helper-for-cloudflare-web-analytics/includes/settings.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: privacy, stats, analytics, cloudflare, statistics
helper-for-cloudflare-web-analytics/plugin.php 77% from 13 tests
"Helper for Cloudflare Web Analytics" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("helper-for-cloudflare-web-analytics.php" instead of "plugin.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected168 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 104 | 133 |
CSS | 1 | 7 | 0 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin