Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.73ms] Passed 4 tests
This is a short check of server-side resources used by Visual Form Builder - Custom Validation Messages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.30 ▼7.98 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.99 ▲1.09 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 54.35 ▲7.89 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.89 ▼0.50 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 37.54 ▲0.46 |
Validation Messages /wp-admin/admin.php?page=vfb-custom-validation | 3.25 | 32.73 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
vfb_validation_messages |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Visual Form Builder - Custom Validation Messages
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.26 ▲0.03 | 1.76 ▼0.32 | 46.65 ▲3.17 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▼0.05 | 95.14 ▼2.54 | 42.60 ▲0.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.15 ▲0.12 | 33.88 ▼6.39 | 33.94 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.56 ▼0.16 | 630.06 ▼45.31 | 57.64 ▼0.91 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.19 ▼0.03 | 99.36 ▼2.29 | 44.61 ▼1.29 |
Validation Messages /wp-admin/admin.php?page=vfb-custom-validation | 1,170 | 2.00 | 23.75 | 27.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- vfb_validation_messages
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vfb-custom-validation-messages/vfb-custom-validation-messages.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: jquery validation, form builder, forms, contact form
vfb-custom-validation-messages/vfb-custom-validation-messages.php Passed 13 tests
This is the main PHP file of "Visual Form Builder - Custom Validation Messages" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Customize the jQuery validation messages for Visual Form Builder and Visual Form Builder Pro forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin334 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 106 | 334 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin