94% integration-for-elementor-forms-flexmail

Code Review | Integration for Elementor forms - Flexmail

WordPress plugin Integration for Elementor forms - Flexmail scored 94% from 54 tests.

About plugin

  • Plugin page: integration-for-e...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9.2
  • WordPress version: 5.9.2
  • First release: Jan 20, 2022
  • Latest release: Mar 13, 2022
  • Number of updates: 4
  • Update frequency: every 13.0 days
  • Top authors: webtica (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 99 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼299.71ms] Passed 4 tests

A check of server-side resources used by Integration for Elementor forms - Flexmail
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0255.29 ▲3.05
Dashboard /wp-admin3.42 ▲0.0131.93 ▼2.95
Posts /wp-admin/edit.php3.65 ▲0.0136.69 ▲0.48
Add New Post /wp-admin/post-new.php6.90 ▼0.0798.34 ▼1,191.56
Media Library /wp-admin/upload.php3.31 ▲0.0024.25 ▼4.82

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Integration for Elementor forms - Flexmail
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,809 ▲8715.60 ▲0.146.22 ▲0.642.88 ▲0.45
Dashboard /wp-admin2,909 ▲556.13 ▼0.03120.29 ▼15.15156.01 ▼8.88
Posts /wp-admin/edit.php2,706 ▲183.24 ▲0.0163.95 ▲1.01142.88 ▼0.74
Add New Post /wp-admin/post-new.php1,670 ▲3516.35 ▲0.27441.61 ▲2.04155.45 ▲8.02
Media Library /wp-admin/upload.php1,712 ▲145.49 ▼0.07146.08 ▲7.38185.26 ▲0.16

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/integration-for-elementor-forms-flexmail/includes/settings.php:10

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 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt is a good inspiration

integration-for-elementor-forms-flexmail/flexmail-elementor-integration.php 92% from 13 tests

Analyzing the main PHP file in "Integration for Elementor forms - Flexmail" version 1.0.2
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("integration-for-elementor-forms-flexmail.php" instead of "flexmail-elementor-integration.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin329 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP44786292
Markdown119037

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
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
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin