Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.10ms] Passed 4 tests
An overview of server-side resources used by CF7 to Webhook
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 37.94 ▼7.18 |
Dashboard /wp-admin | 3.40 ▲0.10 | 49.00 ▼5.23 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.38 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 94.22 ▲4.09 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 38.00 ▼0.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for CF7 to Webhook
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲22 | 14.26 ▼0.30 | 1.82 ▼0.24 | 41.25 ▼3.11 |
Dashboard /wp-admin | 2,214 ▲37 | 5.64 ▼0.05 | 89.67 ▼9.70 | 40.23 ▼3.70 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.00 ▼0.10 | 40.60 ▲2.15 | 39.08 ▲5.55 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.51 ▲0.37 | 683.02 ▼14.21 | 60.67 ▲9.76 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.11 ▼0.11 | 99.78 ▼2.81 | 44.38 ▼4.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cf7-to-zapier/modules/cf7/admin/webhook-panel-html.php
- > /wp-content/plugins/cf7-to-zapier/includes/functions-debug.php
- > /wp-content/plugins/cf7-to-zapier/cf7-to-zapier.php
- > /wp-content/plugins/cf7-to-zapier/modules/cf7/class-module-cf7.php
- > /wp-content/plugins/cf7-to-zapier/modules/zapier/class-module-zapier.php
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: contact form 7, contact form, webhook, zapier, cf7...
cf7-to-zapier/cf7-to-zapier.php 92% from 13 tests
The main file in "CF7 to Webhook" v. 2.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin585 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 169 | 391 | 585 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 23.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 20 | 68.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 31.03% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 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