Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▼1.30ms] Passed 4 tests
This is a short check of server-side resources used by Flo Forms - Easy Drag & Drop Form Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.61 | 49.55 ▲10.04 |
Dashboard /wp-admin | 3.90 ▲0.55 | 53.49 ▼6.93 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 52.03 ▲6.95 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 96.74 ▼15.25 |
Media Library /wp-admin/upload.php | 3.76 ▲0.54 | 52.63 ▲17.29 |
All Forms /wp-admin/edit.php?post_type=flo_forms | 3.87 | 44.08 |
All Entries /wp-admin/edit.php?post_type=flo_form_entry | 3.88 | 44.96 |
Add New Form /wp-admin/post-new.php?post_type=flo_forms | 3.91 | 55.53 |
Server storage [IO: ▲14.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 147 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flo Forms - Easy Drag & Drop Form Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲175 | 13.18 ▼1.20 | 1.80 ▲0.03 | 42.39 ▼0.55 |
Dashboard /wp-admin | 2,292 ▲100 | 4.85 ▼0.11 | 111.68 ▼2.86 | 48.27 ▲6.84 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.02 ▼0.04 | 35.34 ▼5.32 | 34.07 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,759 ▲245 | 21.97 ▼1.61 | 658.00 ▼19.60 | 36.33 ▼16.33 |
Media Library /wp-admin/upload.php | 1,474 ▲89 | 4.24 ▲0.09 | 96.09 ▼6.01 | 43.40 ▼2.26 |
All Forms /wp-admin/edit.php?post_type=flo_forms | 1,186 | 19.73 | 217.66 | 35.03 |
All Entries /wp-admin/edit.php?post_type=flo_form_entry | 1,212 | 19.76 | 218.36 | 34.38 |
Add New Form /wp-admin/post-new.php?post_type=flo_forms | 2,177 | 20.44 | 256.07 | 112.77 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/flo-forms/lib/grecaptcha/ReCaptcha/RequestMethod/SocketPost.php:37
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php on line 18
- > PHP Notice
Undefined variable: atts in wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php on line 18
- > PHP Notice
Undefined variable: atts in wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/flo-forms/admin/class-flo-form-meta-box.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/flo-forms/admin/partials/options-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_media() in wp-content/plugins/flo-forms/admin/partials/flo-forms-admin-display.php:16
- > PHP Notice
Undefined variable: atts in wp-content/plugins/flo-forms/public/partials/flo-forms-public-display.php on line 21
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/flo-forms/lib/grecaptcha/ReCaptcha/RequestMethod/Post.php:35
- > 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 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in flo-forms/assets to your readme.txt
flo-forms/flo-forms.php Passed 13 tests
The main PHP file in "Flo Forms - Easy Drag & Drop Form Builder" ver. 1.0.41 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
A easy to use contact form builder plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin21,120 lines of code in 109 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Vuejs Component | 29 | 1,008 | 507 | 6,442 |
Sass | 3 | 595 | 43 | 3,882 |
CSS | 18 | 221 | 73 | 3,346 |
PHP | 28 | 1,168 | 1,623 | 2,979 |
JavaScript | 23 | 776 | 692 | 2,730 |
Markdown | 2 | 131 | 0 | 840 |
HTML | 3 | 47 | 2 | 701 |
JSON | 2 | 0 | 0 | 147 |
SVG | 1 | 0 | 0 | 53 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 133 | |
▷ Static methods | 29 | 21.80% |
▷ Public methods | 128 | 96.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.76% |
Functions | 12 | |
▷ Named functions | 5 | 41.67% |
▷ Anonymous functions | 7 | 58.33% |
Constants | 10 | |
▷ Global constants | 3 | 30.00% |
▷ Class constants | 7 | 70.00% |
▷ Public constants | 7 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 0.55MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/vendor/jquery-ui-flo/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
admin/vendor/jquery-ui-flo/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/images/how-it-works.png | 164.28KB | 181.11KB | 0.00% |
public/vendor/jquery-ui-flo/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
admin/images/ff-pro-bg-popup.png | 40.98KB | 13.50KB | ▼ 67.07% |