UniteCreatorForm D

Total Complexity 182
Dependencies 14
Dependents 8
Total lines 1,615
Lines of code 977
Logical lines of code 608
Comment lines 209
Methods 54
Properties 4

Methods 54

Method Rating Maintainability Complexity Lines of code
doSubmitActions()
C
30 21 122
validateFormSettings()
C
37 24 68
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
detectFormSpam()
S
51 5 26
prepareEmailMessageField()
S
49 4 31
saveAntispamSubmissions()
S
58 5 15
getAntispamSettings()
S
54 4 20
getFilesFieldLinksHtml()
S
57 4 16
sendToGoogleSheets()
S
50 3 31
getFieldsData()
S
51 3 27
getEmailFields()
S
47 2 38
submitFormFront()
S
56 3 17
getVisibilityConditionsParamsData()
S
62 3 11
addFormIncludes()
S
64 3 10
saveAntispamBlocks()
S
65 3 8
replacePlaceholders()
S
63 3 10
sendEmail()
S
60 2 13
createFormLog()
S
60 2 13
getFormMeta()
S
60 2 13
getConditionsRepeaterSettings()
S
51 1 26
getFormName()
S
78 2 3
getFieldTitle()
S
78 2 3
sendWebhook()
S
71 2 5
getFormMessage()
S
70 2 6
getActionTitle()
S
61 1 12
getMetaTitle()
S
61 1 12
getFieldEmptyErrorMessage()
S
72 1 5
getRedirectFields()
S
67 1 8
getAntispamSubmissions()
S
76 1 4
getFormLogs()
S
75 1 4
getAntispamBlocks()
S
76 1 4
prepareEmailRecipients()
S
67 1 8
getFormSuccessMessage()
S
70 1 6
decodeFilesFieldValue()
S
73 1 5
encodeFilesFieldValue()
S
75 1 4
replacePlaceholder()
S
75 1 4
getFileUploadErrorMessage()
S
72 1 5
getHookFields()
S
69 1 7
executeFormAction()
S
78 1 3
getFormErrorMessage()
S
70 1 6
getSpamErrorMessage()
S
70 1 6
formatFieldError()
S
78 1 3
getValidationErrorMessage()
S
67 1 7
getFieldKey()
S
76 1 4
getFileTypeErrorMessage()
S
69 1 6
applyActionFieldsFilter()
S
73 1 4