Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
isPresent0%
checkSqlSyntax0%
__construct0%
execute0%
init0%
progress0%
runTable0%
hexChar0%
__construct0%
canExecuteWithoutLocalSettings0%
execute0%
execute0%
getNewCatsIterator0%
getMovedCatsIterator0%
getDeletedCatsIterator0%
getRestoredCatsIterator0%
getMwInstallPath0%
normalizeAddress0%
__construct0%
processRow0%
killRow0%
filePath0%
imageExists0%
pageExists0%
pokeFile0%
appendTitle0%
buildSafeTitle0%
fileExists0%
__construct0%
execute0%
processOptions0%
getCategoryIterator0%
getCategoryLinksIterator0%
verboseLog0%
expireTemporaryAccount0%
getCurrentFile0%
getMwInstallPath0%
__construct0%
execute0%
checkFiles0%
__construct0%
getUpdateKey0%
doDBUpdates0%
reportException0%
finalSetup0%
loadPlugin0%
loadFile0%
__construct0%
start0%
allSuccessful0%
getChildNumber0%
prepareEnvironment0%
forkWorkers0%
initChild0%
handleTermSignal0%
canExecuteWithoutLocalSettings0%
getStdin0%
isQuiet0%
runChild0%
setup0%
memoryLimit0%
clearParamsAndArgs0%
loadParamsAndArgs0%
validateParamsAndArgs0%
finalSetup0%
afterFinalSetup0%
getDB0%
setDB0%
getReplicaDB0%
setLBFactory0%
beginTransaction0%
commitTransaction0%
rollbackTransaction0%
waitForReplication0%
newBatchIterator0%
posix_isatty0%
readconsole0%
readlineEmulation0%
getTermSize0%
requireTestsAutoloader0%
getHookContainer0%
getHookRunner0%
prompt0%
promptYesNo0%
getFieldReference0%
setOption0%
setArg0%
getName0%
setUsagePrefix0%
getConfig0%
showHelpAndExit0%
initFromWrapper0%
initForClass0%
initInternal0%
getExtensionInfo0%
getMwInstallPath0%
setup0%
getName0%
adjustMemoryLimit0%
defineSettings0%
emulateConfig0%
overrideConfig0%
getServiceContainer0%
run0%
fatalError0%
error0%
shouldExecute0%
cleanup0%
shutdown0%
generateSchema0%
cleanupSqlArray0%
canExecuteWithoutLocalSettings0%
finalSetup0%
execute0%
setTimeExceeded0%
getTextSpawned0%
openSpawn0%
closeSpawn0%
getTextSpawnedOnce0%
canExecuteWithoutLocalSettings0%
finalSetup0%
generateStrongPassword0%
setDbPassOption0%
setPassOption0%
validateParamsAndArgs0%
repushAbandoned0%
__construct0%
getUpdateKey0%
doDBUpdates0%
handleBatch0%
__construct0%
getUpdateKey0%
doDBUpdates0%
handleBatch0%
getRepo0%
__construct0%
getUpdateKey0%
doDBUpdates0%
handlePageBatch0%
updateProgress0%
__construct0%
getUpdateKey0%
doDBUpdates0%
__construct0%
execute0%
runMysql0%
__construct0%
execute0%
doRefreshLinks0%
fixLinksFromArticle0%
deleteLinksFromNonexistent0%
dfnCheckInterval0%
intervalCond0%
refreshTrackingCategory0%
refreshCategory0%
getPossibleCategories0%
clearSignupThrottle0%
finalSetup0%
memoryLimit0%
debugInternal0%
setup0%
afterFinalSetup0%
validateParamsAndArgs0%
__construct0%
init0%
execute0%
updateBatch0%
copyBatch0%
updateSortKeySizeHistogram0%
showSortKeySizeHistogram0%
runNormalizationMigration0%
__construct0%
execute0%
updateRequiredMwVersion0%
updateTo20%
execute5%
showReport8%
execute17%
normalizeAddresses19%
execute24%
getBackupDatabase25%
createChild25%
formatSize28%
finalOptionCheck28%
sqlDoQuery28%
queryBuilderToUserIdentities33%
error33%
exportTransform33%
execute38%
execute41%
validatePasswordOption42%
autoReconfigure42%
getScriptClass42%
processOptions47%
loadSpecialVars50%
isAbsolutePath50%
execute50%
execute50%
endElement51%
readDump52%
clearLoginThrottle54%
loadWithArgv55%
maybeHelp57%
getLBFactory57%
Wikitext57%
sqlPrintResult57%
renameUser58%
getDbType66%
parse66%
execute69%
execute69%
findScriptClass70%
purgeRedundantText72%
processOptions72%
execute72%
fixRedirect73%
getText74%
fatalError75%
generateSchemaChange75%
normalizePath75%
checkIfTimeExceeded75%
initParser75%
execute75%
moveIllegalPage76%
render78%
deleteOrphanBlockTarget80%
deleteTargetlessBlock80%
execute80%
isValidTextId80%
dump80%
execute81%
isHardDeprecated81%
dump81%
execute82%
execute82%
fixTargetCount82%
getCategoriesUpdate83%
getFoundNodes83%
showReport83%
execute84%
mergeGroup84%
execute84%
preloadScriptFile84%
validateSettings85%
runBatch85%
addArg86%
characterData86%
execute86%
execute88%
processRow89%
execute89%
moveInconsistentPage89%

Project Risks

Method CRAP
execute347
handleBatch272
execute262
execute240
start210
execute194
checkFiles182
getTextSpawnedOnce182
execute182
execute182
pokeFile156
finalSetup156
runMysql132
execute113
checkSqlSyntax110
showSortKeySizeHistogram110
doRefreshLinks90
updateTo290
processOptions72
execute72
defineSettings72
overrideConfig72
run72
updateBatch72
runNormalizationMigration72
runTable56
execute56
doDBUpdates56
handlePageBatch56
doDBUpdates56
getText44
showReport44
processRow42
loadParamsAndArgs42
readconsole42
readlineEmulation42
getTermSize42
shouldExecute42
shutdown42
repushAbandoned42
validateParamsAndArgs42
execute42
normalizeAddresses41
finalOptionCheck38
execute30
doDBUpdates30
newBatchIterator30
promptYesNo30
initFromWrapper30
setup30
adjustMemoryLimit30
cleanupSqlArray30
closeSpawn30
setPassOption30
doDBUpdates30
doDBUpdates30
handleBatch30
dfnCheckInterval30
intervalCond30
copyBatch30
updateRequiredMwVersion30
execute27
error26
processOptions24
processOptions23
execute22
createChild21
moveIllegalPage20
execute20
normalizeAddress20
killRow20
__construct20
forkWorkers20
prompt20
openSpawn20
setDbPassOption20
deleteLinksFromNonexistent20
execute18
execute18
readDump17
moveInconsistentPage16
execute16
endElement15
execute13
dump13
buildSafeTitle12
getStdin12
setArg12
initInternal12
getExtensionInfo12
updateProgress12
refreshTrackingCategory12
clearSignupThrottle12
memoryLimit12
init12
updateSortKeySizeHistogram12
execute11
findScriptClass11
execute10
sqlPrintResult10
renameUser10
characterData10
formatSize9
validatePasswordOption9
purgeRedundantText9
isHardDeprecated8
preloadScriptFile8
loadSpecialVars8
isAbsolutePath8
processRow8
clearLoginThrottle7
execute7
validateSettings7
execute7
getScriptClass6
maybeHelp6
sqlDoQuery6
execute6
mergeGroup6
execute6
addArg6
execute6
progress6
__construct6
filePath6
imageExists6
fileExists6
__construct6
verboseLog6
loadPlugin6
loadFile6
allSuccessful6
getDB6
posix_isatty6
getHookContainer6
getHookRunner6
getConfig6
showHelpAndExit6
error6
cleanup6
generateSchema6
getTextSpawned6
generateStrongPassword6
validateParamsAndArgs6
fixLinksFromArticle6
getPossibleCategories6
execute5
Wikitext5
execute5
autoReconfigure4
fixRedirect4
deleteOrphanBlockTarget4
deleteTargetlessBlock4
execute4
fixTargetCount4
showReport4
loadWithArgv3
getLBFactory3
getBackupDatabase3
parse3
queryBuilderToUserIdentities3
exportTransform3
fatalError3
normalizePath3
checkIfTimeExceeded3
isValidTextId3
dump3
getCategoriesUpdate3
runBatch3
execute3
getDbType2
generateSchemaChange2
initParser2
render2
getFoundNodes2