UniteCreatorForm D

Total Complexity 196
Dependencies 14
Dependents 8
Total lines 1,712
Lines of code 1,020
Logical lines of code 632
Comment lines 223
Methods 59
Properties 4

Methods 59

Method Rating Maintainability Complexity Lines of code
doSubmitActions()
C
30 21 123
validateFormSettings()
C
37 24 68
validateFormFields()
A
51 11 24
prepareEmailHeaders()
A
54 8 22
uploadFormFiles()
A
48 7 33
getPlaceholderReplace()
S
54 7 23
createFormEntry()
S
48 6 34
prepareFilesFieldAllowedTypes()
S
46 6 31
submitFormFront()
S
51 6 24
getFormSettingsValidations()
S
38 1 95
getGoogleSheetsFields()
S
48 5 33
getWebhookFields()
S
49 5 30
detectFormSpam()
S
51 5 26
getAntispamSettings()
S
53 5 22
getFieldsReplaces()
S
53 5 22
saveAntispamSubmissions()
S
58 5 15
sendToGoogleSheets()
S
50 3 31
getFilesFieldLinksHtml()
S
57 4 16
getFieldsData()
S
50 3 29
getEmailFields()
S
47 2 38
getVisibilityConditionsParamsData()
S
62 3 11
prepareEmailMessageField()
S
57 2 17
addFormIncludes()
S
64 3 10
isEmailValid()
S
68 3 7
replacePlaceholders()
S
63 3 10
saveAntispamBlocks()
S
65 3 8
sendEmail()
S
60 2 13
createFormLog()
S
60 2 13
getFormMeta()
S
60 2 13
getConditionsRepeaterSettings()
S
51 1 26
sendWebhook()
S
71 2 5
getFormMessage()
S
70 2 6
getFieldTitle()
S
78 2 3
getFormName()
S
78 2 3
getActionTitle()
S
61 1 12
getMetaTitle()
S
61 1 12
getHookFields()
S
69 1 7
getAntispamSubmissions()
S
76 1 4
getFormLogs()
S
75 1 4
getAntispamBlocks()
S
76 1 4
prepareEmailRecipients()
S
67 1 8
replaceTitlePlaceholders()
S
76 1 4
decodeFilesFieldValue()
S
73 1 5
encodeFilesFieldValue()
S
75 1 4
replacePlaceholder()
S
75 1 4
getRedirectFields()
S
67 1 8
________GETTERS_________()
S
98 1 1
executeCustomAction()
S
74 1 4
formatFieldError()
S
78 1 3
getFieldKey()
S
76 1 4
getFileTypeErrorMessage()
S
69 1 6
getFileUploadErrorMessage()
S
72 1 5
getFieldEmptyErrorMessage()
S
72 1 5
getValidationErrorMessage()
S
67 1 7
getSpamErrorMessage()
S
70 1 6
getFormErrorMessage()
S
70 1 6
getFormSuccessMessage()
S
70 1 6
executeFormAction()
S
78 1 3
applyActionFieldsFilter()
S
73 1 4