62% fluentform

Code Review | Contact Form Plugin - Fastest Contact Form Builder Plugin for WordPress by Fluent Forms

WordPress plugin Contact Form Plugin - Fastest Contact Form Builder Plugin for WordPress by Fluent Forms scored62%from 54 tests.

About plugin

  • Plugin page: fluentform
  • Plugin version: 5.1.5
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 29, 2017
  • Latest release: Nov 23, 2023
  • Number of updates: 160
  • Update frequency: every 13.5 days
  • Top authors: techjewel (73.75%)adreastrian (25.63%)pyrobd (1.88%)

Code review

54 tests

User reviews

506 reviews

Install metrics

300,000+ active /5,177,679 total downloads

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: ▲4.38MB] [CPU: ▲28.06ms] 75% from 4 tests

Analyzing server-side resources used by Contact Form Plugin - Fastest Contact Form Builder Plugin for WordPress by Fluent Forms
Please have a look at the following items
  • RAM: Total memory usage should be kept under 10MB (currently 10.47MB on /wp-admin/admin.php?page=fluent_forms_settings)
PageMemory (MB)CPU Time (ms)
Home /7.41 ▲3.9564.15 ▲26.83
Dashboard /wp-admin8.74 ▲5.4377.05 ▲26.94
Posts /wp-admin/edit.php7.61 ▲4.2680.17 ▲30.79
Add New Post /wp-admin/post-new.php11.03 ▲5.15123.63 ▲38.12
Media Library /wp-admin/upload.php7.41 ▲4.1864.86 ▲27.69
Integrations /wp-admin/admin.php?page=fluent_forms_add_ons10.4774.04
Entries /wp-admin/admin.php?page=fluent_forms_all_entries10.4771.88
Scheduled Actions /wp-admin/tools.php?page=action-scheduler7.6165.33
Forms /wp-admin/admin.php?page=fluent_forms10.4769.83
Tools /wp-admin/admin.php?page=fluent_forms_transfer10.4771.90
Support /wp-admin/admin.php?page=fluent_forms_docs10.4768.08
SMTP /wp-admin/admin.php?page=fluent_forms_smtp9.1886.96
Global Settings /wp-admin/admin.php?page=fluent_forms_settings10.4772.83

Server storage [IO: ▲22.16MB] [DB: ▲0.03MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 849 new files
Database: 12 new tables, 11 new options
New tables
wp_fluentform_logs
wp_fluentform_form_analytics
wp_actionscheduler_logs
wp_fluentform_form_meta
wp_fluentform_entry_details
wp_fluentform_submission_meta
wp_ff_scheduled_actions
wp_fluentform_forms
wp_actionscheduler_claims
wp_actionscheduler_groups
...
New WordPress options
widget_recent-comments
schema-ActionScheduler_LoggerSchema
can_compress_scripts
action_scheduler_lock_async-request-runner
widget_fluentform_widget
widget_theysaidso_widget
action_scheduler_hybrid_store_demarkation
theysaidso_admin_options
db_upgraded
schema-ActionScheduler_StoreSchema
...

Browser metrics Passed 4 tests

A check of browser resources used by Contact Form Plugin - Fastest Contact Form Builder Plugin for WordPress by Fluent Forms
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,921 ▲15914.34 ▼0.001.80 ▲0.1430.59 ▼10.28
Dashboard /wp-admin2,317 ▲1395.57 ▼0.1496.71 ▼20.0647.37 ▲0.62
Posts /wp-admin/edit.php2,179 ▲791.99 ▲0.0539.09 ▼7.6236.73 ▼4.22
Add New Post /wp-admin/post-new.php6,411 ▲4,88527.68 ▲4.07855.79 ▲161.3656.67 ▼3.68
Media Library /wp-admin/upload.php1,473 ▲734.19 ▼0.0799.17 ▼17.8643.26 ▼2.98
Integrations /wp-admin/admin.php?page=fluent_forms_add_ons2,0654.2595.6194.22
Entries /wp-admin/admin.php?page=fluent_forms_all_entries1,4777.93195.0167.32
Scheduled Actions /wp-admin/tools.php?page=action-scheduler1,3231.7825.8729.90
New Form /wp-admin/admin.php?page=fluent_forms#add=11,8857.51151.5178.19
Forms /wp-admin/admin.php?page=fluent_forms1,6986.89147.7566.10
Tools /wp-admin/admin.php?page=fluent_forms_transfer1,2554.58106.5856.38
Support /wp-admin/admin.php?page=fluent_forms_docs1,8399.27269.6365.70
SMTP /wp-admin/admin.php?page=fluent_forms_smtp1,2912.1626.9159.13
Global Settings /wp-admin/admin.php?page=fluent_forms_settings2,2718.54197.55129.77

Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 12 tables in the database
    • wp_ff_scheduled_actions
    • wp_fluentform_submission_meta
    • wp_fluentform_form_meta
    • wp_fluentform_forms
    • wp_fluentform_submissions
    • wp_actionscheduler_actions
    • wp_actionscheduler_claims
    • wp_fluentform_logs
    • wp_fluentform_entry_details
    • wp_fluentform_form_analytics
    • ...
  • Zombie WordPress options were found after uninstall: 11 options
    • widget_recent-comments
    • schema-ActionScheduler_StoreSchema
    • db_upgraded
    • action_scheduler_hybrid_store_demarkation
    • widget_theysaidso_widget
    • schema-ActionScheduler_LoggerSchema
    • widget_fluentform_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • action_scheduler_lock_async-request-runner
    • ...

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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
Please fix the following items
  • 4× PHP files output text when accessed directly:
    • > /wp-content/plugins/fluentform/app/Views/email/report/body.php
    • > /wp-content/plugins/fluentform/app/Views/public/conversational-form-inline.php
    • > /wp-content/plugins/fluentform/app/Views/admin/addons/list.php
    • > /wp-content/plugins/fluentform/app/Views/email/failedIntegration/body.php
  • 262× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FluentForm\\Framework\\Database\\Query\\Grammar' not found in wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/Query/MySqlGrammar.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'FluentForm\\App\\Services\\FormBuilder\\Components\\BaseComponent' not found in wp-content/plugins/fluentform/app/Services/FormBuilder/Components/DateTime.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Action_Scheduler\\Migration\\ActionMigrator' not found in wp-content/plugins/fluentform/app/Services/Libraries/action-scheduler/classes/migration/DryRun_ActionMigrator.php:15
    • > PHP Fatal error
      Uncaught Error: Interface 'Box\\Spout\\Common\\Escaper\\EscaperInterface' not found in wp-content/plugins/fluentform/app/Services/Spout/Common/Escaper/CSV.php:11
    • > PHP Notice
      Undefined variable: generated_css in wp-content/plugins/fluentform/app/Views/public/conversational-form-inline.php on line 3
    • > PHP Fatal error
      Uncaught Error: Interface 'Box\\Spout\\Common\\Escaper\\EscaperInterface' not found in wp-content/plugins/fluentform/app/Services/Spout/Common/Escaper/ODS.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function do_action_deprecated() in wp-content/plugins/fluentform/app/Views/admin/globalSettings/settings.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'FluentForm\\App\\Services\\FormBuilder\\Components\\BaseComponent' not found in wp-content/plugins/fluentform/app/Services/FormBuilder/Components/TermsAndConditions.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Box\\Spout\\Writer\\Common\\Internal\\AbstractWorkbook' not found in wp-content/plugins/fluentform/app/Services/Spout/Writer/ODS/Internal/Workbook.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function do_action_deprecated() in wp-content/plugins/fluentform/app/Views/admin/globalSettings/menu.php:8

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=fluent_forms_docs
    • > Other (warning) in unknown
    /wp-admin/admin.php?page=fluent_forms_docs 232 Unrecognized feature: 'web-share'.

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
Please fix the following attributes:
  • Screenshots: Add descriptions for screenshots #13, #14, #15, #16, #17, #18, #19 in fluentform/assets to your readme.txt
The official readme.txt might help

fluentform/fluentform.php Passed 13 tests

This is the main PHP file of "Contact Form Plugin - Fastest Contact Form Builder Plugin for WordPress by Fluent Forms" version 5.1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected123,665 lines of code in 625 files:
LanguageFilesBlank linesComment linesLines of code
PHP53113,72728,23672,818
JavaScript384,5842,32930,647
PO File37,4199,40516,589
CSS394541403,026
SVG1011414
JSON300126
XML17145

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity13.68
▷ Minimum class complexity1.00
▷ Maximum class complexity248.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity99.00
Code structure
Namespaces105
Interfaces27
Traits17
Classes427
▷ Abstract classes409.37%
▷ Concrete classes38790.63%
▷ Final classes00.00%
Methods4,162
▷ Static methods54012.97%
▷ Public methods3,01872.51%
▷ Protected methods87521.02%
▷ Private methods2696.46%
Functions437
▷ Named functions5412.36%
▷ Anonymous functions38387.64%
Constants327
▷ Global constants195.81%
▷ Class constants30894.19%
▷ Public constants308100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
162 compressed PNG files occupy 1.65MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/hcaptcha-placeholder.png6.11KB6.46KB0.00%
assets/img/forms/handicap_parking_request_form.png7.97KB8.17KB0.00%
assets/img/forms/social_service_home_visit_form.png8.06KB8.15KB0.00%
assets/img/forms/vehicle_inspection_form.png7.51KB7.69KB0.00%
assets/img/forms/client_satisfaction_survey_form.png9.85KB10.21KB0.00%