UniteCreatorForm D

Total Complexity 160
Dependencies 13
Dependents 8
Total lines 1,443
Lines of code 880
Logical lines of code 538
Comment lines 171
Methods 47
Properties 4

Methods 47

Method Rating Maintainability Complexity Lines of code
validateFormSettings()
C
37 24 68
doSubmitActions()
B
31 20 117
validateFormFields()
A
51 11 24
prepareEmailHeaders()
A
54 8 22
uploadFormFiles()
A
48 7 33
createFormEntry()
S
48 6 33
prepareFilesFieldAllowedTypes()
S
46 6 31
getFormSettingsValidations()
S
38 1 95
getGoogleSheetsFields()
S
48 5 33
getPlaceholderReplace()
S
57 6 17
getWebhookFields()
S
49 5 30
sendToGoogleSheets()
S
50 3 31
getFilesFieldLinksHtml()
S
57 4 16
getFieldsData()
S
51 3 27
getEmailFields()
S
47 2 38
prepareEmailMessageField()
S
55 3 21
submitFormFront()
S
56 3 17
getVisibilityConditionsParamsData()
S
62 3 11
replacePlaceholders()
S
63 3 10
addFormIncludes()
S
64 3 10
sendEmail()
S
60 2 13
getFormMeta()
S
60 2 13
createFormLog()
S
60 2 13
getConditionsRepeaterSettings()
S
51 1 26
getFieldTitle()
S
78 2 3
getFormName()
S
78 2 3
getFormMessage()
S
70 2 6
sendWebhook()
S
69 2 6
getMetaTitle()
S
61 1 12
getActionTitle()
S
61 1 12
executeFormAction()
S
78 1 3
decodeFilesFieldValue()
S
73 1 5
encodeFilesFieldValue()
S
75 1 4
getFormLogs()
S
75 1 4
replacePlaceholder()
S
75 1 4
prepareEmailRecipients()
S
67 1 8
getFieldKey()
S
76 1 4
formatFieldError()
S
78 1 3
applyActionFieldsFilter()
S
73 1 4
getFileTypeErrorMessage()
S
69 1 6
getFileUploadErrorMessage()
S
72 1 5
getFieldEmptyErrorMessage()
S
72 1 5
getValidationErrorMessage()
S
67 1 7
getFormErrorMessage()
S
70 1 6
getFormSuccessMessage()
S
70 1 6
getRedirectFields()
S
67 1 8
getHookFields()
S
69 1 7