Emogrifier B

Total Complexity 82
Dependencies 5
Dependents 1
Total lines 783
Lines of code 359
Logical lines of code 208
Comment lines 306
Methods 29
Properties 8

Methods 29

Method Rating Maintainability Complexity Lines of code
emogrify()
B
34 21 82
parseNth()
A
49 8 29
getCssSelectorPrecedence()
S
55 4 19
parseCssDeclarationBlock()
S
56 4 18
translateCssToXpath()
S
46 2 41
sortBySelectorPrecedence()
S
66 4 7
translateNthChild()
S
60 3 13
getUnifiedHtml()
S
59 3 13
translateNthOfType()
S
60 3 13
getCssFromAllStyleNodes()
S
62 3 12
copyCssWithMediaToStyleNode()
S
72 3 5
clearCache()
S
67 2 7
matchClassAttributes()
S
67 2 7
matchIdAttributes()
S
76 2 3
removeUnprocessableHtmlTag()
S
70 2 6
generateStyleStringFromDeclarationsArrays()
S
65 2 8
getOrCreateHeadElement()
S
65 2 9
splitCssAndMediaQuery()
S
59 1 15
createXmlDocument()
S
62 1 12
__construct()
S
77 1 4
_media_concat()
S
79 1 3
__destruct()
S
82 1 3
strtolower()
S
79 1 3
addUnprocessableHtmlTag()
S
80 1 3
purgeVisitedNodes()
S
77 1 4
clearAllCaches()
S
72 1 6
setCss()
S
81 1 3
setHtml()
S
81 1 3
addStyleElementToDocument()
S
66 1 8