HTML5_TreeBuilder D

Total Complexity 796
Dependencies 4
Dependents 1
Total lines 3,952
Lines of code 2,118
Logical lines of code 1,371
Comment lines 1,296
Methods 32
Properties 22

Methods 32

Method Rating Maintainability Complexity Lines of code
emitToken()
D
0
652 1,617
resetInsertionMode()
B
41 19 55
setupContext()
A
48 14 33
elementInScope()
A
49 14 27
reconstructActiveFormattingElements()
A
47 12 37
getFosterParent()
A
56 9 17
insertForeignElement()
S
52 7 25
adjustSVGAttributes()
S
38 3 72
insertElement()
S
58 6 15
insertText()
S
59 5 15
getElementCategory()
S
59 5 15
strConst()
S
59 4 15
printActiveFormattingElements()
S
59 4 14
getAttr()
S
62 4 12
adjustForeignAttributes()
S
53 3 22
appendToRealParent()
S
61 3 13
save()
S
63 3 12
closeCell()
S
63 3 11
getCurrentTable()
S
66 3 8
fosterParent()
S
65 3 9
clearStackToTableContext()
S
64 3 10
adjustMathMLAttributes()
S
67 3 8
clearTheActiveFormattingElementsUpToTheLastMarker()
S
66 3 9
printStack()
S
67 2 7
generateImpliedEndTags()
S
66 2 7
insertCDATAElement()
S
71 1 6
insertRCDATAElement()
S
71 1 6
__construct()
S
67 1 8
currentTableIsTainted()
S
80 1 3
insertComment()
S
76 1 4
getQuirksMode()
S
82 1 3
processWithRulesFor()
S
80 1 3