Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲2.70MB] [CPU: ▲19.61ms] Passed 4 tests
This is a short check of server-side resources used by Formidable Forms - Contact Form, Survey, Quiz, Payment, Calculator Form & Custom Form Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.51 ▲2.05 | 47.23 ▲6.72 |
Dashboard /wp-admin | 6.24 ▲2.94 | 73.77 ▲23.23 |
Posts /wp-admin/edit.php | 6.30 ▲2.95 | 71.79 ▲22.99 |
Add New Post /wp-admin/post-new.php | 9.44 ▲3.56 | 339.19 ▲238.55 |
Media Library /wp-admin/upload.php | 6.10 ▲2.88 | 59.70 ▲25.51 |
Entries /wp-admin/admin.php?page=formidable-entries | 7.30 | 80.86 |
Inbox 1 /wp-admin/admin.php?page=formidable-inbox | 6.45 | 77.97 |
Import/Export /wp-admin/admin.php?page=formidable-import | 7.11 | 69.66 |
Upgrade /wp-admin/admin.php?page=formidable-pro-upgrade | 6.45 | 70.77 |
Views /wp-admin/admin.php?page=formidable-views | 7.31 | 63.93 |
Add-Ons /wp-admin/admin.php?page=formidable-addons | 7.31 | 86.93 |
Applications /wp-admin/admin.php?page=formidable-applications | 6.18 | 56.57 |
SMTP /wp-admin/admin.php?page=formidable-smtp | 6.45 | 70.24 |
Global Settings /wp-admin/admin.php?page=formidable-settings | 7.04 | 73.77 |
Forms (Lite) /wp-admin/admin.php?page=formidable | 8.93 | 369.66 |
Server storage [IO: ▲6.90MB] [DB: ▲0.42MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 420 new files
Database: 4 new tables, 13 new options
New tables |
---|
wp_frm_items |
wp_frm_fields |
wp_frm_item_metas |
wp_frm_forms |
New WordPress options |
---|
widget_frm_show_form |
widget_theysaidso_widget |
widget_recent-posts |
frm_options |
db_upgraded |
theysaidso_admin_options |
frm_strp_options |
frm_connect_token |
frm_honeypot_class |
frm_last_style_update |
... |
Browser metrics 75% from 4 tests
Formidable Forms - Contact Form, Survey, Quiz, Payment, Calculator Form & Custom Form Builder: an overview of browser usage
Please improve the following
- Nodes: It is recommended to reduce the number of DOM nodes under 25,000 (currently 27,844 on /wp-admin/admin.php?page=formidable)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲164 | 14.62 ▲0.34 | 1.80 ▼0.08 | 37.41 ▼8.79 |
Dashboard /wp-admin | 2,297 ▲120 | 5.65 ▲0.12 | 95.03 ▼14.26 | 41.75 ▲0.76 |
Posts /wp-admin/edit.php | 2,209 ▲109 | 2.00 ▲0.04 | 40.62 ▲1.99 | 33.37 ▼0.62 |
Add New Post /wp-admin/post-new.php | 6,342 ▲4,816 | 26.44 ▲3.26 | 812.19 ▲204.51 | 37.48 ▼10.51 |
Media Library /wp-admin/upload.php | 1,506 ▲103 | 4.17 ▼0.05 | 97.57 ▼1.93 | 42.24 ▼1.08 |
Entries /wp-admin/admin.php?page=formidable-entries | 3,470 | 2.84 | 58.32 | 50.33 |
Inbox 1 /wp-admin/admin.php?page=formidable-inbox | 3,553 | 2.72 | 52.62 | 57.28 |
Import/Export /wp-admin/admin.php?page=formidable-import | 3,568 | 2.87 | 55.62 | 60.11 |
Upgrade /wp-admin/admin.php?page=formidable-pro-upgrade | 4,542 | 2.81 | 53.48 | 63.49 |
Views /wp-admin/admin.php?page=formidable-views | 3,643 | 11.12 | 289.21 | 65.55 |
Add-Ons /wp-admin/admin.php?page=formidable-addons | 4,593 | 2.87 | 48.61 | 69.04 |
Applications /wp-admin/admin.php?page=formidable-applications | 3,509 | 2.33 | 33.61 | 68.67 |
SMTP /wp-admin/admin.php?page=formidable-smtp | 3,394 | 2.70 | 51.54 | 60.93 |
Global Settings /wp-admin/admin.php?page=formidable-settings | 6,807 | 5.53 | 113.17 | 78.92 |
Forms (Lite) /wp-admin/admin.php?page=formidable | 27,844 | 3.04 | 77.00 | 54.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.42MB] 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
- Zombie tables detected upon uninstall: 4 tables
- wp_frm_item_metas
- wp_frm_fields
- wp_frm_items
- wp_frm_forms
- Zombie WordPress options detected upon uninstall: 13 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- frm_last_style_update
- can_compress_scripts
- frm_strp_options
- frm_honeypot_class
- frm_db_version
- frm_options
- widget_frm_show_form
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=formidable-pro-upgrade
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% 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
Please fix the following
- 310× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/formidable/classes/views/styles/_field-labels.php
- > /wp-content/plugins/formidable/classes/views/shared/review.php
- > /wp-content/plugins/formidable/classes/views/styles/_form-title.php
- > /wp-content/plugins/formidable/classes/views/frm-settings/recaptcha.php
- > /wp-content/plugins/formidable/classes/models/FrmFormAction.php
- > /wp-content/plugins/formidable/classes/views/styles/_form-description.php
- > /wp-content/plugins/formidable/classes/views/styles/_buttons.php
- > /wp-content/plugins/formidable/stripe/views/settings/messages.php
- > /wp-content/plugins/formidable/classes/views/frm-forms/add_field_links.php
- > /wp-content/plugins/formidable/classes/models/FrmApplicationTemplate.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Too many tags (38 tag instead of maximum 10); only the first 5 tags are used in your directory listing
formidable/formidable.php Passed 13 tests
This is the main PHP file of "Formidable Forms - Contact Form, Survey, Quiz, Payment, Calculator Form & Custom Form Builder" version 6.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
45 characters long description:
Quickly and easily create drag-and-drop forms
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
There were no executable files found in this plugin90,401 lines of code in 369 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 312 | 9,548 | 17,004 | 46,402 |
PO File | 8 | 8,328 | 9,992 | 18,597 |
JavaScript | 23 | 2,937 | 1,799 | 14,642 |
CSS | 13 | 1,863 | 168 | 9,568 |
SVG | 12 | 0 | 0 | 1,092 |
XML | 1 | 1 | 1 | 100 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 36.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 436.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 164 | |
▷ Abstract classes | 3 | 1.83% |
▷ Concrete classes | 161 | 98.17% |
▷ Final classes | 0 | 0.00% |
Methods | 2,774 | |
▷ Static methods | 1,681 | 60.60% |
▷ Public methods | 1,556 | 56.09% |
▷ Protected methods | 386 | 13.91% |
▷ Private methods | 832 | 29.99% |
Functions | 45 | |
▷ Named functions | 4 | 8.89% |
▷ Anonymous functions | 41 | 91.11% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.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
30 compressed PNG files occupy 0.84MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/applications/thumbnails/real-estate-listings.png | 24.55KB | 24.57KB | 0.00% |
images/tooltip.png | 0.63KB | 0.71KB | 0.00% |
images/hcaptcha.png | 2.02KB | 2.00KB | ▼ 1.02% |
images/smtp-screenshot-tnail.png | 23.41KB | 24.58KB | 0.00% |
images/screenshots/scheduling.png | 22.25KB | 24.18KB | 0.00% |