Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.67MB] [CPU: ▼54.69ms] Passed 4 tests
Analyzing server-side resources used by SmartTouch NextGen Form Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.15 | 10.30 ▼38.83 |
Dashboard /wp-admin | 2.34 ▼0.97 | 13.28 ▼41.77 |
Posts /wp-admin/edit.php | 2.34 ▼1.02 | 10.81 ▼42.84 |
Add New Post /wp-admin/post-new.php | 2.34 ▼3.55 | 10.84 ▼95.33 |
Media Library /wp-admin/upload.php | 2.34 ▼0.89 | 11.98 ▼27.90 |
Add Header Footer /wp-admin/admin.php?page=sti-header-footer | 2.34 | 12.32 |
Form Login /wp-admin/admin.php?page=smart-touch-form-builder | 2.34 | 11.35 |
Server storage [IO: ▲0.71MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 75 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_smarttouch_form_builder_entries |
wp_smarttouch_form_builder_forms |
wp_smarttouch_form_builder_fields |
wp_form_register |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_sti_widget |
widget_theysaidso_widget |
sti_db_version |
widget_recent-comments |
sti_dashboard_widget_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for SmartTouch NextGen Form Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.11 ▼0.28 | 16.28 ▲14.35 | 44.23 ▼2.70 |
Dashboard /wp-admin | 2,249 ▲72 | 5.58 ▼0.08 | 82.12 ▼13.67 | 81.43 ▲37.74 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.98 ▼0.04 | 36.47 ▼2.25 | 37.88 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,562 ▲25 | 23.19 ▲5.06 | 674.39 ▲8.88 | 54.30 ▼23.62 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.26 ▲0.06 | 99.03 ▼10.73 | 60.77 ▲15.37 |
Add Header Footer /wp-admin/admin.php?page=sti-header-footer | 1,204 | 2.15 | 31.66 | 30.63 |
Form Login /wp-admin/admin.php?page=smart-touch-form-builder | 1,197 | 2.32 | 32.16 | 30.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in SmartTouchFormBuilder_Widget is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_sti_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in SmartTouchFormBuilder_Widget is deprecated since version 4.3.0! Use __construct() instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+398
Undefined index: sti-entries
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_script was called incorrectly. Do not deregister the jquery script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.)
- > GET request to /wp-admin/admin.php?page=sti-header-footer
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2484
Undefined index: hf
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sti-header-footer
- > Warning in wp-content/plugins/smarttouchinteractive-form-builder/includes/admin-header-footer.php+42
fread(): Length parameter must be greater than 0
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2859
Undefined index: username
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2860
Undefined index: password
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2861
Undefined index: apikey
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2887
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2889
Undefined index: account_name
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Notice in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2921
Undefined property: stdClass::$Accounts
- > GET request to /wp-admin/admin.php?page=smart-touch-form-builder
- > Warning in wp-content/plugins/smarttouchinteractive-form-builder/smart-touch-form-builder.php+2922
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/smarttouchinteractive-form-builder/includes/hcptscript.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined index: adwords_ad_google in wp-content/plugins/smarttouchinteractive-form-builder/includes/fophp.php on line 9
- > PHP Notice
Undefined index: ad in wp-content/plugins/smarttouchinteractive-form-builder/includes/fophp.php on line 5
- > PHP Notice
Undefined index: ad in wp-content/plugins/smarttouchinteractive-form-builder/includes/fophp.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/smarttouchinteractive-form-builder/includes/fcptscript.php:3
- > PHP Notice
Undefined index: adwords_ad_google in wp-content/plugins/smarttouchinteractive-form-builder/includes/nextgen.php on line 5
- > PHP Notice
Undefined index: adwords_ad_google in wp-content/plugins/smarttouchinteractive-form-builder/includes/fophp.php on line 2
- > PHP Notice
Undefined index: adwords_ad_google in wp-content/plugins/smarttouchinteractive-form-builder/includes/nextgen.php on line 2
- > PHP Notice
Undefined index: ad in wp-content/plugins/smarttouchinteractive-form-builder/includes/nextgen.php on line 2
- > PHP Notice
Undefined index: ad in wp-content/plugins/smarttouchinteractive-form-builder/includes/fophp.php on line 2
- > PHP Notice
Undefined index: ad in wp-content/plugins/smarttouchinteractive-form-builder/includes/nextgen.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (SmartTouch NextGen Form Builder page for registeration with our CRM through REST with OAuth security2. Create Form by providing its intial name with redirection URL after sucessful submission of form by enduser through wordpress site2. Configuring field item options3. Form management screen4. Rendered form on a page through Short Code)
smarttouchinteractive-form-builder/smart-touch-form-builder.php 92% from 13 tests
The main PHP script in "SmartTouch NextGen Form Builder" version 1.1.19 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("smarttouchinteractive-form-builder.php" instead of "smart-touch-form-builder.php")
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 plugin6,045 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 1,240 | 643 | 5,373 |
JavaScript | 8 | 119 | 53 | 440 |
CSS | 4 | 36 | 5 | 231 |
PO File | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 111.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 430.00 |
Average method complexity | 6.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 2 | 1.77% |
▷ Public methods | 113 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
28 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrows-2x.png | 1.76KB | 0.69KB | ▼ 60.52% |
css/smoothness/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
css/smoothness/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
images/sti-interface-icons-2x.png | 3.91KB | 2.31KB | ▼ 40.83% |