Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.84ms] Passed 4 tests
Server-side resources used by EC Developer Mode Integration for Cloudflare
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.71 ▲0.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.65 ▼3.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.41 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.72 ▼22.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.76 ▲4.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for EC Developer Mode Integration for Cloudflare
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▼0.21 | 1.64 ▼0.12 | 38.73 ▼7.58 |
Dashboard /wp-admin | 2,211 ▲31 | 5.61 ▲0.04 | 101.24 ▼0.73 | 49.96 ▲5.33 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.03 ▲0.00 | 39.63 ▲2.92 | 34.57 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.25 ▲0.16 | 654.75 ▼15.97 | 49.17 ▼8.19 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.17 ▼0.02 | 98.17 ▼8.54 | 39.67 ▼4.18 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 items
- 1× 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/ec-developer-mode-integration-for-cloudflare/EC-Developer-Mode-Integration-for-Cloudflare.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== ec-developer-mode-integration-for-cloudflare ===
) - Screenshots: Add an image for screenshot #1 (screen1.png Very simple plugin config.)
ec-developer-mode-integration-for-cloudflare/EC-Developer-Mode-Integration-for-Cloudflare.php 92% from 13 tests
The principal PHP file in "EC Developer Mode Integration for Cloudflare" v. 1.53 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ec-developer-mode-integration-for-cloudflare.php" instead of "EC-Developer-Mode-Integration-for-Cloudflare.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected209 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 41 | 209 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected