Brizy_Admin_Templates D

Total Complexity 140
Dependencies 20
Dependents 14
Total lines 900
Lines of code 644
Logical lines of code 321
Comment lines 83
Methods 32
Properties 2

Methods 32

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 22
actionTransitionPostStatus()
A
51 8 26
getTemplateForCurrentPage()
A
46 7 39
validate_template_rules()
S
51 6 26
action_register_static()
S
43 4 53
filterTemplateMessages()
S
45 4 40
templateInclude()
S
56 5 20
filterPageContent()
S
57 5 18
insertTemplateHead()
S
55 4 22
saveTemplateRules()
S
59 4 14
templateRulesBox()
S
60 4 12
saveTemplateRulesNotices()
S
60 4 12
getTemplateContent()
S
57 3 18
registerCustomPostTemplate()
S
44 1 45
removeRowActions()
S
71 2 6
enqueue_preview_assets()
S
65 2 9
instance()
S
70 2 7
registerTemplateMetaBox()
S
63 1 13
setTemplateType()
S
79 1 3
getTemplateType()
S
78 1 3
addError()
S
78 1 3
start_the_excerpt()
S
77 1 4
__construct()
S
79 1 3
bodyClassFrontend()
S
77 1 4
showTemplateContent()
S
75 1 4
getTemplate()
S
80 1 3
getTemplateRuleBox()
S
78 1 4
_init()
S
80 1 3
end_the_excerpt()
S
77 1 4