HTMLPurifier_Config D

Total Complexity 130
Dependencies 11
Dependents 6
Total lines 902
Lines of code 476
Logical lines of code 268
Comment lines 330
Methods 31
Properties 12

Methods 31

Method Rating Maintainability Complexity Lines of code
getDefinition()
C
32 27 114
set()
B
37 17 73
getAllowedDirectivesForForm()
A
44 15 44
prepareArrayFromForm()
A
52 11 22
get()
A
47 7 41
loadArray()
S
57 5 17
triggerError()
S
57 5 15
create()
S
60 5 14
initDefinition()
S
59 4 15
getBatch()
S
60 3 15
getAll()
S
62 3 11
isFinalized()
S
71 3 6
autoFinalize()
S
70 2 7
loadIni()
S
69 2 7
__construct()
S
70 2 6
getSerial()
S
71 2 6
_listify()
S
68 2 7
getBatchSerial()
S
66 2 8
getURIDefinition()
S
79 1 3
maybeGetRawDefinition()
S
79 1 3
maybeGetRawHTMLDefinition()
S
79 1 3
maybeGetRawCSSDefinition()
S
79 1 3
maybeGetRawURIDefinition()
S
79 1 3
getCSSDefinition()
S
79 1 3
getHTMLDefinition()
S
79 1 3
loadArrayFromForm()
S
71 1 5
mergeArrayFromForm()
S
74 1 4
createDefault()
S
73 1 5
finalize()
S
77 1 4
inherit()
S
79 1 3
serialize()
S
71 1 6