89% wp-zoho-crm

Code Review | Zoho Integration for WordPress

WordPress plugin Zoho Integration for WordPress scored89%from 54 tests.

About plugin

  • Plugin page: wp-zoho-crm
  • Plugin version: 2.1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Dec 28, 2013
  • Latest release: Nov 1, 2023
  • Number of updates: 41
  • Update frequency: every 87.7 days
  • Top authors: smackcoders (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

300+ active /23,865 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼8.25ms] Passed 4 tests

This is a short check of server-side resources used by Zoho Integration for WordPress
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0439.91 ▼3.44
Dashboard /wp-admin3.34 ▼0.0146.80 ▼18.69
Posts /wp-admin/edit.php3.45 ▲0.0946.16 ▼3.59
Add New Post /wp-admin/post-new.php5.92 ▲0.0388.48 ▼7.27
Media Library /wp-admin/upload.php3.26 ▲0.0335.40 ▲0.47

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Zoho Integration for WordPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4714.72 ▲0.161.63 ▼0.0037.43 ▼9.76
Dashboard /wp-admin2,198 ▲175.61 ▼0.1087.53 ▼16.0940.37 ▼4.27
Posts /wp-admin/edit.php2,100 ▲31.98 ▼0.0335.07 ▼0.3435.56 ▼0.76
Add New Post /wp-admin/post-new.php1,526 ▼023.54 ▲0.29652.18 ▼36.2152.18 ▼8.31
Media Library /wp-admin/upload.php1,403 ▲34.32 ▲0.1398.83 ▼0.2744.59 ▲1.75

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
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 a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Screenshots: Screenshot #1 (The screenshot-1.png shows the Zoho CRM settings configuration) image not found
  • Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

wp-zoho-crm/index.php 77% from 13 tests

This is the main PHP file of "Zoho Integration for WordPress" version 2.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 200 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-zoho-crm.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin994 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP512696994

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity17.75
▷ Minimum class complexity1.00
▷ Maximum class complexity46.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods56
▷ Static methods35.36%
▷ Public methods5598.21%
▷ Protected methods00.00%
▷ Private methods11.79%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants11100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.25MB with 0.12MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/help.png0.72KB0.67KB▼ 7.69%
assets/wp-zoho-crm-plugin-banner.png142.22KB42.54KB▼ 70.08%
screenshot-01.png109.97KB34.57KB▼ 68.56%