68% integration-of-zoho-crm-and-wpforms

Code Review | Integration of Zoho CRM and WPForms

WordPress plugin Integration of Zoho CRM and WPForms scored68%from 54 tests.

About plugin

  • Plugin page: integration-of-zo...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 31, 2021
  • Latest release: Mar 11, 2023
  • Number of updates: 12
  • Update frequency: every 46.5 days
  • Top authors: bitpressadmin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,228 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼6.28ms] Passed 4 tests

A check of server-side resources used by Integration of Zoho CRM and WPForms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1033.38 ▼6.37
Dashboard /wp-admin3.39 ▲0.0946.27 ▼1.21
Posts /wp-admin/edit.php3.51 ▲0.1548.57 ▼0.34
Add New Post /wp-admin/post-new.php5.98 ▲0.0990.78 ▼17.19
Media Library /wp-admin/upload.php3.32 ▲0.0938.36 ▲1.97

Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 79 new files
Database: 3 new tables, 8 new options
New tables
wp_bitwpfzc_integration
wp_bitwpfzc_gclid
wp_bitwpfzc_zoho_crm_log_details
New WordPress options
bitwpfzc_installed
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
db_upgraded
bitwpfzc_version
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Integration of Zoho CRM and WPForms
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲5913.24 ▼1.321.73 ▼0.0742.09 ▲2.89
Dashboard /wp-admin2,211 ▲235.90 ▼0.15108.80 ▼6.2743.18 ▼0.82
Posts /wp-admin/edit.php2,096 ▲71.97 ▼0.0240.73 ▼1.5235.21 ▼2.93
Add New Post /wp-admin/post-new.php1,519 ▼1617.54 ▼5.78658.31 ▼29.5864.56 ▲7.43
Media Library /wp-admin/upload.php1,393 ▲54.25 ▲0.0596.88 ▼8.8745.85 ▼0.92

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • The uninstall procedure failed, leaving 3 tables in the database
    • wp_bitwpfzc_gclid
    • wp_bitwpfzc_zoho_crm_log_details
    • wp_bitwpfzc_integration
  • Zombie WordPress options detected upon uninstall: 8 options
    • can_compress_scripts
    • bitwpfzc_installed
    • theysaidso_admin_options
    • bitwpfzc_version
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/integration-of-zoho-crm-and-wpforms/assets/js/index.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\BITWPFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-wpforms/includes/Core/Database/IntegrationModel.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\BITWPFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-wpforms/includes/Core/Database/GclidModel.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/integration-of-zoho-crm-and-wpforms/languages/generatedString.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\BITWPFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-wpforms/includes/Core/Database/LogModel.php:12

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 93% 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
9 plugin tags: wpforms integration, integration, zoho with wpforms, zoho crm, wpforms with zoho...

integration-of-zoho-crm-and-wpforms/bitwpfzc.php 85% from 13 tests

"Integration of Zoho CRM and WPForms" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("integration-of-zoho-crm-and-wpforms.php" instead of "bitwpfzc.php")
  • 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 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected3,445 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
PHP445467563,383
JSON30038
JavaScript200320
CSS2002
SVG2002

PHP code Passed 2 tests

An overview of 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 code0.51
Average class complexity18.42
▷ Minimum class complexity1.00
▷ Maximum class complexity79.00
Average method complexity4.62
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces12
Interfaces0
Traits0
Classes33
▷ Abstract classes00.00%
▷ Concrete classes33100.00%
▷ Final classes2060.61%
Methods160
▷ Static methods5333.12%
▷ Public methods14490.00%
▷ Protected methods95.62%
▷ Private methods74.38%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin