72% abcsubmit

Code Review | Easy to use Drag and Drop Form Builder - Pop-Up Forms - Workflow Management

WordPress plugin Easy to use Drag and Drop Form Builder - Pop-Up Forms - Workflow Management scored 72% from 54 tests.

About plugin

  • Plugin page: abcsubmit
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.7.1
  • WordPress version: 5.9.2
  • First release: Dec 6, 2018
  • Latest release: May 10, 2021
  • Number of updates: 42
  • Update frequency: every 21.4 days
  • Top authors: dorinabc (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active / 5,401 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼2.46MB] [CPU: ▼348.54ms] Passed 4 tests

Server-side resources used by Easy to use Drag and Drop Form Builder - Pop-Up Forms - Workflow Management
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /1.91 ▼1.604.93 ▼47.15
Dashboard /wp-admin1.93 ▼1.484.28 ▼29.72
Posts /wp-admin/edit.php1.93 ▼1.715.28 ▼33.57
Add New Post /wp-admin/post-new.php1.93 ▼5.044.11 ▼1,283.71
Media Library /wp-admin/upload.php1.93 ▼1.365.17 ▼20.34
My Forms /wp-admin/admin.php?page=abcSubmitMyForms1.934.73
New Form /wp-admin/admin.php?page=abcSubmitNewForm1.934.83
AbcSubmit /wp-admin/admin.php?page=abcsubmit1.934.19
My Account /wp-admin/admin.php?page=abcSubmitMyAccount1.934.81
Help /wp-admin/admin.php?page=abcSubmitHelp1.933.80

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy to use Drag and Drop Form Builder - Pop-Up Forms - Workflow Management
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,936 ▲18215.93 ▲0.029.19 ▲2.492.22 ▼0.53
Dashboard /wp-admin2,936 ▲786.17 ▲0.00115.97 ▼19.90173.89 ▲13.90
Posts /wp-admin/edit.php2,741 ▲503.25 ▲0.0264.60 ▼0.96151.31 ▲9.36
Add New Post /wp-admin/post-new.php2,130 ▲41116.93 ▼5.53502.36 ▲91.79159.44 ▲4.69
Media Library /wp-admin/upload.php1,754 ▲565.68 ▲0.13124.57 ▼21.55208.34 ▲27.39
My Forms /wp-admin/admin.php?page=abcSubmitMyForms1,1018.31247.00137.53
New Form /wp-admin/admin.php?page=abcSubmitNewForm1,1018.26283.02114.94
AbcSubmit /wp-admin/admin.php?page=abcsubmit1,1018.25120.90113.09
My Account /wp-admin/admin.php?page=abcSubmitMyAccount1,1018.25122.10113.07
Help /wp-admin/admin.php?page=abcSubmitHelp1,0998.17121.63114.29

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > User notice in wp-includes/functions.php+5768
    wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)

Smoke tests 25% 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
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > User notice in wp-includes/functions.php+5768
    wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > User notice in wp-includes/functions.php+5768
    wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > User notice in wp-includes/functions.php+5768
    wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the abcsubmit-admin-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > User notice in wp-includes/functions.php+5768
    wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the admin_abcsubmit_css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/abcsubmit/abcsubmit.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:2512664 "[I18n] Interface language suggested by backend as:" "\"ro\""
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:112878 "[API] GET: " "ui/i18n/my-language?JWT=null"
    • > GET request to /wp-admin/admin.php?page=abcSubmitMyForms
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/vendor/abcsubmit-analytics/analytics.js?&_r_=70bd2a35 26:20 "[CIO] referrer = " "/"
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:168315 "[NET] GET: " "/static/i18n/editor-ro.po?_revision_=70bd2a35"
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:2513173 "[I18n] Loaded external translations for language ro"
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:510008 "[CIO] enabled = " true
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:112878 "[API] GET: " "cloud/platform"
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=abcSubmitHelp
    • > Console-api (warning) in unknown
    https://edge15.abcsubmit.com/dist/v2/editor.bundle.js?&_r_=70bd2a35 1:168315 "[NET] GET: " "/static/templates/ui-v2/login/login-and-signup.html?_revision_=70bd2a35"

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: pop-up forms, form builder, e-forms, payment forms, order form

abcsubmit/abcsubmit.php 92% from 13 tests

"Easy to use Drag and Drop Form Builder - Pop-Up Forms - Workflow Management" version 1.2.4'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:
  • Description: The description should be shorter than 140 characters (currently 142 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin763 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript419241393
PHP26142221
CSS3270149

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity1.62
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/icon-abcsubmit-dashboard.png2.29KB0.86KB▼ 62.58%
assets/img/abcsubmit.png2.64KB1.93KB▼ 27.07%
assets/img/iconAbcSubmit.png1.61KB1.61KB0.00%