PEAR_ChannelFile D

Total Complexity 256
Dependencies 5
Dependents 4
Total lines 1,407
Lines of code 910
Logical lines of code 509
Comment lines 290
Methods 51
Properties 6

Methods 51

Method Rating Maintainability Complexity Lines of code
validate()
C
35 29 83
setSSL()
A
45 13 44
setBaseURL()
A
45 12 45
toXml()
A
43 10 48
_validateFunctions()
A
52 10 24
addMirrorFunction()
A
47 9 36
getValidationObject()
A
48 8 38
resetFunctions()
A
53 8 24
fromAny()
A
53 8 23
setServer()
S
51 7 28
_makeMirrorsXml()
S
52 7 25
setPort()
S
52 7 25
getBaseURL()
S
53 7 23
getPort()
S
56 7 21
getFunctions()
S
56 7 18
addFunction()
S
54 6 22
supports()
S
56 6 19
fromXmlString()
S
52 5 25
addMirror()
S
56 5 19
getFunction()
S
58 5 16
getSSL()
S
60 5 15
_makeRestXml()
S
58 5 14
setDefaultPEARProtocols()
S
57 4 17
fromXmlFile()
S
62 5 10
_makeFunctionsXml()
S
59 4 14
getAlias()
S
63 4 12
supportsREST()
S
62 4 12
_getErrorMessage()
S
44 1 55
isIncludeable()
S
63 4 10
getValidationPackage()
S
63 4 10
setAlias()
S
61 3 13
_unIndent()
S
61 3 12
setSummary()
S
62 3 11
toArray()
S
71 3 6
getMirrors()
S
65 3 10
getMirror()
S
67 3 8
setValidationPackage()
S
68 2 7
lastModified()
S
71 2 6
getSummary()
S
72 2 6
getServer()
S
72 2 6
getName()
S
72 2 6
validChannelServer()
S
71 2 6
fromArray()
S
66 2 9
setName()
S
81 1 3
resetREST()
S
80 1 3
_validateWarning()
S
80 1 3
_validateError()
S
75 1 4
getErrors()
S
81 1 3
_fromArray()
S
82 1 3
fromArrayWithErrors()
S
73 1 5
PEAR_ChannelFile()
S
73 1 5