PEAR_Registry D

Total Complexity 463
Dependencies 10
Dependents 11
Total lines 2,352
Lines of code 1,563
Logical lines of code 1,029
Comment lines 420
Methods 72
Properties 14

Methods 72

Method Rating Maintainability Complexity Lines of code
parsePackageName()
D
26
38 156
checkFileMap()
C
38 24 65
_initializeChannelDirs()
B
35 21 89
_addChannel()
B
39 20 65
_rebuildFileMap()
B
39 18 62
_getChannel()
B
37 15 76
_deleteChannel()
B
43 16 51
parsedPackageNameToString()
B
43 16 49
_lock()
A
44 16 42
_assertStateDir()
A
45 15 43
getInstalledGroup()
A
49 12 33
_addPackage2()
A
46 11 38
_listChannels()
A
49 11 32
_packageInfo()
A
45 10 45
_assertChannelStateDir()
A
50 10 28
_assertChannelDir()
A
52 9 27
_listPackages()
A
54 9 21
_initializeDepDB()
A
49 8 30
hasWriteAccess()
A
56 8 20
_initializeDirs()
A
55 8 18
_openChannelFile()
A
57 8 17
_openPackageFile()
A
57 8 17
_getChannelFromAlias()
S
55 7 22
_listChannelPackages()
S
55 7 19
addChannel()
S
59 7 14
_channelExists()
S
61 7 13
_updatePackage()
S
52 6 26
_getAlias()
S
57 6 19
_readFileMap()
S
53 5 22
updatePackage()
S
54 5 21
addPackage()
S
55 5 21
updatePackage2()
S
57 5 18
getChannels()
S
59 5 15
_getPackage()
S
57 4 17
_addPackage()
S
58 4 16
addPackage2()
S
59 4 15
_mirrorExists()
S
61 4 12
deleteChannel()
S
62 4 11
_channelDirectoryName()
S
62 4 11
_channelInfo()
S
57 3 17
_updatePackage2()
S
58 3 16
deletePackage()
S
61 3 12
getChannel()
S
63 3 11
_channelFileName()
S
64 3 9
_packageFileName()
S
68 3 7
listAllPackages()
S
68 2 8
getPackage()
S
67 2 8
getChannelValidator()
S
68 2 8
updateChannel()
S
70 2 6
listChannels()
S
68 2 8
_listAllPackages()
S
69 2 7
listPackages()
S
67 2 8
_PEAR_Registry()
S
72 2 6
channelName()
S
67 2 8
channelInfo()
S
67 2 8
packageInfo()
S
67 2 8
isAlias()
S
67 2 8
mirrorExists()
S
67 2 8
channelExists()
S
67 2 8
packageExists()
S
67 2 8
setConfig()
S
71 2 6
channelAlias()
S
67 2 8
_unlock()
S
68 2 8
apiVersion()
S
83 1 3
flushFileMap()
S
77 1 4
_isChannelAlias()
S
80 1 3
_getChannelAliasFileName()
S
74 1 4
_closePackageFile()
S
82 1 3
_closeChannelFile()
S
82 1 3
_packageExists()
S
79 1 3
setInstallDir()
S
67 1 8
PEAR_Registry()
S
69 1 7