Abp01_Viewer S

Total Complexity 34
Dependencies 2
Dependents 7
Total lines 161
Lines of code 113
Logical lines of code 45
Comment lines 7
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
getAvailableTabs()
S
53 7 23
render()
S
58 3 18
renderAndAttachToContent()
S
63 3 10
_canBeRendered()
S
75 3 4
_ensureContentHasUniqueShortcode()
S
62 2 12
_readCachedViewerContent()
S
73 2 5
_contentHasViewerShortCodeBlock()
S
75 2 4
_contentHasAnyTypeOfShortCode()
S
76 2 4
_getViewerShortcodeRegexp()
S
80 1 3
includeFrontendViewerStyles()
S
82 1 3
_getViewerShortcode()
S
80 1 3
__construct()
S
81 1 3
_contentHasViewerShortcode()
S
79 1 3
_cacheViewerContent()
S
80 1 3
isItemLayoutSupported()
S
78 1 3
getAvailableItemLayouts()
S
70 1 6
isTabSupported()
S
78 1 3
includeFrontendViewerScripts()
S
81 1 3