Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.31ms] Passed 4 tests
Analyzing server-side resources used by Formbot Online Forms - Drag & Drop Form Builder, Securely Embed Contact Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.31 ▼2.18 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.56 ▼1.71 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.61 ▲0.08 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.40 ▼9.43 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.21 ▲3.58 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Formbot Online Forms - Drag & Drop Form Builder, Securely Embed Contact Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 14.84 ▲0.61 | 1.76 ▼0.09 | 44.96 ▼6.21 |
Dashboard /wp-admin | 2,226 ▲38 | 5.05 ▲0.03 | 116.61 ▲0.95 | 40.73 ▼6.83 |
Posts /wp-admin/edit.php | 2,109 ▲41 | 2.14 ▲0.15 | 40.50 ▲3.59 | 37.66 ▲1.47 |
Add New Post /wp-admin/post-new.php | 6,429 ▲4,899 | 20.52 ▲2.26 | 923.96 ▲252.63 | 55.08 ▲0.60 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.29 ▲0.02 | 105.08 ▲3.66 | 44.13 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formbot-form-builder/formbot-form-builder.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: form templates, forms, order form, formbot, survey...
formbot-form-builder/formbot-form-builder.php 92% from 13 tests
The principal PHP file in "Formbot Online Forms - Drag & Drop Form Builder, Securely Embed Contact Forms" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 284 characters long)
Code Analysis Passed 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 detected782 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 38 | 14 | 306 |
PHP | 1 | 60 | 29 | 298 |
CSS | 1 | 12 | 3 | 170 |
JSON | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/form-bot.png | 8.88KB | 8.61KB | ▼ 2.96% |