ezTOC_Post D

Total Complexity 324
Dependencies 6
Dependents 5
Total lines 1,981
Lines of code 1,043
Logical lines of code 663
Comment lines 544
Methods 42
Properties 8

Methods 42

Method Rating Maintainability Complexity Lines of code
createTOC()
D
29
40 115
getTOC()
D
30 31 106
get_css_based_toc_heading()
C
38 28 58
getTOCList()
C
44 26 36
processPages()
B
41 19 52
get_toc_title_tag()
A
42 13 49
excludeHeadings()
A
43 13 46
createTOCItemURL()
A
54 13 17
get_js_based_toc_heading()
A
46 11 39
generateHeadingIDFromTitle()
A
38 8 71
getAlternateHeadings()
A
52 9 23
applyContentFilter()
A
52 8 23
alternateHeadings()
A
47 7 35
extractHeadings()
S
51 7 25
getCurrentPage()
S
58 7 14
get_sticky_toggle_toc()
S
47 5 37
extractExcludedNodes()
S
54 6 19
getHeadingsWithAnchors()
S
52 5 24
getHeadings()
S
53 5 23
getHeadingsfromPageContents()
S
59 5 15
createTOCItemAnchor()
S
57 5 15
stripShortcodesButKeepContent()
S
58 5 15
getTocTitleId()
S
58 5 14
inExcludedNode()
S
63 5 11
apply_filter_status()
S
53 4 25
removeHeadings()
S
60 4 13
setContent()
S
57 3 18
createTOCParent()
S
59 3 14
getHeadingLevels()
S
63 3 11
removeEmptyHeadings()
S
64 3 10
removeHeadingsFromExcludedNodes()
S
64 3 9
__construct()
S
63 2 11
get()
S
68 2 7
addPage()
S
70 2 6
headingIDs()
S
70 2 6
stripShortcodes()
S
63 1 12
hasTOCItems()
S
82 1 3
getPages()
S
82 1 3
isMultipage()
S
80 1 3
toc()
S
81 1 3
getNumberOfPages()
S
80 1 3
process()
S
77 1 4