10% multi-step-forms-free-for-elementor

Code Review | Multi-step Forms FREE (for Elementor)

WordPress plugin Multi-step Forms FREE (for Elementor) scored 10% from 54 tests.

About plugin

  • Plugin page: multi-step-forms-...
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.4.1
  • WordPress version: 6.3.1
  • First release: Feb 26, 2020
  • Latest release: Jun 23, 2020
  • Number of updates: 24
  • Update frequency: every 5.0 days
  • Top authors: kyriscodes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 3,717 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'activate_multi_step_forms_free' not found or invalid function name

Server metrics [RAM: ▼0.60MB] [CPU: ▼19.47ms] Passed 4 tests

Server-side resources used by Multi-step Forms FREE (for Elementor)
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0840.66 ▼7.48
Dashboard /wp-admin3.38 ▲0.0746.98 ▼3.18
Posts /wp-admin/edit.php3.49 ▲0.1343.63 ▼2.12
Add New Post /wp-admin/post-new.php3.25 ▼2.6343.80 ▼65.08
Media Library /wp-admin/upload.php3.30 ▲0.0733.08 ▼1.43

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Multi-step Forms FREE (for Elementor): an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,912 ▲16613.76 ▼0.518.01 ▲5.9038.45 ▼7.93
Dashboard /wp-admin2,204 ▲164.88 ▼0.98116.56 ▲8.7345.33 ▼1.89
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0043.02 ▼1.5735.05 ▼0.64
Add New Post /wp-admin/post-new.php1,532 ▼123.00 ▼0.12818.13 ▲139.8970.54 ▼6.42
Media Library /wp-admin/upload.php1,392 ▲74.12 ▼0.01107.71 ▼20.6457.74 ▲7.64

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'deactivate_multi_step_forms_free' not found or invalid function name
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/multi-step-forms-free-for-elementor/public/partials/multi-step-forms-free-public-display.php
    • > /wp-content/plugins/multi-step-forms-free-for-elementor/admin/partials/multi-step-forms-free-admin-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 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
These attributes need your attention:
  • Screenshots: Please add an image for screenshot #1 (View of the Multi-step Forms FREE (for Elementor) widget in action.)
  • Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

multi-step-forms-free-for-elementor/multi-step-forms-free.php 85% from 13 tests

"Multi-step Forms FREE (for Elementor)" version 1.2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("multi-step-forms-free-for-elementor.php" instead of "multi-step-forms-free.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,597 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP134356642,237
JavaScript84554661,354
CSS36216

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity9.00
▷ Minimum class complexity1.00
▷ Maximum class complexity62.00
Average method complexity2.88
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods34
▷ Static methods25.88%
▷ Public methods2573.53%
▷ Protected methods38.82%
▷ Private methods617.65%
Functions6
▷ Named functions350.00%
▷ Anonymous functions350.00%
Constants3
▷ Global constants3100.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.31MB with 0.21MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-1.png318.43KB98.94KB▼ 68.93%