HTMLPurifier_Lexer_DOMLex A

Total Complexity 65
Dependencies 5
Dependents 0
Total lines 383
Lines of code 209
Logical lines of code 142
Comment lines 126
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
createStartNode()
A
43 16 45
tokenizeDOM()
A
50 11 28
tokenizeHTML()
A
48 8 33
wrapHTML()
S
54 7 22
manipulateHtmlComments()
S
55 3 20
getTagName()
S
65 4 10
getData()
S
65 4 10
transformAttrToAssoc()
S
64 3 10
aggressivelyFixLt()
S
64 2 9
__construct()
S
76 1 4
createEndNode()
S
75 1 4
muteErrorHandler()
S
91 1 2
callbackUndoCommentSubst()
S
78 1 3
callbackArmorCommentEntities()
S
78 1 3
armorEntities()
S
79 1 3
undoCommentSubstr()
S
77 1 3