Abp01_PluginModules_FrontendViewerPluginModule S

Total Complexity 33
Dependencies 9
Dependents 1
Total lines 208
Lines of code 133
Logical lines of code 70
Comment lines 18
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
_shouldEnqueueWebPageAssets()
S
64 3 11
addViewerToContent()
S
63 3 11
_postHasAnyTripSummaryData()
S
65 3 9
_getViewerData()
S
58 1 16
_removeWpAutoPFilterIfPresent()
S
70 2 6
onFrontendEnqueueScripts()
S
74 2 5
_shouldAddViewer()
S
79 2 3
renderViewerShortCode()
S
64 2 10
onFrontendEnqueueStyles()
S
75 2 5
onPluginInitSetupCustomBlockTypes()
S
75 2 5
_registerWebPageAssets()
S
71 1 6
load()
S
73 1 6
_registerTripSummaryShortCodeBlock()
S
79 1 4
_getFrontendViewerScriptTranslations()
S
81 1 3
_initViewerContentHooks()
S
79 1 4
_shouldRegisterCustomBlockTypes()
S
81 1 3
_registerViewerContentHook()
S
74 1 5
_registerViewerShortCode()
S
79 1 3
_registerCustomBlockTypes()
S
79 1 3
_getAdditionalTabs()
S
71 1 6
__construct()
S
65 1 9