Brizy_Admin_Blocks_Main S

Total Complexity 50
Dependencies 20
Dependents 18
Total lines 401
Lines of code 283
Logical lines of code 163
Comment lines 53
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
getMatchingBrizyBlocks()
A
46 9 41
findMatchingBlocks()
A
44 8 46
findReferencedInPage()
A
43 7 52
findReferencedInGlobalBlocks()
S
52 6 22
compilePageGlobalBlocks()
S
56 3 17
addPageGlobalBlocks()
S
60 3 13
registerCustomPosts()
S
46 1 43
enqueueMatchedGlobalBlockAssets()
S
64 3 10
_init()
S
70 2 7
__construct()
S
70 2 6
initializePreviewActions()
S
70 2 7
isReferencedInPage()
S
79 1 3
addReferencedInPage()
S
79 1 3
initializeActions()
S
72 1 5
getTemplateRuleMatches()
S
67 1 8