78% disable-next-step-with-enter-in-elementor-forms

Code Review | Disable Next Step With Enter in Elementor Forms

WordPress plugin Disable Next Step With Enter in Elementor Forms scored78%from 54 tests.

About plugin

  • Plugin page: disable-next-step...
  • Plugin version: 1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.5
  • WordPress version: 6.3.1
  • First release: Aug 10, 2020
  • Latest release: Aug 10, 2020
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: Bloodspencer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

Server metrics [RAM: ▼0.22MB] [CPU: ▼20.89ms] Passed 4 tests

Analyzing server-side resources used by Disable Next Step With Enter in Elementor Forms
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0247.04 ▲3.51
Dashboard /wp-admin3.08 ▼0.2332.75 ▼19.25
Posts /wp-admin/edit.php3.22 ▼0.1433.15 ▼21.28
Add New Post /wp-admin/post-new.php5.46 ▼0.4369.53 ▼36.28
Media Library /wp-admin/upload.php3.15 ▼0.0830.86 ▼6.76
Disable Next Step with Enter In Elementor /wp-admin/options-general.php?page=dnsweiefpd_settings_page3.0627.57

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Disable Next Step With Enter in Elementor Forms
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,925 ▲13913.33 ▼1.209.12 ▲7.0145.99 ▲1.72
Dashboard /wp-admin2,222 ▲455.56 ▼0.0493.69 ▼2.6942.92 ▲0.10
Posts /wp-admin/edit.php2,133 ▲332.00 ▲0.0236.00 ▼4.2240.54 ▲1.91
Add New Post /wp-admin/post-new.php1,387 ▼14117.18 ▼6.09570.93 ▼79.5651.50 ▲0.35
Media Library /wp-admin/upload.php1,430 ▲274.18 ▼0.23104.14 ▼2.1141.68 ▼2.10
Disable Next Step with Enter In Elementor /wp-admin/options-general.php?page=dnsweiefpd_settings_page1,44912.15271.5096.17

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=dnsweiefpd_settings_page
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, class 'Disable_Next_Step_With_Enter_In_Elementor_Forms_Admin' does not have a method 'enqueue_scripts'

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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/disable-next-step-with-enter-in-elementor-forms/admin/partials/disable-next-step-with-enter-in-elementor-forms-admin-display.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

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
6 plugin tags: elementor multistep forms, elementor forms, elementor pro, elementor forms deactivate enter, elementor forms deactivate next step with enter...

disable-next-step-with-enter-in-elementor-forms/disable-next-step-with-enter-in-elementor-forms.php 92% from 13 tests

This is the main PHP file of "Disable Next Step With Enter in Elementor Forms" version 1.0, 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:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 172 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin373 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP9125429222
Sass111067
CSS11560
JavaScript11024

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity2.80
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.32
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods28
▷ Static methods00.00%
▷ Public methods2382.14%
▷ Protected methods00.00%
▷ Private methods517.86%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/img/wp-monkey-logo.png29.80KB12.70KB▼ 57.37%