Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.67ms] Passed 4 tests
This is a short check of server-side resources used by Visual Builder for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.71 ▼1.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.39 ▼4.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 40.67 ▼3.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.73 ▲2.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.47 ▼1.95 |
Server storage [IO: ▲0.95MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Visual Builder for Contact Form 7: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.31 ▼0.22 | 1.59 ▲0.08 | 41.17 ▼0.33 |
Dashboard /wp-admin | 2,192 ▲14 | 5.49 ▼0.23 | 84.78 ▼19.41 | 40.74 ▲0.55 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 1.98 ▲0.03 | 36.50 ▲0.24 | 33.72 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.58 ▼4.74 | 637.05 ▼40.59 | 68.41 ▲6.14 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.07 | 94.30 ▼4.04 | 43.02 ▲0.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 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/visual-builder-for-contact-form-7/cf7-visual-builder.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Standard textarea from Contact Form 7, will be replaced with Visual Builder. Every field without html tags is reflected with
tag in textarea when the form is saved.), #2 (New areas added after activate the plugin. Now you can see the textarea with code highlighter with some themes to choice. At right-top cornner an eye to show or hide the visual form fields.), #3 (Now you can Drag & Drop to change fields order. (If Adds a new field with above tags, must save to see changes in Visual Builder)), #4 (After Drop a field you'll see the change also in textarea. You must save Form to save all you have changes.), #5 (Option to delete a field and its labels just with a click.), #6 (Click de eye to hide/show the Visual Builder.)
visual-builder-for-contact-form-7/cf7-visual-builder.php 92% from 13 tests
"Visual Builder for Contact Form 7" version 2.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("visual-builder-for-contact-form-7.php" instead of "cf7-visual-builder.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
Success! There were no dangerous files found in this plugin11,612 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 1,133 | 1,190 | 10,643 |
CSS | 8 | 82 | 35 | 508 |
PHP | 2 | 107 | 169 | 414 |
PO File | 1 | 12 | 13 | 47 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 45.78KB | 16.58KB | ▼ 63.80% |