Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getOptionLabel0%
getPageByNameViaLinkCache0%
loadPageFromConditions0%
__construct0%
loadData0%
getExpiry0%
execute0%
show0%
save0%
buildForm0%
showLogExtract0%
__construct0%
__construct0%
setUnsuppress0%
setTags0%
setUndeleteOnlyTimestamps0%
setUndeleteOnlyFileVersions0%
setUndeleteAssociatedTalk0%
undeleteIfAllowed0%
authorizeUndeletion0%
runPreUndeleteHook0%
addLogEntry0%
incrementLinkCacheHitOrMiss0%
fetchPageIds0%
getRevisionStatus0%
getForeignCategories0%
imageLinks0%
imageDupes0%
showError0%
compare0%
doRenderLangOpt0%
createXmlOptionStringForLanguage0%
getFile0%
isLocal0%
getDuplicates0%
__construct0%
__construct0%
getRevisionCount0%
authorizeInternal0%
updateSourcePage0%
getMaxTimestamp0%
getTimestampLimit0%
newPage0%
setMaximumMovedPages0%
listFiles0%
__construct0%
ensureCacheSize0%
getFileStatus0%
hasViewableContent0%
imageHistory0%
getHiddenCategories0%
shouldCheckParserCache0%
doViewUpdates0%
doPurge0%
hasDifferencesOutsideMainSlot0%
checkFlags0%
updateParserCache0%
doSecondaryDataUpdates0%
isBatchedDelete0%
getCategories0%
triggerOpportunisticLinksUpdate0%
getRedirectURL0%
isLocal0%
getWikiDisplayName0%
getSourceURL0%
__wakeup0%
__toString0%
isSamePageAs0%
__construct0%
newFromTitle0%
newFromLinkTarget0%
newFromRow0%
getContributors0%
followRedirect0%
doPurge0%
getActionOverrides0%
setFile0%
isLocal0%
getFile0%
getDuplicates0%
doPurge0%
getForeignCategories0%
getWikiDisplayName0%
getSourceURL0%
getActionOverrides0%
clear0%
insertRedirectEntry0%
clearPreparedEdit0%
pageDataFromId0%
checkTouched0%
getLinksTimestamp0%
setTimestamp0%
getUser0%
getCreator0%
getUserText0%
getComment0%
getMinorEdit0%
queryImageLinks0%
getTimeWhere0%
closeShowImage0%
setContext0%
getRedirectHeaderHtml0%
addHelpLink0%
render0%
protect0%
unprotect0%
tryFileCache0%
isFileCacheable0%
getParserOutput0%
getParserOptions0%
getContext0%
showDeletedRevisionHeader0%
getActionOverrides0%
getMissingRevisionMsg0%
newPage0%
view0%
openShowCategory0%
closeShowCategory0%
getLegacyHookErrors0%
keepLegacyHookErrorsSeparate0%
uploadLinksBox0%
isBatchedDelete0%
setOldSubtitle0%
purgePatrolFooterCache0%
doDelete0%
isCurrent0%
newFromID0%
newFromTitle0%
newFromWikiPage0%
getRedirectedFrom0%
setRedirectedFrom0%
getTitle0%
clear0%
getOldIDFromRequest0%
fetchRevisionRecord0%
doOutputMetaData0%
showViewFooter0%
doOutputFromParserCache0%
doOutputFromRenderStatus0%
getRevisionRedirectTarget0%
adjustDisplayTitle0%
showDiffPage0%
isDiffOnlyView0%
getRobotPolicy0%
formatRobotPolicy0%
showRedirectedFromHeader0%
showNamespaceHeader0%
buildBadFilesList0%
setDeleteAssociatedTalk0%
isValidOldSpec0%
getPreventClickjacking0%
__construct0%
getTitle0%
getQueryInfo0%
getIndexField0%
formatRow0%
getBody0%
__construct0%
doQuery0%
wrapWithActionButtons0%
preventClickjacking0%
setPreventClickjacking0%
newPage0%
setPreventClickjacking0%
setFile0%
loadFile0%
view0%
getDisplayedFile0%
showTOC0%
makeMetadataTable0%
openShowImage0%
getThumbPrevText0%
makeSizeLink0%
printSharedImageText0%
getUploadUrl0%
getPreventClickjacking0%
newFromID0%
preventClickjacking0%
beginImageHistoryList0%
getImagePage0%
getThumbForLine0%
imageHistoryLine0%
endImageHistoryList0%
getFile0%
replaceSectionContent25%
purgeInterwikiCheckKey28%
queueBacklinksJobs36%
showMissingArticle42%
prepareContentForEdit46%
runPreDeleteHooks47%
deleteUnsafe47%
getRedirectTarget47%
moveUnsafe50%
assertDeletionAttempted50%
listPagesBySearch50%
view57%
replaceSectionAtRev61%
generateContentOutput61%
moveIfAllowed63%
initTimestampLimits66%
isNew66%
getLanguage66%
loadFile66%
getContentModel68%
doDeleteUpdates69%
onArticleDelete70%
undeleteRevisions70%
moveSubpagesInternal71%
setDeletionAttempted71%
showPatrolFooter72%
isRedirect75%
getRevIdFetched75%
getAutoDeleteReason75%
isBigDeletion75%
newPoolWorkArticleView75%
getCachedParserOutput78%
moveToInternal78%
deleteInternal79%
loadPageData80%
merge80%
updateRedirectTarget80%
undeleteUnsafe81%
authorizeInternal83%
wasLoadedFrom83%
authorizeDeletion83%
getLanguageForRendering84%
insertNullProtectionRevision84%
isValidMoveTarget85%
updateRecentChange85%
rollback85%
createRedirectTarget85%
loadLastEdit85%
convertSelectType85%
undeleteAsUser86%
moveFile87%
updateCategoryCounts87%
moveSubpagesIfAllowed88%

Project Risks

Method CRAP
openShowImage1722
imageHistoryLine870
view462
doQuery342
setOldSubtitle272
imageLinks272
doDelete210
buildForm210
getRobotPolicy210
save210
getOldIDFromRequest210
showMissingArticle187
getBody132
printSharedImageText90
updateSourcePage72
formatRobotPolicy72
buildBadFilesList72
fetchRevisionRecord72
loadData72
triggerOpportunisticLinksUpdate72
showRedirectedFromHeader56
getRedirectURL56
newFromTitle56
show56
beginImageHistoryList56
generateContentOutput49
view49
closeShowCategory42
getExpiry42
newFromTitle42
view42
getDuplicates42
showDeletedRevisionHeader42
doOutputFromRenderStatus42
getPageByNameViaLinkCache42
showPatrolFooter39
undeleteRevisions33
getThumbPrevText30
getThumbForLine30
isFileCacheable30
execute30
uploadLinksBox30
shouldCheckParserCache30
loadFile30
runPreUndeleteHook30
hasViewableContent30
getRedirectTarget28
replaceSectionContent27
undeleteUnsafe25
queueBacklinksJobs24
moveUnsafe22
runPreDeleteHooks21
imageDupes20
__construct20
doRenderLangOpt20
doPurge20
makeMetadataTable20
doOutputMetaData20
checkFlags20
updateParserCache20
doSecondaryDataUpdates20
isCurrent20
getMissingRevisionMsg20
getActionOverrides20
tryFileCache20
showDiffPage20
rollback19
getCachedParserOutput18
deleteInternal17
moveToInternal15
moveSubpagesInternal13
updateRecentChange12
updateCategoryCounts12
__construct12
getUser12
getOptionLabel12
authorizeUndeletion12
newFromID12
getUserText12
authorizeInternal12
isSamePageAs12
showNamespaceHeader12
showViewFooter12
addHelpLink12
getHiddenCategories12
setDeleteAssociatedTalk12
isBatchedDelete12
isValidOldSpec12
makeSizeLink12
doPurge12
getComment12
deleteUnsafe11
replaceSectionAtRev9
loadPageData9
isValidMoveTarget9
doDeleteUpdates8
undeleteAsUser8
initTimestampLimits7
authorizeInternal7
merge6
updateRedirectTarget6
loadLastEdit6
getCreator6
checkTouched6
getForeignCategories6
getCategories6
getLinksTimestamp6
getContributors6
getMinorEdit6
doViewUpdates6
hasDifferencesOutsideMainSlot6
newFromID6
compare6
listPagesBySearch6
doOutputFromParserCache6
getParserOutput6
getContext6
__construct6
wrapWithActionButtons6
showTOC6
imageHistory6
createXmlOptionStringForLanguage6
getRevisionRedirectTarget6
getTimestampLimit6
getTimeWhere6
getMaxTimestamp6
listFiles6
setUndeleteAssociatedTalk6
doPurge6
undeleteIfAllowed6
adjustDisplayTitle6
ensureCacheSize6
newPoolWorkArticleView5
authorizeDeletion5
insertNullProtectionRevision5
convertSelectType5
moveIfAllowed4
loadFile4
onArticleDelete4
prepareContentForEdit4
getLanguageForRendering4
createRedirectTarget4
purgeInterwikiCheckKey3
getContentModel3
getRevIdFetched3
isBigDeletion3
wasLoadedFrom3
assertDeletionAttempted2
getLanguage2
isNew2
setDeletionAttempted2
isRedirect2
getAutoDeleteReason2
moveFile2
moveSubpagesIfAllowed2