Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼39.89ms] Passed 4 tests
An overview of server-side resources used by Stylish Order Form Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.46 ▼4.62 |
Dashboard /wp-admin | 3.01 ▼0.34 | 28.73 ▼38.60 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 27.67 ▼26.67 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 23.95 ▼77.75 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 21.64 ▼16.55 |
Settings /wp-admin/admin.php?page=SOFB_manage_settings | 3.01 | 23.56 |
Go Pro /wp-admin/admin.php?page=SOFB_go_pro | 3.01 | 28.44 |
Manage Forms /wp-admin/admin.php?page=SOFB_manage_forms | 3.01 | 26.18 |
Stylish Order Form Builder Lite /wp-admin/admin.php?page=MAINMENUSOFB | 3.01 | 25.02 |
Manage Orders /wp-admin/admin.php?page=SOFB_manage_orders | 3.01 | 27.86 |
Manage products /wp-admin/admin.php?page=SOFB_add_products | 3.01 | 26.93 |
Manage Property /wp-admin/admin.php?page=SOFB_add_property | 3.01 | 27.43 |
How it works? /wp-admin/admin.php?page=SOFB_demo_vid | 3.01 | 25.60 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 54 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_happs_SOFB_forms |
wp_happs_SOFB_products |
wp_happs_SOFB_orders |
wp_happs_SOFB_properties |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Stylish Order Form Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.27 ▼1.08 | 1.59 ▼0.11 | 43.56 ▲0.73 |
Dashboard /wp-admin | 2,293 ▲119 | 5.79 ▲0.25 | 106.25 ▲5.32 | 39.12 ▼3.78 |
Posts /wp-admin/edit.php | 2,200 ▲97 | 2.24 ▲0.28 | 46.08 ▲10.34 | 32.97 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,583 ▲55 | 23.49 ▲0.18 | 683.93 ▲10.69 | 38.72 ▼10.51 |
Media Library /wp-admin/upload.php | 1,500 ▲97 | 4.41 ▲0.22 | 105.38 ▲5.80 | 42.74 ▼2.70 |
Settings /wp-admin/admin.php?page=SOFB_manage_settings | 1,128 | 1.96 | 34.36 | 52.26 |
Go Pro /wp-admin/admin.php?page=SOFB_go_pro | 1,134 | 2.51 | 42.60 | 42.81 |
Manage Forms /wp-admin/admin.php?page=SOFB_manage_forms | 1,181 | 2.09 | 31.27 | 42.50 |
Stylish Order Form Builder Lite /wp-admin/admin.php?page=MAINMENUSOFB | 907 | 1.94 | 32.27 | 33.00 |
Manage Orders /wp-admin/admin.php?page=SOFB_manage_orders | 934 | 1.95 | 32.51 | 27.89 |
Manage products /wp-admin/admin.php?page=SOFB_add_products | 5,236 | 1.95 | 39.78 | 50.12 |
Manage Property /wp-admin/admin.php?page=SOFB_add_property | 1,214 | 1.96 | 35.17 | 42.36 |
How it works? /wp-admin/admin.php?page=SOFB_demo_vid | 1,419 | 9.36 | 296.51 | 59.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 56 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_demo_vid
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/admin.php?page=SOFB_manage_forms
- > Notice in wp-content/plugins/stylish-order-form-builder/functions-wp.php+94
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=SOFB_manage_forms
- > Notice in wp-content/plugins/stylish-order-form-builder/functions-wp.php+94
Trying to access array offset on value of type null
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_add_products
- > Notice in wp-content/plugins/stylish-order-form-builder/Pages/manage-products/add-products.php+76
Undefined index: name
SRP 0% 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
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/stylish-order-form-builder/Pages/activation.php
- > /wp-content/plugins/stylish-order-form-builder/Pages/settings/color-customization.php
- > /wp-content/plugins/stylish-order-form-builder/Pages/manage-forms/includes/all-properties.php
- > /wp-content/plugins/stylish-order-form-builder/lib/style.php
- > /wp-content/plugins/stylish-order-form-builder/Pages/pro.php
- > /wp-content/plugins/stylish-order-form-builder/Pages/how-it-works.php
- > /wp-content/plugins/stylish-order-form-builder/Pages/manage-orders/view.php
- 31× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/stylish-order-form-builder/Pages/manage-prop/settings.php:2
- > PHP Notice
Undefined index: form_title in wp-content/plugins/stylish-order-form-builder/Pages/manage-orders/view.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function AP_SOFB_GET_PRODUCTS() in wp-content/plugins/stylish-order-form-builder/lib/form.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function AP_SOFB_GET_PRODUCTS() in wp-content/plugins/stylish-order-form-builder/Pages/manage-forms/includes/all-products.php:3
- > PHP Notice
Undefined index: order_data in wp-content/plugins/stylish-order-form-builder/Pages/manage-orders/view.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function AP_SOFB_GET_PROP() in wp-content/plugins/stylish-order-form-builder/Pages/manage-forms/action.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/stylish-order-form-builder/stylish-order-form-builder-lite.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function AP_SOFB_GET_PROP() in wp-content/plugins/stylish-order-form-builder/Pages/manage-products/action.php:63
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/stylish-order-form-builder/Pages/manage-forms/includes/all-properties.php on line 4
- > PHP Notice
Undefined index: submission_date in wp-content/plugins/stylish-order-form-builder/Pages/manage-orders/view.php on line 37
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_demo_vid
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-order-form-builder/Pages/manage-prop/re-order-js.js?ver=1 0:937 Uncaught TypeError: $ is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_demo_vid
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-order-form-builder/Pages/manage-products/add-product-js.js?ver=1 0:866 Uncaught TypeError: $ is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_demo_vid
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-order-form-builder/Pages/manage-forms/forms-js.js?ver=1 0:1289 Uncaught TypeError: $ is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SOFB_demo_vid
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-order-form-builder/Pages/pro.js?ver=1 0:30 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: order form builder, quote form builder
stylish-order-form-builder/stylish-order-form-builder-lite.php 77% from 13 tests
This is the main PHP file of "Stylish Order Form Builder" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 313 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("stylish-order-form-builder.php" instead of "stylish-order-form-builder-lite.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
Good job! No executable or dangerous file extensions detected3,157 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 154 | 80 | 1,646 |
PHP | 31 | 644 | 90 | 1,467 |
JavaScript | 11 | 10 | 0 | 40 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 60 | |
▷ Named functions | 60 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
JS/tipx/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
JS/tipx/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |