HTML5TreeConstructer D

Total Complexity 571
Dependencies 3
Dependents 1
Total lines 3,212
Lines of code 1,673
Logical lines of code 953
Comment lines 970
Methods 33
Properties 11

Methods 33

Method Rating Maintainability Complexity Lines of code
inBody()
D
0
232 614
inTable()
D
30 32 121
inSelect()
C
33 28 109
inHead()
C
37 27 71
mainPhase()
B
39 22 60
inCell()
B
38 18 76
resetInsertionMode()
B
42 17 49
inTableBody()
B
42 16 52
inRow()
A
43 14 50
inCaption()
A
42 12 57
initPhase()
A
52 14 23
inFrameset()
A
49 13 31
reconstructActiveFormattingElements()
A
47 12 36
beforeHead()
A
49 12 29
inColumnGroup()
A
49 11 31
elementInScope()
A
48 10 34
afterHead()
A
49 10 31
rootElementPhase()
A
52 10 23
trailingEndPhase()
A
55 10 18
appendToRealParent()
A
54 8 20
afterFrameset()
A
56 8 18
afterBody()
S
58 6 15
insertElement()
S
56 5 18
emitToken()
S
59 5 16
getElementCategory()
S
62 4 12
closeCell()
S
62 3 13
clearStackToTableContext()
S
64 3 10
clearTheActiveFormattingElementsUpToTheLastMarker()
S
66 3 9
generateImpliedEndTags()
S
67 2 7
__construct()
S
66 1 9
insertComment()
S
76 1 4
insertText()
S
76 1 4
save()
S
82 1 3