84% integrate-elementor-form-with-mailster

Code Review | Integrate Elementor Form With Mailster

WordPress plugin Integrate Elementor Form With Mailster scored84%from 54 tests.

About plugin

  • Plugin page: integrate-element...
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 12, 2020
  • Latest release: Mar 22, 2023
  • Number of updates: 31
  • Update frequency: every 30.7 days
  • Top authors: feperrella (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

400+ active /2,936 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼0.73ms] Passed 4 tests

Server-side resources used by Integrate Elementor Form With Mailster
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0343.31 ▼7.15
Dashboard /wp-admin3.33 ▲0.0355.63 ▲5.91
Posts /wp-admin/edit.php3.38 ▲0.0348.61 ▼2.32
Add New Post /wp-admin/post-new.php5.91 ▲0.0390.78 ▲4.98
Media Library /wp-admin/upload.php3.25 ▲0.0337.75 ▲1.59

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Integrate Elementor Form With Mailster
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.73 ▲0.151.72 ▲0.0843.88 ▼1.25
Dashboard /wp-admin2,215 ▲355.63 ▼0.0584.99 ▲0.4541.92 ▼1.63
Posts /wp-admin/edit.php2,117 ▲202.02 ▲0.0136.71 ▲1.2139.73 ▲3.84
Add New Post /wp-admin/post-new.php1,538 ▲1223.16 ▲0.06665.70 ▼32.8253.55 ▼1.44
Media Library /wp-admin/upload.php1,417 ▲204.18 ▼0.02102.02 ▼2.3047.61 ▲3.58

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% 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)
Even though no errors were found, 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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/integrate-elementor-form-with-mailster/includes/class-integrate-elementor-form-with-mailster.php:79

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: mailster form, integrate mailster, integrate elementor, mailster, elementor form...

integrate-elementor-form-with-mailster/integrate-elementor-form-with-mailster.php 92% from 13 tests

This is the main PHP file of "Integrate Elementor Form With Mailster" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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 detected451 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP393247298
PO File1315299
Markdown116054

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods15
▷ Static methods16.67%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.65MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
.wordpress-org/icon-256x256.png34.64KB16.19KB▼ 53.26%
.wordpress-org/banner-772x250.png96.78KB80.31KB▼ 17.02%
.wordpress-org/banner-1544x500.png391.65KB369.46KB▼ 5.66%
.wordpress-org/screenshot-2.png44.15KB12.72KB▼ 71.20%
.wordpress-org/icon-128x128.png11.40KB5.99KB▼ 47.45%