Brizy_Admin_Templates D

Total Complexity 134
Dependencies 24
Dependents 16
Total lines 917
Lines of code 632
Logical lines of code 313
Comment lines 80
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
getPostSample()
C
32 26 105
templateFrontEnd()
A
40 11 60
obtainRulesFromPostSubmit()
A
44 11 47
getTemplateForCurrentPage()
A
45 9 43
initializeActions()
A
51 10 22
actionTransitionPostStatus()
A
51 8 26
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
62 5 11
getTemplateContent()
S
54 4 23
saveTemplateRules()
S
59 4 14
saveTemplateRulesNotices()
S
60 4 12
templateRulesBox()
S
60 4 12
registerCustomPostTemplate()
S
44 1 45
instance()
S
70 2 7
enqueue_preview_assets()
S
65 2 9
removeRowActions()
S
71 2 6
registerTemplateMetaBox()
S
63 1 13
addError()
S
78 1 3
getTemplateType()
S
78 1 3
setTemplateType()
S
79 1 3
start_the_excerpt()
S
77 1 4
__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