HTMLPurifier_Lexer_DOMLex A

Total Complexity 57
Dependencies 5
Dependents 0
Total lines 309
Lines of code 178
Logical lines of code 124
Comment lines 101
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
createStartNode()
A
43 16 45
tokenizeDOM()
A
50 11 28
tokenizeHTML()
A
46 7 37
wrapHTML()
S
54 7 22
getTagName()
S
65 4 10
getData()
S
65 4 10
transformAttrToAssoc()
S
64 3 10
__construct()
S
76 1 4
createEndNode()
S
75 1 4
muteErrorHandler()
S
91 1 2
callbackUndoCommentSubst()
S
76 1 3
callbackArmorCommentEntities()
S
77 1 3