/workspace/src
maintenance
includes
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
MediaWiki\Maintenance\BackupDumper
0%
MediaWiki\Maintenance\DeleteLocalPasswords
0%
MediaWiki\Maintenance\ForkController
0%
MediaWiki\Maintenance\OrderedStreamingForkController
0%
MediaWiki\Maintenance\SevenZipStream
0%
MediaWiki\Maintenance\TextPassDumper
0%
MediaWiki\Maintenance\UndoLog
0%
MediaWiki\Maintenance\MaintenanceRunner
24%
MediaWiki\Maintenance\SchemaGenerator
38%
MediaWiki\Maintenance\Maintenance
50%
Project Risks
Class
CRAP
MediaWiki\Maintenance\TextPassDumper
24492
MediaWiki\Maintenance\MaintenanceRunner
5336
MediaWiki\Maintenance\Maintenance
3939
MediaWiki\Maintenance\BackupDumper
2862
MediaWiki\Maintenance\ForkController
812
MediaWiki\Maintenance\OrderedStreamingForkController
812
MediaWiki\Maintenance\DeleteLocalPasswords
420
MediaWiki\Maintenance\SevenZipStream
240
MediaWiki\Maintenance\SchemaGenerator
59
MediaWiki\Maintenance\UndoLog
42
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
shutdown
0%
stream_open
0%
stripPath
0%
register
0%
canExecuteWithoutLocalSettings
0%
cleanupSqlArray
0%
generateSchema
0%
receive
0%
updateAvailableSockets
0%
feedChildren
0%
consumeNoFork
0%
consume
0%
forkWorkers
0%
start
0%
__construct
0%
cleanup
0%
stream_close
0%
adjustMemoryLimit
0%
finalSetup
0%
getExtensionInfo
0%
getMwInstallPath
0%
setup
0%
getName
0%
memoryLimit
0%
defineSettings
0%
shouldExecute
0%
emulateConfig
0%
overrideConfig
0%
getServiceContainer
0%
run
0%
fatalError
0%
error
0%
url_stat
0%
stream_flush
0%
initFromWrapper
0%
finalOptionCheck
0%
__construct
0%
isValidTextId
0%
clearOpenElement
0%
characterData
0%
endElement
0%
startElement
0%
getTextSpawnedOnce
0%
closeSpawn
0%
openSpawn
0%
getTextSpawned
0%
getTextDb
0%
getText
0%
exportTransform
0%
readDump
0%
checkIfTimeExceeded
0%
stream_read
0%
getBlobStore
0%
stream_write
0%
stream_tell
0%
stream_eof
0%
stream_seek
0%
__construct
0%
finalSetup
0%
getRevisionStore
0%
setTimeExceeded
0%
execute
0%
processOptions
0%
initProgress
0%
dump
0%
processFileOpt
0%
showReport
0%
initForClass
0%
initInternal
0%
showHelpAndExit
0%
prepareEnvironment
0%
processUsers
0%
getUserBatches
0%
__construct
0%
start
0%
allSuccessful
0%
getChildNumber
0%
forkWorkers
0%
execute
0%
initChild
0%
handleTermSignal
0%
canExecuteWithoutLocalSettings
0%
getStdin
0%
isQuiet
0%
getConfig
0%
getUserDB
0%
initialize
0%
clearParamsAndArgs
0%
getBackupDatabase
0%
registerOutput
0%
registerFilter
0%
loadPlugin
0%
processOptions
0%
dump
0%
initProgress
0%
setDB
0%
__construct
0%
reportPage
0%
revCount
0%
report
0%
showReport
0%
progress
0%
loadFile
0%
memoryLimit
0%
setup
0%
update
0%
setLBFactory
0%
setUsagePrefix
0%
getName
0%
setArg
0%
setOption
0%
getFieldReference
0%
prompt
0%
getHookRunner
0%
getHookContainer
0%
requireTestsAutoloader
0%
getTermSize
0%
readlineEmulation
0%
readconsole
0%
newBatchIterator
0%
rollbackTransaction
0%
posix_isatty
0%
getReplicaDB
0%
finalSetup
0%
setDB
0%
validateParamsAndArgs
0%
loadParamsAndArgs
0%
afterFinalSetup
0%
getDB
0%
createChild
25%
formatSize
28%
error
33%
getScriptClass
42%
isAbsolutePath
50%
loadSpecialVars
50%
loadWithArgv
55%
maybeHelp
57%
loadScriptFile
66%
purgeRedundantText
70%
fatalError
75%
generateSchemaChange
75%
makeSQLComment
81%
output
83%
preloadScriptFile
84%
addArg
86%
Project Risks
Method
CRAP
getText
930
processOptions
306
startElement
272
finalSetup
240
start
210
getTextSpawnedOnce
182
dump
156
processOptions
110
characterData
110
finalOptionCheck
90
readDump
90
run
72
overrideConfig
72
initialize
72
endElement
72
defineSettings
72
processFileOpt
72
showReport
56
feedChildren
56
readconsole
42
readlineEmulation
42
loadParamsAndArgs
42
getTermSize
42
shouldExecute
42
shutdown
42
closeSpawn
30
setup
30
initFromWrapper
30
processUsers
30
newBatchIterator
30
forkWorkers
30
cleanupSqlArray
30
error
26
createChild
21
prompt
20
consumeNoFork
20
stream_open
20
openSpawn
20
getTextDb
20
initProgress
20
showReport
20
__construct
20
forkWorkers
20
receive
12
dump
12
__construct
12
isValidTextId
12
consume
12
start
12
getUserBatches
12
getStdin
12
update
12
adjustMemoryLimit
12
memoryLimit
12
setArg
12
checkIfTimeExceeded
12
initInternal
12
getExtensionInfo
12
formatSize
9
purgeRedundantText
8
preloadScriptFile
8
isAbsolutePath
8
loadSpecialVars
8
getScriptClass
6
maybeHelp
6
addArg
6
clearOpenElement
6
getTextSpawned
6
__construct
6
exportTransform
6
__construct
6
register
6
getHookContainer
6
getBackupDatabase
6
report
6
progress
6
loadFile
6
execute
6
allSuccessful
6
getDB
6
posix_isatty
6
getHookRunner
6
getConfig
6
showHelpAndExit
6
loadPlugin
6
error
6
cleanup
6
updateAvailableSockets
6
generateSchema
6
output
5
loadWithArgv
3
loadScriptFile
3
fatalError
2
generateSchemaChange
2
makeSQLComment
2