Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼293.26ms] Passed 4 tests
An overview of server-side resources used by Contact Form for WordPress - Ultimate Form Builder Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.32 | 56.96 ▲3.23 |
Dashboard /wp-admin | 3.69 ▲0.28 | 34.92 ▲0.20 |
Posts /wp-admin/edit.php | 3.91 ▲0.27 | 38.90 ▼0.04 |
Add New Post /wp-admin/post-new.php | 7.15 ▲0.18 | 97.35 ▼1,173.91 |
Media Library /wp-admin/upload.php | 3.57 ▲0.27 | 24.57 ▲0.73 |
All Forms /wp-admin/admin.php?page=ufbl | 3.59 | 24.86 |
About /wp-admin/admin.php?page=ufbl-about | 3.55 | 29.37 |
How to use /wp-admin/admin.php?page=ufbl-how-to-use | 3.55 | 24.10 |
New Form /wp-admin/admin.php?page=ufbl-new-form | 3.55 | 24.17 |
Check Premium Version /wp-admin/admin.php?page=ufbl-premium | 3.37 | 18.77 |
Form Entries /wp-admin/admin.php?page=ufbl-form-entries | 3.59 | 33.84 |
Documentation /wp-admin/admin.php?page=ufbl-doclinks | 3.37 | 19.65 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 75 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_ufbl_entries |
wp_ufbl_forms |
New WordPress options |
---|
widget_ufbl_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form for WordPress - Ultimate Form Builder Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,966 ▲244 | 16.34 ▲0.70 | 10.66 ▲4.87 | 2.56 ▲0.07 |
Dashboard /wp-admin | 2,948 ▲87 | 6.04 ▼0.15 | 128.52 ▼5.81 | 167.74 ▲1.77 |
Posts /wp-admin/edit.php | 2,743 ▲49 | 3.25 ▲0.02 | 63.12 ▼1.50 | 137.96 ▼7.44 |
Add New Post /wp-admin/post-new.php | 1,695 ▲34 | 16.44 ▲0.28 | 416.86 ▲17.75 | 155.15 ▲2.86 |
Media Library /wp-admin/upload.php | 1,754 ▲53 | 5.52 ▼0.03 | 142.86 ▲4.95 | 184.85 ▼3.56 |
All Forms /wp-admin/admin.php?page=ufbl | 1,426 | 2.94 | 65.99 | 147.10 |
About /wp-admin/admin.php?page=ufbl-about | 1,192 | 2.70 | 72.19 | 123.28 |
How to use /wp-admin/admin.php?page=ufbl-how-to-use | 1,317 | 2.72 | 59.46 | 155.22 |
New Form /wp-admin/admin.php?page=ufbl-new-form | 1,118 | 2.82 | 56.93 | 140.34 |
Check Premium Version /wp-admin/admin.php?page=ufbl-premium | 2,562 | 17.50 | 624.31 | 310.33 |
Form Entries /wp-admin/admin.php?page=ufbl-form-entries | 1,181 | 2.81 | 56.64 | 114.11 |
Documentation /wp-admin/admin.php?page=ufbl-doclinks | 1,289 | 8.23 | 291.12 | 152.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_ufbl_entries
- wp_ufbl_forms
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_ufbl_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following items
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/form-list.php
- > /wp-content/plugins/ultimate-form-builder-lite/ultimate-form-builder-lite.php
- > /wp-content/plugins/ultimate-form-builder-lite/classes/ufbl-model.php
- > /wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/header.php
- > /wp-content/plugins/ultimate-form-builder-lite/inc/cores/activation.php
- > /wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/upgrade-block.php
- > /wp-content/plugins/ultimate-form-builder-lite/classes/ufbl-lib.php
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/ultimate-form-builder-lite/inc/cores/shortcode.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-form-builder-lite/inc/cores/shortcode.php on line 2
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/form-builder.php:8
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/form-entries-list.php:7
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function maybe_unserialize() in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/boxes/display-settings.php:3
- > PHP Warning
Use of undefined constant UFBL_IMG_DIR - assumed 'UFBL_IMG_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/upgrade-block.php on line 10
- > PHP Warning
Use of undefined constant UFBL_IMG_DIR - assumed 'UFBL_IMG_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/upgrade-block.php on line 5
- > PHP Warning
Use of undefined constant UFBL_IMG_DIR - assumed 'UFBL_IMG_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-form-builder-lite/inc/views/backend/upgrade-block.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function maybe_unserialize() in wp-content/plugins/ultimate-form-builder-lite/inc/views/frontend/front-form.php:2
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=ufbl-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ufbl-doclinks
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=ufbl-doclinks
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/ultimate-form-builder-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
ultimate-form-builder-lite/ultimate-form-builder-lite.php Passed 13 tests
The main PHP file in "Contact Form for WordPress - Ultimate Form Builder Lite" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
35 characters long description:
A plugin to build any type of forms
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected9,210 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 234 | 383 | 3,590 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 24 | 37 | 2,179 |
JavaScript | 3 | 80 | 81 | 424 |
PO File | 1 | 153 | 425 | 346 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 59.75 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 5.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 24 | 41.38% |
▷ Public methods | 58 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
27 PNG files occupy 0.30MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/form-icon.png | 0.40KB | 0.29KB | ▼ 28.29% |
images/check-box-checked-5.png | 1.70KB | 0.60KB | ▼ 64.61% |
images/checked-radio.png | 4.37KB | 1.10KB | ▼ 74.75% |
images/mail.png | 1.43KB | 0.24KB | ▼ 83.08% |
images/uncheck-radio-bold-border.png | 4.56KB | 1.24KB | ▼ 72.74% |