formsModelNbs D

Total Complexity 202
Dependencies 5
Dependents 0
Total lines 584
Lines of code 555
Logical lines of code 340
Comment lines 22
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
validateFields()
D
32 49 80
addSubscriber()
A
44 15 41
changeTpl()
A
44 15 39
save()
A
48 14 31
validateReCaptcha()
A
48 10 33
_assignKeyArr()
A
51 9 29
_computeDifferences()
A
51 9 25
subscribe()
S
56 6 18
_beforeDbReplace()
S
56 5 18
_afterDbReplace()
S
56 5 18
createFromTpl()
S
55 5 17
saveAsCopy()
S
56 5 17
updateLabel()
S
58 5 14
getDifferences()
S
61 5 12
switchActive()
S
59 4 14
_afterGetFromTbl()
S
59 3 12
remove()
S
62 3 11
_prepareParamsAfterDb()
S
65 3 9
_contactAfterGetFromTbl()
S
70 3 6
updateParamsById()
S
67 3 7
getContactsForForm()
S
64 3 9
getBgNames()
S
57 1 20
_prepareDiffKeys()
S
77 2 3
getBgNamesForForm()
S
74 2 4
clear()
S
68 2 7
_dataSave()
S
70 2 6
_getLinksReplacement()
S
63 2 10
getSimpleList()
S
73 2 5
getLastForm()
S
82 1 3
insertFromOriginal()
S
72 1 5
clearCachedStats()
S
72 1 5
addCachedStat()
S
71 1 5
addViewed()
S
79 1 3
addUniqueViewed()
S
79 1 3
addActionDone()
S
79 1 3
_escTplData()
S
70 1 6
setSimpleGetFields()
S
77 1 4
__construct()
S
81 1 3