HTMLPurifier_DefinitionCache_Serializer A

Total Complexity 54
Dependencies 1
Dependents 1
Total lines 307
Lines of code 194
Logical lines of code 111
Comment lines 84
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
_prepareDir()
A
47 11 40
_testPermissions()
A
48 8 36
cleanup()
S
52 7 24
flush()
S
54 6 21
add()
S
61 4 13
replace()
S
61 4 13
set()
S
64 3 10
_write()
S
64 3 10
get()
S
68 2 7
remove()
S
69 2 7
generateBaseDirectoryPath()
S
72 2 5
generateFilePath()
S
75 1 4
generateDirectoryPath()
S
75 1 4