Brizy_Admin_Templates D

Total Complexity 140
Dependencies 21
Dependents 14
Total lines 969
Lines of code 673
Logical lines of code 333
Comment lines 95
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
getPostSample()
C
32 26 105
templateFrontEnd()
B
41 16 52
obtainRulesFromPostSubmit()
A
44 11 47
initializeActions()
A
51 10 23
actionTransitionPostStatus()
A
51 8 26
validate_template_rules()
S
51 6 26
action_register_static()
S
43 4 53
getTemplateForCurrentPage()
S
49 5 31
filterTemplateMessages()
S
45 4 40
templateInclude()
S
56 5 20
filterPageContent()
S
57 5 18
templateRulesBox()
S
49 4 30
insertTemplateHead()
S
55 4 22
saveTemplateRules()
S
59 4 14
saveTemplateRulesNotices()
S
60 4 12
getTemplateContent()
S
57 3 18
registerCustomPostTemplate()
S
44 1 45
addTemplateRoleCaps()
S
57 2 18
instance()
S
70 2 7
enqueue_preview_assets()
S
65 2 9
removeRowActions()
S
71 2 6
registerTemplateMetaBox()
S
63 1 13
getTemplateType()
S
78 1 3
setTemplateType()
S
79 1 3
start_the_excerpt()
S
77 1 4
addError()
S
78 1 3
__construct()
S
79 1 3
showTemplateContent()
S
75 1 4
bodyClassFrontend()
S
77 1 4
getTemplate()
S
80 1 3
getTemplateRuleBox()
S
78 1 4
_init()
S
80 1 3
end_the_excerpt()
S
77 1 4