90% extensions-for-elementor-form

Code Review | Extensions for Elementor Form

WordPress plugin Extensions for Elementor Form scored 90% from 54 tests.

About plugin

  • Plugin page: extensions-for-el...
  • Plugin version: 2.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.2
  • WordPress version: 6.3.1
  • First release: Apr 2, 2020
  • Latest release: Apr 5, 2023
  • Number of updates: 26
  • Update frequency: every 42.3 days
  • Top authors: evcode (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

10,000+ active / 53,902 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 gracefully, with no errors

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

A check of server-side resources used by Extensions for Elementor Form
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.49 ▲2.61
Dashboard /wp-admin3.32 ▲0.0148.61 ▲2.27
Posts /wp-admin/edit.php3.37 ▲0.0144.95 ▼5.51
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.87 ▼10.22
Media Library /wp-admin/upload.php3.24 ▲0.0132.24 ▲0.17

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Extensions for Elementor Form
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲7413.30 ▼1.001.84 ▼0.1642.47 ▼5.76
Dashboard /wp-admin2,212 ▲245.84 ▼0.0395.70 ▼9.1440.14 ▼4.54
Posts /wp-admin/edit.php2,097 ▲51.99 ▼0.0637.78 ▼2.5436.54 ▼4.08
Add New Post /wp-admin/post-new.php1,542 ▼023.31 ▲5.14646.72 ▲33.6353.46 ▲3.22
Media Library /wp-admin/upload.php1,391 ▲94.14 ▼0.0394.89 ▼2.9540.60 ▼4.30

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% 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
6 plugin tags: elementor, register custom post type, elementor plugins, form, register post...

extensions-for-elementor-form/extensions-for-elementor-form.php 92% from 13 tests

"Extensions for Elementor Form" version 2.0.1'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:
  • Requires at least: Required version must match the one declared in readme.txt ("5.4" instead of "5.5")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin453 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP681202393
JavaScript211057
CSS1003

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity5.75
▷ Minimum class complexity2.00
▷ Maximum class complexity11.00
Average method complexity2.06
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods18
▷ Static methods00.00%
▷ Public methods1794.44%
▷ Protected methods00.00%
▷ Private methods15.56%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin