84% w3sc-elementor-to-zoho

Code Review | W3SC Elementor to Zoho CRM

WordPress plugin W3SC Elementor to Zoho CRM scored84%from 54 tests.

About plugin

  • Plugin page: w3sc-elementor-to...
  • Plugin version: 2.2.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2
  • WordPress version: 6.3.1
  • First release: Jan 6, 2022
  • Latest release: May 10, 2023
  • Number of updates: 21
  • Update frequency: every 23.3 days
  • Top authors: w3scloud (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /903 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by W3SC Elementor to Zoho CRM
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1051.42 ▲10.80
Dashboard /wp-admin3.40 ▲0.0948.77 ▼22.88
Posts /wp-admin/edit.php3.51 ▲0.1644.73 ▼4.75
Add New Post /wp-admin/post-new.php5.98 ▲0.0994.69 ▼16.97
Media Library /wp-admin/upload.php3.32 ▲0.0939.93 ▲4.53

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options
w3sc_elementor_version
w3sc_elementor_installed
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for W3SC Elementor to Zoho CRM
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,934 ▲17313.41 ▼1.159.12 ▲7.3234.01 ▼7.76
Dashboard /wp-admin2,224 ▲445.49 ▼0.1192.18 ▼0.7042.76 ▲0.27
Posts /wp-admin/edit.php2,135 ▲382.00 ▲0.0034.95 ▼2.7340.04 ▲6.49
Add New Post /wp-admin/post-new.php1,553 ▲2722.94 ▼0.16658.61 ▼49.5250.97 ▼5.76
Media Library /wp-admin/upload.php1,438 ▲384.10 ▼0.0898.19 ▼15.3251.15 ▲3.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • w3sc_elementor_version
    • widget_recent-comments
    • widget_recent-posts
    • w3sc_elementor_installed
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 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 50% 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 fix the following
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/w3sc-elementor-to-zoho/includes/widgets/control/W3sc-typography.php:4
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/w3sc-elementor-to-zoho/includes/widgets/control/Title-control.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/w3sc-elementor-to-zoho/includes/widgets/W3sc-widget.php:11
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/w3sc-elementor-to-zoho/includes/widgets/control/Button-control.php:4
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/w3sc-elementor-to-zoho/includes/widgets/control/Field-control.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: contacts, zoho crm, crm, elementor to zoho crm, w3scloud...

w3sc-elementor-to-zoho/elementor-to-zoho.php 85% from 13 tests

The primary PHP file in "W3SC Elementor to Zoho CRM" version 2.2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("w3sc-elementor-to-zoho.php" instead of "elementor-to-zoho.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,108 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
PHP142033431,021
CSS3141153
JavaScript301234

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity6.62
▷ Minimum class complexity1.00
▷ Maximum class complexity18.00
Average method complexity2.22
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes112.50%
Methods37
▷ Static methods12.70%
▷ Public methods3389.19%
▷ Protected methods38.11%
▷ Private methods12.70%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.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 are no PNG files in this plugin