Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.52ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7: Zoho Leads integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.34 ▼4.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.58 ▼0.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.47 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.67 ▼4.35 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.48 ▼0.26 |
Contact Form 7: Zoho Leads /wp-admin/options-general.php?page=cf7_zoho_leads_options | 3.20 | 29.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7: Zoho Leads integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.97 ▼0.29 | 5.17 ▲3.11 | 42.10 ▼2.72 |
Dashboard /wp-admin | 2,216 ▲28 | 5.89 ▼0.16 | 109.58 ▲5.99 | 37.62 ▼1.19 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.01 ▼0.01 | 39.60 ▼0.17 | 34.71 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 18.29 ▲0.08 | 605.42 ▼13.44 | 56.79 ▲8.40 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.25 ▲0.05 | 97.60 ▼2.28 | 41.96 ▼1.73 |
Contact Form 7: Zoho Leads /wp-admin/options-general.php?page=cf7_zoho_leads_options | 884 | 2.02 | 22.42 | 42.12 |
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 detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cf7-zoho-leads/cf7-zoho-leads.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-zoho-leads/admin-menu.php:125
- > 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 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
cf7-zoho-leads/cf7-zoho-leads.php Passed 13 tests
The main PHP file in "Contact Form 7: Zoho Leads integration" ver. 0.0.5 adds more information about the plugin and also serves as the entry point for this plugin
47 characters long description:
Zoho Leads integration for Contact Form 7 forms
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
There were no executable files found in this plugin360 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 72 | 100 | 360 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin