72% simple-form

Code Review | Simple Form- Advance Drag and Drop builder with easy leads collection to social redirection

WordPress plugin Simple Form- Advance Drag and Drop builder with easy leads collection to social redirection scored72%from 54 tests.

About plugin

  • Plugin page: simple-form
  • Plugin version: 2.2.5
  • PHP compatiblity: 5.4 or higher+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9 or higher-6.4
  • WordPress version: 6.3.1
  • First release: Sep 16, 2022
  • Latest release: Nov 10, 2023
  • Number of updates: 36
  • Update frequency: every 11.7 days
  • Top authors: devsabbirahmed (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,009 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.40MB] [CPU: ▼5.29ms] Passed 4 tests

An overview of server-side resources used by Simple Form- Advance Drag and Drop builder with easy leads collection to social redirection
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.90 ▲0.4343.10 ▲2.00
Dashboard /wp-admin3.74 ▲0.4346.80 ▼4.14
Posts /wp-admin/edit.php3.79 ▲0.4345.72 ▼1.88
Add New Post /wp-admin/post-new.php6.26 ▲0.3783.87 ▼17.00
Media Library /wp-admin/upload.php3.60 ▲0.3738.29 ▲1.87

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 60 new files
Database: 2 new tables, 9 new options
New tables
wp_simple_form_tables
wp_simple_form_leads
New WordPress options
can_compress_scripts
theysaidso_admin_options
simpleformActivationTime
deafaultNoticeInterval
widget_recent-comments
widget_theysaidso_widget
gswptsReviewNotice
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Simple Form- Advance Drag and Drop builder with easy leads collection to social redirection
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,989 ▲24213.67 ▼0.6813.24 ▲11.4438.43 ▼4.46
Dashboard /wp-admin2,247 ▲675.51 ▼0.1182.81 ▼7.3977.89 ▲38.59
Posts /wp-admin/edit.php2,149 ▲702.12 ▲0.1337.06 ▼2.5133.65 ▲0.43
Add New Post /wp-admin/post-new.php1,570 ▲4423.26 ▲0.12680.44 ▼27.6878.96 ▲23.42
Media Library /wp-admin/upload.php1,452 ▲524.16 ▼0.0199.40 ▼10.0570.08 ▲26.57
Leads /wp-admin/admin.php?page=simpleform-dashboard#/Leads9573.55100.4832.21
Dashboard /wp-admin/admin.php?page=simpleform-dashboard#/8883.4160.6433.55
Settings /wp-admin/admin.php?page=simpleform-dashboard#/settings9313.5264.1035.43
Create Form /wp-admin/admin.php?page=simpleform-dashboard#/create-form9223.7360.0727.19

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie tables were found after uninstall: 2 tables
    • wp_simple_form_leads
    • wp_simple_form_tables
  • Zombie WordPress options detected upon uninstall: 9 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • deafaultNoticeInterval
    • gswptsReviewNotice
    • simpleformActivationTime
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/simple-form/simple-form.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 69% from 29 tests

readme.txt 75% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Form Dashboard), #2 (Form Builder- Advance Drag & Drop with TypeScript), #3 (Leads view page), #4 (Leads view page), #5 (Settings Page), #6 (Floating Widgets)
  • Tags: You are using too many tags: 25 tag instead of maximum 10
  • Requires php: Invalid version format
  • Requires at least: Invalid version format
Please take inspiration from this readme.txt

simple-form/simple-form.php 62% from 13 tests

"Simple Form- Advance Drag and Drop builder with easy leads collection to social redirection" version 2.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • 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
  • Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "5.4 or higher")
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist
  • Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "5.9 or higher")
  • Description: Please keep the plugin description shorter than 140 characters (currently 180 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected24,889 lines of code in 46 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript62,4792,79319,628
CSS3123752,931
PHP295021,0791,844
Sass3845472
SVG4009
JSON1005

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity11.90
▷ Minimum class complexity1.00
▷ Maximum class complexity65.00
Average method complexity2.84
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes20
▷ Abstract classes00.00%
▷ Concrete classes20100.00%
▷ Final classes00.00%
Methods116
▷ Static methods2017.24%
▷ Public methods11397.41%
▷ Protected methods00.00%
▷ Private methods32.59%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin