Restore D

Total Complexity 161
Dependencies 16
Dependents 1
Total lines 908
Lines of code 561
Logical lines of code 414
Comment lines 46
Methods 60
Properties 21

Methods 60

Method Rating Maintainability Complexity Lines of code
doRestore()
B
33 20 91
importDB()
A
42 11 50
__construct()
A
55 9 18
UpdateConfig()
A
45 7 41
progress()
A
55 8 20
updateUser()
S
48 5 33
shouldExtractFile()
S
64 7 8
setDatabaseBackupAvailable()
S
66 6 7
UpdateProgress()
S
59 5 13
getTables()
S
57 4 16
processDBMigration()
S
50 3 29
activePlugins()
S
55 3 19
getRestoreMode()
S
63 4 10
prepare()
S
56 2 18
prepareRestoreLogFile()
S
66 3 8
maintenanceMode()
S
63 3 10
getBackupName()
S
71 3 5
didUpdateProgress()
S
71 3 5
setStateFile()
S
77 3 3
setActionId()
S
61 2 11
setParams()
S
75 2 4
prepareRestoreFolder()
S
68 2 7
init()
S
79 2 3
getStateFile()
S
76 2 4
setAction()
S
77 2 3
getActionId()
S
64 2 8
didExtractArchiveHeaders()
S
64 2 9
setKey()
S
77 2 3
setBackupName()
S
74 2 4
quit()
S
72 2 5
openFile()
S
61 1 12
willExtractFile()
S
91 1 2
getCorrectCdrFilename()
S
82 1 3
didCountFilesInsideArchive()
S
91 1 2
getKey()
S
82 1 3
didFindExtractError()
S
91 1 2
continue()
S
78 1 3
getParams()
S
82 1 3
didExtractFile()
S
91 1 2
setRestoreMode()
S
81 1 3
setFilesBackupAvailable()
S
80 1 3
setDatabaseBackupPath()
S
78 1 3
getCurrentUser()
S
82 1 3
setCurrentUser()
S
80 1 3
getPrefixFromBackup()
S
82 1 3
setPrefixFromBackup()
S
80 1 3
setRestorePath()
S
79 1 3
setFilesBackupPath()
S
78 1 3
getFilesBackupPath()
S
82 1 3
getDatabaseBackupPath()
S
80 1 3
log()
S
76 1 4
getRestorePath()
S
82 1 3
setDatabaseBackupOldPath()
S
78 1 3
getDatabaseBackupOldPath()
S
82 1 3
setRestoreLogPath()
S
78 1 3
getRestoreLogPath()
S
82 1 3
getLogFile()
S
82 1 3
setLogFile()
S
82 1 3
getDatabaseBackupAvailable()
S
82 1 3
getAction()
S
82 1 3