Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.06ms] Passed 4 tests
This is a short check of server-side resources used by Visual Form Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 33.84 ▼7.83 |
Dashboard /wp-admin | 3.39 ▲0.05 | 43.67 ▼15.22 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 41.30 ▼5.61 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 82.12 ▼15.57 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.47 ▲1.39 |
All Forms /wp-admin/admin.php?page=visual-form-builder | 3.30 | 34.17 |
Add New /wp-admin/admin.php?page=vfb-add-new | 3.29 | 31.07 |
Settings /wp-admin/admin.php?page=vfb-settings | 3.29 | 25.27 |
Entries /wp-admin/admin.php?page=vfb-entries | 3.29 | 34.16 |
Export /wp-admin/admin.php?page=vfb-export | 3.26 | 29.42 |
Server storage [IO: ▲1.02MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 166 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_visual_form_builder_forms |
wp_visual_form_builder_fields |
wp_visual_form_builder_entries |
New WordPress options |
---|
widget_theysaidso_widget |
vfb_dashboard_widget_options |
theysaidso_admin_options |
widget_vfb_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
vfb_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Visual Form Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲107 | 14.40 ▲0.23 | 1.95 ▲0.41 | 42.97 ▲2.65 |
Dashboard /wp-admin | 2,277 ▲105 | 5.56 ▼0.08 | 83.08 ▼14.43 | 40.83 ▼3.37 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.96 ▼0.00 | 34.67 ▼5.07 | 32.85 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 18.23 ▼5.58 | 615.79 ▼53.88 | 68.19 ▲18.65 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.18 ▲0.02 | 94.09 ▼0.32 | 40.97 ▼3.75 |
All Forms /wp-admin/admin.php?page=visual-form-builder | 1,468 | 1.89 | 29.85 | 40.43 |
Add New /wp-admin/admin.php?page=vfb-add-new | 961 | 1.91 | 28.05 | 26.46 |
Settings /wp-admin/admin.php?page=vfb-settings | 1,001 | 1.88 | 25.59 | 26.55 |
Entries /wp-admin/admin.php?page=vfb-entries | 1,201 | 1.88 | 26.51 | 30.55 |
Export /wp-admin/admin.php?page=vfb-export | 992 | 1.97 | 27.94 | 27.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_visual_form_builder_fields
- wp_visual_form_builder_entries
- wp_visual_form_builder_forms
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- vfb_db_version
- widget_vfb_widget
- can_compress_scripts
- widget_theysaidso_widget
- vfb_dashboard_widget_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=vfb-export
- > Warning in wp-content/plugins/visual-form-builder/admin/class-export.php+136
Illegal string offset 'form_id'
- > GET request to /wp-admin/admin.php?page=vfb-export
- > Notice in wp-content/plugins/visual-form-builder/admin/class-export.php+136
Uninitialized string offset: 0
SRP 50% 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/visual-form-builder/admin/class-entries-list.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/visual-form-builder/admin/class-widget.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/visual-form-builder/admin/class-forms-list.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
visual-form-builder/visual-form-builder.php 85% from 13 tests
The main PHP script in "Visual Form Builder" version 3.1 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin14,451 lines of code in 114 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,039 | 1,479 | 4,950 |
CSS | 6 | 372 | 114 | 2,733 |
PO File | 6 | 1,175 | 2,184 | 2,607 |
JavaScript | 56 | 311 | 392 | 2,495 |
Sass | 18 | 282 | 0 | 1,666 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 9 | 5.77% |
▷ Public methods | 146 | 93.59% |
▷ Protected methods | 2 | 1.28% |
▷ Private methods | 8 | 5.13% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
25 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/arrows-dark-2x.png | 0.70KB | 0.76KB | 0.00% |
public/assets/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
public/assets/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
public/assets/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
public/assets/css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |