WpaeXmlProcessor C

Total Complexity 102
Dependencies 8
Dependents 2
Total lines 682
Lines of code 429
Logical lines of code 298
Comment lines 110
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
parseElement()
D
27
37 148
handleSimpleSnippets()
A
48 9 30
maybe_cdata()
S
53 6 22
processSnippet()
S
52 5 22
preprocess_attributes()
S
61 5 12
parseSnippetsInString()
S
60 4 13
process()
S
53 3 23
cloneNode()
S
58 3 14
replaceSnippetInAttributes()
S
61 3 13
encodeSpecialCharsInAttributes()
S
61 3 11
checkIfFunctionExists()
S
72 3 5
checkCorrectNumberOfQuotes()
S
67 3 7
getNodeAttributes()
S
66 3 8
elementCdata()
S
69 3 6
postProcessXml()
S
54 1 20
initVariables()
S
63 1 11
sanitizeSnippet()
S
72 1 5
sanitizeAttribute()
S
65 1 9
sanitizeFunctionName()
S
74 1 4
wp_all_export_post_process_xml()
S
78 1 3
pretify()
S
72 1 5
encodeSpecialCharacters()
S
64 1 9
decodeSpecialCharacters()
S
66 1 8
preprocessXml()
S
64 1 9
cleanResponse()
S
66 1 8
__construct()
S
75 1 4