79% cf7-zoho

Code Review | WP Zoho for Contact Form 7, WPforms, Elementor and Ninja Forms - CRM, Bigin

WordPress plugin WP Zoho for Contact Form 7, WPforms, Elementor and Ninja Forms - CRM, Bigin scored79%from 54 tests.

About plugin

  • Plugin page: cf7-zoho
  • Plugin version: 1.2.5
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.3
  • WordPress version: 6.3.1
  • First release: Oct 31, 2018
  • Latest release: Oct 5, 2023
  • Number of updates: 49
  • Update frequency: every 36.8 days
  • Top authors: CRMPerks (75.51%)asif876 (26.53%)

Code review

54 tests

User reviews

43 reviews

Install metrics

3,000+ active /56,935 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.73MB] [CPU: ▼2.52ms] Passed 4 tests

An overview of server-side resources used by WP Zoho for Contact Form 7, WPforms, Elementor and Ninja Forms - CRM, Bigin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3442.69 ▼7.93
Dashboard /wp-admin4.21 ▲0.9155.12 ▲3.98
Posts /wp-admin/edit.php4.26 ▲0.9053.57 ▲0.50
Add New Post /wp-admin/post-new.php6.73 ▲0.8489.04 ▼6.62
Media Library /wp-admin/upload.php4.06 ▲0.8444.58 ▲8.96

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 71 new files
Database: 3 new tables, 7 new options
New tables
wp_vxcf_zoho_accounts
wp_vxcf_zoho_log
wp_vxcf_zoho
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
vxcf_zoho_version
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by WP Zoho for Contact Form 7, WPforms, Elementor and Ninja Forms - CRM, Bigin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7013.36 ▼1.401.89 ▼0.1041.52 ▼3.30
Dashboard /wp-admin2,219 ▲285.85 ▼0.00103.66 ▼12.0941.03 ▼3.21
Posts /wp-admin/edit.php2,105 ▲162.03 ▼0.0239.26 ▲0.7736.54 ▲1.97
Add New Post /wp-admin/post-new.php1,546 ▲1323.26 ▼0.01669.88 ▼14.6956.26 ▲3.65
Media Library /wp-admin/upload.php1,404 ▲134.21 ▼0.0396.16 ▼12.2543.84 ▲0.69

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
The following items require your attention
  • The uninstall procedure failed, leaving 3 tables in the database
    • wp_vxcf_zoho_log
    • wp_vxcf_zoho
    • wp_vxcf_zoho_accounts
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • can_compress_scripts
    • vxcf_zoho_version
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wordpress zoho crm, wordpress zoho crm plugin, contact form 7 zoho crm integration, contact form 7 zoho crm, zoho crm wordpress leads plugin

cf7-zoho/cf7-zoho.php 85% from 13 tests

Analyzing the main PHP file in "WP Zoho for Contact Form 7, WPforms, Elementor and Ninja Forms - CRM, Bigin" version 1.2.5
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Description: Please keep the plugin description shorter than 140 characters (currently 223 characters long)

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected8,545 lines of code in 29 files:
LanguageFilesBlank linesComment linesLines of code
PHP208378177,628
SVG100640
CSS52310271
JavaScript31206

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 112)
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity170.00
▷ Minimum class complexity6.00
▷ Maximum class complexity482.00
Average method complexity6.94
▷ Minimum method complexity1.00
▷ Maximum method complexity112.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods199
▷ Static methods63.02%
▷ Public methods19396.98%
▷ Protected methods00.00%
▷ Private methods63.02%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
35 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/images/ui-bg_glass_95_fef1ec_1x400.png0.32KB0.15KB▼ 54.82%
css/images/ui-icons_ffffff_256x240.png6.15KB4.17KB▼ 32.13%
css/images/ui-bg_glass_65_ffffff_1x400.png0.20KB0.09KB▼ 57.49%
css/images/ui-icons_88a206_256x240.png4.44KB4.17KB▼ 6.02%
css/images/ui-icons_2e83ff_256x240.png4.44KB4.17KB▼ 6.02%