Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
newFromID0%
getRedirectedFrom0%
setRedirectedFrom0%
clear0%
showDiffPage0%
isDiffOnlyView0%
purgePatrolFooterCache0%
getRedirectHeaderHtml0%
addHelpLink0%
render0%
protect0%
unprotect0%
tryFileCache0%
isFileCacheable0%
getParserOutput0%
getActionOverrides0%
setUseLegacyPostprocCache0%
__construct0%
newPage0%
view0%
openShowCategory0%
closeShowCategory0%
__construct0%
run0%
getLegacyHookErrors0%
keepLegacyHookErrorsSeparate0%
setDeleteAssociatedTalk0%
isBatchedDelete0%
__construct0%
run0%
__construct0%
getReason0%
getLatestRevisionAfter0%
getPageRecordAfter0%
getPageRecordBefore0%
__construct0%
getPageRecordBefore0%
getPageRecordAfter0%
getDeletedPage0%
getPage0%
getLatestRevisionBefore0%
getReason0%
getArchivedRevisionCount0%
isSuppressed0%
wasRedirect0%
getRedirectTargetBefore0%
__construct0%
getPageId0%
getPerformer0%
hasFlag0%
getCause0%
hasCause0%
getTags0%
hasTag0%
__construct0%
getBitsSet0%
getBitsUnset0%
isSuppressed0%
getPage0%
getReason0%
getAffectedRevisionIDs0%
wasCurrentRevisionAffected0%
getCurrentRevisionId0%
getCurrentRevisionVisibilityBefore0%
getCurrentRevisionVisibilityAfter0%
getVisibilityBefore0%
getVisibilityAfter0%
__construct0%
getPageRecordAfter0%
getPage0%
isCreation0%
changedLatestRevisionId0%
isNominalContentChange0%
isEffectiveContentChange0%
getAuthor0%
getSlotsUpdate0%
isModifiedSlot0%
getEditResult0%
getLatestRevisionBefore0%
getLatestRevisionAfter0%
getPatrolStatus0%
isSilent0%
isImplicit0%
isRevert0%
isBotUpdate0%
__construct0%
getPageRecordBefore0%
getPageRecordAfter0%
getReason0%
getRedirectPage0%
wasRedirectCreated0%
__construct0%
haveSameKeys0%
getExpiryAfter0%
isCascadingAfter0%
getPage0%
getReason0%
getRestrictionMapBefore0%
getRestrictionMapAfter0%
__construct0%
getPageRecordBefore0%
getPageRecordAfter0%
doDelete0%
isValidOldSpec0%
__construct0%
getImagePage0%
getFile0%
beginImageHistoryList0%
endImageHistoryList0%
imageHistoryLine0%
getThumbForLine0%
preventClickjacking0%
setPreventClickjacking0%
getPreventClickjacking0%
__construct0%
getTitle0%
getQueryInfo0%
getIndexField0%
formatRow0%
getBody0%
doQuery0%
wrapWithActionButtons0%
preventClickjacking0%
setPreventClickjacking0%
getPreventClickjacking0%
newPage0%
setFile0%
loadFile0%
view0%
getDisplayedFile0%
showTOC0%
makeMetadataTable0%
openShowImage0%
getThumbPrevText0%
makeSizeLink0%
printSharedImageText0%
getUploadUrl0%
uploadLinksBox0%
closeShowImage0%
imageHistory0%
queryImageLinks0%
imageLinks0%
imageDupes0%
showError0%
compare0%
doRenderLangOpt0%
createXmlOptionStringForLanguage0%
getFile0%
isLocal0%
getDuplicates0%
getForeignCategories0%
setArray0%
executeBatch0%
__construct0%
toProperPageIdentity0%
getRevisionCount0%
authorizeInternal0%
hasOverlappingTimestamps0%
wouldClobberDestLatest0%
wouldClobberSourceLatest0%
updateSourcePage0%
getTimestampLimit0%
getTimeWhere0%
setMaximumMovedPages0%
constructNoSubpagesStatus0%
__construct0%
listFiles0%
__construct0%
ensureCacheSize0%
__construct0%
fetchPageIds0%
__construct0%
incrementLinkCacheHitOrMiss0%
getPageByNameViaLinkCache0%
loadPageFromConditions0%
__construct0%
loadData0%
getExpiry0%
execute0%
show0%
save0%
buildForm0%
getOptionLabel0%
showLogExtract0%
setUnsuppress0%
setTags0%
setUndeleteOnlyTimestamps0%
setUndeleteOnlyFileVersions0%
undeleteIfAllowed0%
authorizeUndeletion0%
getFileStatus0%
getRevisionStatus0%
hasViewableContent0%
doPurge0%
setFile0%
isLocal0%
getFile0%
getDuplicates0%
doPurge0%
getForeignCategories0%
getWikiDisplayName0%
getSourceURL0%
getActionOverrides0%
getActionOverrides0%
clear0%
clearPreparedEdit0%
pageDataFromId0%
checkTouched0%
getLinksTimestamp0%
setTimestamp0%
getUser0%
getCreator0%
getUserText0%
getComment0%
getMinorEdit0%
insertRedirectEntry0%
followRedirect0%
getRedirectURL0%
getContributors0%
shouldCheckParserCache0%
doViewUpdates0%
doPurge0%
hasDifferencesOutsideMainSlot0%
checkFlags0%
updateParserCache0%
doSecondaryDataUpdates0%
isBatchedDelete0%
getCategories0%
getHiddenCategories0%
triggerOpportunisticLinksUpdate0%
isLocal0%
getWikiDisplayName0%
getSourceURL0%
__wakeup0%
__toString0%
__construct0%
newFromTitle0%
newFromLinkTarget0%
newFromRow0%
newFromID0%
startOperationSpan23%
replaceSectionContent25%
purgeInterwikiCheckKey28%
showRedirectedFromHeader34%
queueBacklinksJobs36%
getOldIDFromRequest44%
prepareContentForEdit46%
deleteUnsafe47%
runPreDeleteHooks47%
getRedirectTarget47%
listPagesBySearch50%
moveUnsafe53%
getCacheKey54%
getRobotPolicy56%
constructSet57%
view57%
getMissingRevisionMsg60%
doDeleteUpdates60%
replaceSectionAtRev61%
getGoodLinkRow61%
moveIfAllowed63%
addObj64%
clearBadLink66%
loadFile66%
isNew66%
getLanguage66%
showPatrolFooter68%
getContentModel68%
showNamespaceHeader69%
moveSubpagesInternal71%
setDeletionAttempted71%
initTimestampLimits71%
onArticleDelete72%
moveSubpagesIfAllowed72%
isBigDeletion75%
setUndeleteAssociatedTalk75%
isRedirect75%
loadPageData75%
getAutoDeleteReason75%
showDeletedRevisionHeader78%
moveToInternal79%
doOutputFromRenderStatus80%
showViewFooter80%
insertNullProtectionRevision80%
fetchRevisionRecord80%
updateRedirectTarget80%
merge81%
undeleteUnsafe82%
undeleteRevisions83%
formatRobotPolicy83%
authorizeDeletion83%
wasLoadedFrom83%
getLanguageForRendering84%
isValidMoveTarget85%
updateRecentChange85%
addGoodLinkObjFromRow85%
createRedirectTarget85%
convertSelectType85%
loadLastEdit85%
addResultToCache86%
moveFile87%
generateContentOutput88%
usePersistentCache88%
getFallbackOutputForLatest88%
deleteInternal88%

Project Risks

Method CRAP
openShowImage1892
imageHistoryLine870
view462
doQuery342
imageLinks272
doDelete210
save210
buildForm210
getBody132
triggerOpportunisticLinksUpdate132
printSharedImageText90
executeBatch90
updateSourcePage72
loadData72
beginImageHistoryList56
show56
getRedirectURL56
showPatrolFooter50
view50
getOldIDFromRequest48
view42
closeShowCategory42
getPageByNameViaLinkCache42
getDuplicates42
generateContentOutput33
getRobotPolicy30
isFileCacheable30
getThumbForLine30
loadFile30
getThumbPrevText30
uploadLinksBox30
execute30
hasViewableContent30
shouldCheckParserCache30
newFromTitle30
getRedirectTarget28
replaceSectionContent27
undeleteRevisions25
getCacheKey25
queueBacklinksJobs24
undeleteUnsafe24
moveUnsafe23
runPreDeleteHooks21
showRedirectedFromHeader20
showDiffPage20
tryFileCache20
run20
makeMetadataTable20
imageDupes20
doRenderLangOpt20
wouldClobberDestLatest20
__construct20
getExpiry20
doPurge20
getActionOverrides20
checkFlags20
updateParserCache20
doSecondaryDataUpdates20
moveToInternal14
moveSubpagesInternal13
deleteInternal13
updateRecentChange12
initTimestampLimits12
addHelpLink12
getParserOutput12
setDeleteAssociatedTalk12
isBatchedDelete12
__construct12
__construct12
isValidOldSpec12
makeSizeLink12
authorizeInternal12
__construct12
getOptionLabel12
authorizeUndeletion12
getUser12
getUserText12
getComment12
doPurge12
getHiddenCategories12
newFromID12
deleteUnsafe11
loadPageData10
doDeleteUpdates9
replaceSectionAtRev9
isValidMoveTarget9
fetchRevisionRecord8
merge8
formatRobotPolicy8
usePersistentCache8
getGoodLinkRow7
doOutputFromRenderStatus7
addResultToCache7
startOperationSpan7
showNamespaceHeader7
showDeletedRevisionHeader6
updateRedirectTarget6
loadLastEdit6
getFallbackOutputForLatest6
newFromID6
run6
getVisibilityBefore6
getVisibilityAfter6
changedLatestRevisionId6
isNominalContentChange6
isEffectiveContentChange6
isRevert6
__construct6
wrapWithActionButtons6
showTOC6
imageHistory6
queryImageLinks6
compare6
createXmlOptionStringForLanguage6
toProperPageIdentity6
wouldClobberSourceLatest6
getTimestampLimit6
getTimeWhere6
listPagesBySearch6
listFiles6
ensureCacheSize6
undeleteIfAllowed6
doPurge6
getForeignCategories6
checkTouched6
getLinksTimestamp6
getCreator6
getMinorEdit6
getContributors6
doViewUpdates6
hasDifferencesOutsideMainSlot6
getCategories6
authorizeDeletion5
convertSelectType5
getMissingRevisionMsg5
moveIfAllowed4
addObj4
clearBadLink4
loadFile4
prepareContentForEdit4
insertNullProtectionRevision4
getLanguageForRendering4
addGoodLinkObjFromRow4
createRedirectTarget4
purgeInterwikiCheckKey3
getContentModel3
onArticleDelete3
isBigDeletion3
showViewFooter3
wasLoadedFrom3
constructSet2
isNew2
getLanguage2
setDeletionAttempted2
moveSubpagesIfAllowed2
setUndeleteAssociatedTalk2
isRedirect2
getAutoDeleteReason2
moveFile2