Benchmarks
Plugin footprint 65% 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.46MB] [CPU: ▼0.41ms] Passed 4 tests
Server-side resources used by W3SCloud Contact Form 7 to Zoho CRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.51 | 38.97 ▼0.66 |
Dashboard /wp-admin | 3.81 ▲0.46 | 50.39 ▼11.92 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 54.36 ▲9.09 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 96.27 ▲6.36 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 35.97 ▲4.60 |
Server storage [IO: ▲6.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 549 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_cf7tozoholog |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for W3SCloud Contact Form 7 to Zoho CRM
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲86 | 14.07 ▼0.27 | 2.09 ▲0.36 | 39.32 ▼5.31 |
Dashboard /wp-admin | 2,213 ▲33 | 5.60 ▼0.00 | 92.14 ▼10.98 | 45.17 ▲3.27 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 1.98 ▲0.03 | 40.68 ▲4.81 | 41.91 ▲8.60 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 25.12 ▲1.43 | 610.25 ▼101.00 | 93.46 ▲39.96 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.17 ▼0.04 | 100.18 ▼9.56 | 43.62 ▼0.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_cf7tozoholog
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/w3s-cf7-zoho/admin/partials/w3s-cf7-zoho-admin-display.php
- > /wp-content/plugins/w3s-cf7-zoho/includes/admin-menus-for-zoho.php
- > /wp-content/plugins/w3s-cf7-zoho/public/partials/w3s-cf7-zoho-public-display.php
- 67× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'zcrmsdk\\crm\\api\\handler\\APIHandler' not found in wp-content/plugins/w3s-cf7-zoho/includes/zoho-conn/vendor/zohocrm/php-sdk/src/crm/api/handler/TagAPIHandler.php:12
- > PHP Fatal error
Uncaught Error: Class 'zcrmsdk\\crm\\api\\handler\\APIHandler' not found in wp-content/plugins/w3s-cf7-zoho/includes/zoho-conn/vendor/zohocrm/php-sdk/src/crm/api/handler/OrganizationAPIHandler.php:29
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Interface 'zcrmsdk\\oauth\\persistence\\ZohoOAuthPersistenceInterface' not found in wp-content/plugins/w3s-cf7-zoho/includes/zoho-conn/vendor/zohocrm/php-sdk/src/oauth/persistence/ZohoOAuthPersistenceHandler.php:11
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'zcrmsdk\\crm\\api\\response\\CommonAPIResponse' not found in wp-content/plugins/w3s-cf7-zoho/includes/zoho-conn/vendor/zohocrm/php-sdk/src/crm/api/response/APIResponse.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/w3s-cf7-zoho/includes/cmb2-framework/includes/CMB2.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: contact form 7, zoho crm, crm, w3scloud, leads...
w3s-cf7-zoho/w3s-cf7-zoho.php Passed 13 tests
"W3SCloud Contact Form 7 to Zoho CRM" version 3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
83 characters long description:
Zoho CRM Integration with Contact Form 7. Add Leads from Contact form 7 form entry.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin97,161 lines of code in 459 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 277 | 12,585 | 31,427 | 55,859 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 25 | 1,167 | 1,152 | 4,679 |
JavaScript | 11 | 362 | 585 | 1,602 |
Sass | 16 | 300 | 25 | 1,379 |
Markdown | 5 | 414 | 0 | 1,210 |
JSON | 4 | 0 | 0 | 108 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,079)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 33.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 100.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 214 | |
▷ Abstract classes | 10 | 4.67% |
▷ Concrete classes | 204 | 95.33% |
▷ Final classes | 0 | 0.00% |
Methods | 3,425 | |
▷ Static methods | 411 | 12.00% |
▷ Public methods | 2,871 | 83.82% |
▷ Protected methods | 103 | 3.01% |
▷ Private methods | 451 | 13.17% |
Functions | 131 | |
▷ Named functions | 128 | 97.71% |
▷ Anonymous functions | 3 | 2.29% |
Constants | 269 | |
▷ Global constants | 102 | 37.92% |
▷ Class constants | 167 | 62.08% |
▷ Public constants | 167 | 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
16 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/cmb2-framework/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/cmb2-framework/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
includes/cmb2-framework/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |