Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▲2.93ms] Passed 4 tests
Analyzing server-side resources used by Contact Form Builder, Contact Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 45.13 ▲8.57 |
Dashboard /wp-admin | 3.99 ▲0.69 | 53.26 ▲4.98 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 48.00 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.63 | 86.69 ▼0.02 |
Media Library /wp-admin/upload.php | 3.85 ▲0.63 | 45.59 ▲11.81 |
Wpdevart Forms /wp-admin/admin.php?page=wpdevart-forms-list | 3.87 | 42.03 |
Edit /wp-admin/admin.php?page=wpdevart-forms-edit | 4.21 | 36.58 |
Styling /wp-admin/admin.php?page=wpdevart-forms-styling | 3.85 | 34.30 |
Featured Plugins /wp-admin/admin.php?page=featured_plugins | 3.82 | 34.58 |
Uninstall /wp-admin/admin.php?page=wpda_form_uninstall | 3.82 | 35.55 |
Add New /wp-admin/admin.php?page=wpdevart-forms-add-new | 3.99 | 37.47 |
Extra Settings /wp-admin/admin.php?page=wpdevart-forms-extra-settings | 3.84 | 36.58 |
Submissions /wp-admin/admin.php?page=wpdevart-forms-submissions | 3.94 | 34.67 |
Settings /wp-admin/admin.php?page=wpdevart-forms-settings | 3.80 | 33.87 |
Server storage [IO: ▲2.96MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 121 new files
Database: 5 new tables, 8 new options
New tables |
---|
wp_wpda_form_subfields |
wp_wpda_form_submissions |
wp_wpda_form_forms |
wp_wpda_form_submit_time |
wp_wpda_form_fields |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_wpdevart-forms |
wpdevart_forms_plugin_version |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form Builder, Contact Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲61 | 14.07 ▼0.14 | 1.63 ▼0.04 | 43.41 ▼0.31 |
Dashboard /wp-admin | 2,229 ▲57 | 5.54 ▼0.09 | 86.72 ▼18.12 | 81.40 ▲36.57 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.00 ▲0.06 | 37.05 ▼3.95 | 36.30 ▼4.01 |
Add New Post /wp-admin/post-new.php | 6,393 ▲4,867 | 27.53 ▲4.40 | 969.87 ▲319.05 | 41.03 ▼11.96 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.14 ▼0.08 | 109.43 ▲12.62 | 74.95 ▲32.02 |
Wpdevart Forms /wp-admin/admin.php?page=wpdevart-forms-list | 1,641 | 2.09 | 33.85 | 68.55 |
Edit /wp-admin/admin.php?page=wpdevart-forms-edit | 1,726 | 2.33 | 36.16 | 33.53 |
Styling /wp-admin/admin.php?page=wpdevart-forms-styling | 1,548 | 2.34 | 30.97 | 28.21 |
Featured Plugins /wp-admin/admin.php?page=featured_plugins | 1,107 | 2.00 | 24.80 | 40.82 |
Uninstall /wp-admin/admin.php?page=wpda_form_uninstall | 895 | 2.00 | 24.57 | 30.63 |
Add New /wp-admin/admin.php?page=wpdevart-forms-add-new | 2,954 | 2.43 | 46.96 | 59.30 |
Extra Settings /wp-admin/admin.php?page=wpdevart-forms-extra-settings | 988 | 2.43 | 31.76 | 30.45 |
Submissions /wp-admin/admin.php?page=wpdevart-forms-submissions | 719 | 1.49 | 10.74 | 19.35 |
Settings /wp-admin/admin.php?page=wpdevart-forms-settings | 718 | 1.49 | 11.04 | 19.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 5 tables in the database
- wp_wpda_form_submit_time
- wp_wpda_form_forms
- wp_wpda_form_subfields
- wp_wpda_form_fields
- wp_wpda_form_submissions
- Zombie WordPress options were found after uninstall: 8 options
- widget_wpdevart-forms
- theysaidso_admin_options
- widget_recent-comments
- wpdevart_forms_plugin_version
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/contact-forms-builder/wpdevart-layout/footer.php
- > /wp-content/plugins/contact-forms-builder/wpdevart-inc/add-new-form.php
- > /wp-content/plugins/contact-forms-builder/wpdevart-layout/help.php
- > /wp-content/plugins/contact-forms-builder/wpdevart-inc/extra-settings.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-forms-builder/classes/GDPR.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: contact form plugin, responsive contact form, contact form, wordpress contact form, form builder
contact-forms-builder/wpdevart-form.php 85% from 13 tests
The entry point to "Contact Form Builder, Contact Widget" version 2.1.7 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("contact-forms-builder.php" instead of "wpdevart-form.php")
- Description: The description should be shorter than 140 characters (currently 231 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin16,171 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 887 | 562 | 6,142 |
CSS | 23 | 143 | 96 | 5,328 |
JavaScript | 25 | 611 | 514 | 4,129 |
SVG | 1 | 0 | 0 | 565 |
Markdown | 1 | 1 | 0 | 6 |
INI | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 11.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 4 | 8.70% |
▷ Public methods | 37 | 80.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 19.57% |
Functions | 47 | |
▷ Named functions | 47 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
27 PNG files occupy 0.35MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/featured_plugins/vertical-menu.png | 6.36KB | 3.88KB | ▼ 39.03% |
images/featured_plugins/facebook-comments-icon.png | 35.59KB | 9.23KB | ▼ 74.06% |
images/featured_plugins/lightbox.png | 10.00KB | 4.64KB | ▼ 53.64% |
images/featured_plugins/chart-featured.png | 9.09KB | 4.30KB | ▼ 52.70% |
assets/images/arrows_down.png | 1.16KB | 0.33KB | ▼ 71.24% |