83% email-marketing-and-crm-for-elementor-by-customerly

Code Review | Elementor Email Marketing and CRM by Customerly

WordPress plugin Elementor Email Marketing and CRM by Customerly scored83%from 54 tests.

About plugin

  • Plugin page: email-marketing-a...
  • Plugin version: 1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.1
  • WordPress version: 6.3.1
  • First release: Nov 10, 2022
  • Latest release: Nov 17, 2022
  • Number of updates: 4
  • Update frequency: every 1.8 days
  • Top authors: customerly (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /540 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.91ms] Passed 4 tests

Analyzing server-side resources used by Elementor Email Marketing and CRM by Customerly
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0140.60 ▼2.72
Dashboard /wp-admin3.31 ▲0.0042.69 ▼9.08
Posts /wp-admin/edit.php3.36 ▲0.0045.60 ▲1.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.30 ▼1.78
Media Library /wp-admin/upload.php3.23 ▲0.0037.23 ▲5.10

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Elementor Email Marketing and CRM by Customerly: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.28 ▼1.011.78 ▲0.0146.34 ▼6.11
Dashboard /wp-admin2,206 ▲185.79 ▼0.24111.48 ▼4.3040.06 ▼5.65
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0740.33 ▲5.6935.76 ▲1.82
Add New Post /wp-admin/post-new.php1,543 ▲1018.26 ▼4.92602.53 ▼54.9047.91 ▼2.91
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.1198.28 ▲1.2142.56 ▼2.75

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

Smoke tests 75% from 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 50% 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
Please fix the following items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/email-marketing-and-crm-for-elementor-by-customerly/trunk/customerly.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/email-marketing-and-crm-for-elementor-by-customerly/customerly.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #6 (Engage your visitors with live chat triggers and get more leads.), #7 (Let your user self serve and we are going to replay automatically with AI to your live chat.), #8 (Craft beautiful email marketing templates), #9 (Use Marketing Automation to automate your communications and grow on autopilot.), #10 (Improve your customer satisfaction.), #11 (Segment your contacts in seconds based on your rules.), #12 (Organize your customers' data with CRM), #13 (Gather feedback in seconds via live chat surveys), #14 (Live chat reports to learn your team performances.)
Please take inspiration from this readme.txt

email-marketing-and-crm-for-elementor-by-customerly/elementor-form-customerly.php 85% from 13 tests

"Elementor Email Marketing and CRM by Customerly" version 1.0'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:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("email-marketing-and-crm-for-elementor-by-customerly.php" instead of "elementor-form-customerly.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
Everything looks great! No dangerous files found in this plugin119 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP33421119

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity3.40
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants250.00%
▷ Class constants250.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin