Brizy_Admin_Rules_Manager B

Total Complexity 76
Dependencies 6
Dependents 12
Total lines 505
Lines of code 269
Logical lines of code 192
Comment lines 158
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
getCurrentPageGroupAndType()
D
29
36 129
getCurrentPageGroupAndTypeForPopoup()
A
51 11 25
getRules()
S
58 5 15
sortEntitiesByRuleWeight()
S
59 3 14
sortRulesByWeight()
S
61 3 12
sortRules()
S
63 3 11
getAllRulesSet()
S
56 2 17
createRulesFromJson()
S
64 3 10
deleteRule()
S
65 3 9
saveRules()
S
68 2 7
createRuleFromJson()
S
76 1 4
addRule()
S
73 1 5
addRules()
S
72 1 5
setRules()
S
80 1 3
getRuleSet()
S
79 1 3