68% integrations-of-zoho-campaigns-with-elementor-form

Code Review | Integrations of Zoho Campaigns with Elementor form

WordPress plugin Integrations of Zoho Campaigns with Elementor form scored 68% from 54 tests.

About plugin

  • Plugin page: integrations-of-z...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 5, 2022
  • Latest release: Mar 9, 2023
  • Number of updates: 13
  • Update frequency: every 12.0 days
  • Top authors: bitpressadmin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 403 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.21MB] [CPU: ▼0.72ms] Passed 4 tests

This is a short check of server-side resources used by Integrations of Zoho Campaigns with Elementor form
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1740.97 ▼2.06
Dashboard /wp-admin3.56 ▲0.2647.48 ▼6.38
Posts /wp-admin/edit.php3.61 ▲0.2549.77 ▲3.34
Add New Post /wp-admin/post-new.php6.10 ▲0.21102.40 ▲5.01
Media Library /wp-admin/upload.php3.42 ▲0.1937.64 ▲2.23

Server storage [IO: ▲2.02MB] [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: 82 new files
Database: 2 new tables, 9 new options
New tables
wp_izcef_flow
wp_izcef_log
New WordPress options
izcef_version
widget_recent-comments
theysaidso_admin_options
db_upgraded
izcef_db_version
izcef_installed
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Integrations of Zoho Campaigns with Elementor form
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲8213.22 ▼1.071.53 ▼0.5039.17 ▼4.96
Dashboard /wp-admin2,245 ▲574.87 ▼0.98109.17 ▲2.6341.19 ▲0.32
Posts /wp-admin/edit.php2,131 ▲422.06 ▲0.0739.31 ▲3.6235.90 ▲1.92
Add New Post /wp-admin/post-new.php1,543 ▲523.40 ▲0.19592.55 ▼26.3562.33 ▲7.85
Media Library /wp-admin/upload.php1,430 ▲484.18 ▼0.0196.51 ▼7.0945.47 ▲1.70

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie tables detected upon uninstall: 2 tables
    • wp_izcef_flow
    • wp_izcef_log
  • This plugin does not fully uninstall, leaving 9 options in the database
    • izcef_db_version
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • izcef_version
    • izcef_installed
    • widget_theysaidso_widget
    • widget_recent-comments

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)
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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
Almost there! Just fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/integrations-of-zoho-campaigns-with-elementor-form/assets/js/index.php
  • 4× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'FormInteg\\IZCEF\\Core\\Database\\Model' not found in wp-content/plugins/integrations-of-zoho-campaigns-with-elementor-form/includes/Core/Database/LogModel.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'FormInteg\\IZCEF\\Core\\Database\\Model' not found in wp-content/plugins/integrations-of-zoho-campaigns-with-elementor-form/includes/Core/Database/FlowModel.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/integrations-of-zoho-campaigns-with-elementor-form/includes/Core/Util/API.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/integrations-of-zoho-campaigns-with-elementor-form/languages/generatedString.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed: The official readme.txt might help

integrations-of-zoho-campaigns-with-elementor-form/integrations-of-zoho-campaigns-with-elementor-form.php 85% from 13 tests

The main file in "Integrations of Zoho Campaigns with Elementor form" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "5.6")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin4,076 lines of code in 74 files:
LanguageFilesBlank linesComment linesLines of code
PHP526119683,841
JavaScript1642182
JSON30050
CSS2002
SVG1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.54
Average class complexity20.51
▷ Minimum class complexity1.00
▷ Maximum class complexity76.00
Average method complexity4.66
▷ Minimum method complexity1.00
▷ Maximum method complexity58.00
Code structure
Namespaces13
Interfaces0
Traits0
Classes35
▷ Abstract classes00.00%
▷ Concrete classes35100.00%
▷ Final classes2262.86%
Methods188
▷ Static methods8947.34%
▷ Public methods16587.77%
▷ Protected methods115.85%
▷ Private methods126.38%
Functions6
▷ Named functions350.00%
▷ Anonymous functions350.00%
Constants16
▷ Global constants1062.50%
▷ Class constants637.50%
▷ Public constants466.67%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin