78% integrate-benchmarkemail-crm-elementor

Code Review | Integration of BenchmarkEmail CRM For Elementor Pro Form

WordPress plugin Integration of BenchmarkEmail CRM For Elementor Pro Form scored 78% from 54 tests.

About plugin

  • Plugin page: integrate-benchma...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.4
  • WordPress version: 6.3.1
  • First release: Jul 23, 2020
  • Latest release: Aug 10, 2020
  • Number of updates: 5
  • Update frequency: every 7.4 days
  • Top authors: wisersteps (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 533 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

This is a short check of server-side resources used by Integration of BenchmarkEmail CRM For Elementor Pro Form
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.30 ▼7.62
Dashboard /wp-admin3.31 ▲0.0046.12 ▼9.85
Posts /wp-admin/edit.php3.36 ▲0.0050.37 ▲5.64
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.08 ▲4.79
Media Library /wp-admin/upload.php3.23 ▲0.0032.41 ▼2.49
BenchmarkEmail CRM /wp-admin/admin.php?page=benchmarkemail-elementor-integration3.0024.74

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Integration of BenchmarkEmail CRM For Elementor Pro Form
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.23 ▼1.444.59 ▲2.8440.26 ▼1.36
Dashboard /wp-admin2,200 ▲124.89 ▼0.9699.47 ▼5.5938.88 ▼4.34
Posts /wp-admin/edit.php2,086 ▼32.06 ▲0.0039.29 ▲3.6734.53 ▼1.15
Add New Post /wp-admin/post-new.php1,519 ▼1423.06 ▼0.22591.98 ▼93.3852.24 ▲2.62
Media Library /wp-admin/upload.php1,391 ▼04.25 ▲0.0192.92 ▼1.9243.18 ▼4.13
BenchmarkEmail CRM /wp-admin/admin.php?page=benchmarkemail-elementor-integration280.440.074.12

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

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 50% from 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
Please fix the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/integrate-benchmarkemail-crm-elementor/app/option-page.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/integrate-benchmarkemail-crm-elementor/app/class-action.php:13

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
    • > GET request to /wp-admin/admin.php?page=benchmarkemail-elementor-integration
    • > Network (severe)
    wp-admin/admin.php?page=benchmarkemail-elementor-integration - Failed to load resource: the server responded with a status of 403 (Forbidden)

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: benchmark email, elementor benchmark email, benchmarkemail crm, benchmarkemail elementor, elementor form crm...

integrate-benchmarkemail-crm-elementor/elementor-benchmarkemail-addon.php 77% from 13 tests

Analyzing the main PHP file in "Integration of BenchmarkEmail CRM For Elementor Pro Form" version 1.0.0
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integrate-benchmarkemail-crm-elementor.php" instead of "elementor-benchmarkemail-addon.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)

Code Analysis Passed 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 detected501 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP469158354
JavaScript1152147

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity17.00
▷ Minimum class complexity4.00
▷ Maximum class complexity30.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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