Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲16.29MB] [CPU: ▲130.37ms] 50% from 4 tests
This is a short check of server-side resources used by Forminator - Contact Form, Payment Form & Custom Form Builder
Please take the time to fix the following items
- RAM: Try to keep total memory usage under 10MB (currently 22.31MB on /wp-admin/admin.php?page=forminator-settings)
- Extra RAM: The extra memory usage should kept under 5MB (currently 16.29MB on /wp-admin/admin.php?page=forminator-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 17.77 ▲14.30 | 145.21 ▲102.03 |
Dashboard /wp-admin | 22.28 ▲18.97 | 214.46 ▲160.01 |
Posts /wp-admin/edit.php | 20.29 ▲16.93 | 187.62 ▲143.45 |
Add New Post /wp-admin/post-new.php | 22.87 ▲16.98 | 231.36 ▲130.33 |
Media Library /wp-admin/upload.php | 20.18 ▲16.95 | 177.60 ▲145.66 |
Integrations /wp-admin/admin.php?page=forminator-integrations | 22.31 | 188.00 |
Quizzes /wp-admin/admin.php?page=forminator-quiz | 22.27 | 210.53 |
Dashboard /wp-admin/admin.php?page=forminator | 22.27 | 194.41 |
View Quizzes /wp-admin/admin.php?page=forminator-quiz-view | 19.99 | 147.33 |
Polls /wp-admin/admin.php?page=forminator-poll | 22.27 | 192.39 |
New Custom Form /wp-admin/admin.php?page=forminator-cform-wizard | 22.32 | 171.30 |
Forminator Pro /wp-admin/admin.php?page=forminator-upgrade | 22.28 | 184.68 |
Add-ons /wp-admin/admin.php?page=forminator-addons | 22.28 | 188.69 |
Submissions /wp-admin/admin.php?page=forminator-entries | 22.28 | 198.42 |
Settings /wp-admin/admin.php?page=forminator-settings | 22.31 | 218.81 |
Server storage [IO: ▲35.85MB] [DB: ▲0.02MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- Try to limit filesystem usage to 25MB (currently using 35.85MB)
Filesystem: 1,645 new files
Database: 8 new tables, 13 new options
New tables |
---|
wp_frmt_form_entry |
wp_actionscheduler_claims |
wp_frmt_form_reports |
wp_actionscheduler_actions |
wp_frmt_form_views |
wp_actionscheduler_logs |
wp_frmt_form_entry_meta |
wp_actionscheduler_groups |
New WordPress options |
---|
schema-ActionScheduler_StoreSchema |
forminator_default_report_entry |
db_upgraded |
forminator_appearance_presets |
theysaidso_admin_options |
widget_recent-comments |
widget_forminator_widget |
widget_theysaidso_widget |
widget_recent-posts |
schema-ActionScheduler_LoggerSchema |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Forminator - Contact Form, Payment Form & Custom Form Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 5,860 ▲3,113 | 21.32 ▲7.07 | 1.78 ▲0.09 | 40.33 ▼7.35 |
Dashboard /wp-admin | 5,272 ▲3,091 | 11.42 ▲5.74 | 209.28 ▲97.27 | 128.03 ▲83.24 |
Posts /wp-admin/edit.php | 2,184 ▲81 | 2.06 ▲0.03 | 39.70 ▲1.04 | 37.11 ▲2.37 |
Add New Post /wp-admin/post-new.php | 2,120 ▲594 | 21.38 ▼1.70 | 719.97 ▲48.21 | 48.41 ▼2.29 |
Media Library /wp-admin/upload.php | 1,486 ▲83 | 4.09 ▼0.07 | 83.15 ▼15.57 | 44.61 ▲1.76 |
Integrations /wp-admin/admin.php?page=forminator-integrations | 4,372 | 7.02 | 113.87 | 147.34 |
Quizzes /wp-admin/admin.php?page=forminator-quiz | 4,022 | 8.83 | 112.51 | 115.27 |
Dashboard /wp-admin/admin.php?page=forminator | 4,323 | 8.31 | 100.59 | 84.69 |
View Quizzes /wp-admin/admin.php?page=forminator-quiz-view | 4,008 | 8.73 | 114.40 | 45.64 |
Polls /wp-admin/admin.php?page=forminator-poll | 4,020 | 8.82 | 109.83 | 106.56 |
New Custom Form /wp-admin/admin.php?page=forminator-cform-wizard | 1,593 | 9.54 | 196.58 | 48.37 |
Forminator Pro /wp-admin/admin.php?page=forminator-upgrade | 4,198 | 7.00 | 113.44 | 76.77 |
Add-ons /wp-admin/admin.php?page=forminator-addons | 5,009 | 7.25 | 133.15 | 111.19 |
Submissions /wp-admin/admin.php?page=forminator-entries | 3,995 | 8.67 | 111.43 | 77.37 |
Settings /wp-admin/admin.php?page=forminator-settings | 4,469 | 8.80 | 276.49 | 108.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 8 tables
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- wp_frmt_form_views
- wp_frmt_form_entry
- wp_actionscheduler_groups
- wp_frmt_form_reports
- wp_actionscheduler_logs
- wp_frmt_form_entry_meta
- The uninstall procedure has failed, leaving 14 options in the database
- can_compress_scripts
- action_scheduler_hybrid_store_demarkation
- theysaidso_admin_options
- widget_forminator_widget
- schema-ActionScheduler_StoreSchema
- action_scheduler_migration_status
- forminator_default_report_entry
- db_upgraded
- schema-ActionScheduler_LoggerSchema
- forminator_appearance_presets
- ...
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/forminator/admin/views/poll/wizard/content.php
- > /wp-content/plugins/forminator/admin/views/common/list/temp_css.php
- > /wp-content/plugins/forminator/admin/views/custom-form/wizard/content.php
- > /wp-content/plugins/forminator/admin/views/quiz/nowrong/content.php
- > /wp-content/plugins/forminator/admin/views/quiz/knowledge/content.php
- > /wp-content/plugins/forminator/addons/pro/zapier/views/settings/setup-connect-success.php
- 882× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Forminator\\Stripe\\Service\\AbstractService' not found in wp-content/plugins/forminator/library/external/src/Forminator/stripe/stripe-php/lib/Service/PromotionCodeService.php:6
- > PHP Fatal error
Uncaught Error: Class 'Forminator_Google_Service' not found in wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/AdExchangeSeller.php:30
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/forminator/addons/pro/aweber/views/sections/authorize.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Forminator_Core' not found in wp-content/plugins/forminator/admin/views/settings/tab-payments.php:2
- > PHP Fatal error
Uncaught Error: Class 'Forminator_Calculator_Symbol_Abstract' not found in wp-content/plugins/forminator/library/calculator/symbol/brackets/class-opening-bracket.php:3
- > PHP Fatal error
Uncaught Error: Class 'Forminator_GFBlock_Abstract' not found in wp-content/plugins/forminator/addons/pro/gutenberg/library/blocks/class-forminator-gfblock-polls.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/forminator/addons/pro/campaignmonitor/views/form-settings/setup-list.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Forminator\\Stripe\\Exception\\ExceptionInterface' not found in wp-content/plugins/forminator/library/external/src/Forminator/stripe/stripe-php/lib/Exception/ApiErrorException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forminator\\Stripe\\ApiResource' not found in wp-content/plugins/forminator/library/external/src/Forminator/stripe/stripe-php/lib/Issuing/Dispute.php:27
- > PHP Notice
Undefined variable: template_vars in wp-content/plugins/forminator/addons/pro/campaignmonitor/views/quiz-settings/map-fields.php on line 14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
forminator/forminator.php 92% from 13 tests
"Forminator - Contact Form, Payment Form & Custom Form Builder" version 1.28.0'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:
- Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
It is important to fix the following items
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/forminator/library/external/src/Forminator/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,028 | 38,946 | 102,288 | 317,756 |
CSS | 55 | 5,439 | 196 | 28,721 |
HTML | 210 | 2,423 | 0 | 20,908 |
JavaScript | 113 | 2,719 | 3,315 | 14,420 |
JSON | 1 | 0 | 0 | 4,910 |
SVG | 6 | 0 | 0 | 834 |
Markdown | 6 | 143 | 0 | 413 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 417.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 12 | |
Traits | 7 | |
Classes | 4,494 | |
▷ Abstract classes | 69 | 1.54% |
▷ Concrete classes | 4,425 | 98.46% |
▷ Final classes | 11 | 0.25% |
Methods | 34,941 | |
▷ Static methods | 885 | 2.53% |
▷ Public methods | 34,088 | 97.56% |
▷ Protected methods | 349 | 1.00% |
▷ Private methods | 504 | 1.44% |
Functions | 325 | |
▷ Named functions | 287 | 88.31% |
▷ Anonymous functions | 38 | 11.69% |
Constants | 1,164 | |
▷ Global constants | 25 | 2.15% |
▷ Class constants | 1,139 | 97.85% |
▷ Public constants | 1,139 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
155 PNG files occupy 1.53MB with 0.92MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/forminator-disabled@2x.png | 5.83KB | 2.53KB | ▼ 56.59% |
assets/images/pdf-template-receipt.png | 4.84KB | 2.61KB | ▼ 46.13% |
addons/pro/webhook/assets/icons/webhook@2x.png | 1.39KB | 0.71KB | ▼ 48.84% |
(invalid) assets/images/forminator-stripe-logo.png | 1.05KB | 0.00KB | ▼ 100.00% |
library/lib/free-notices/assets/images/giveaway/success/common.png | 10.47KB | 5.35KB | ▼ 48.88% |