Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\PageTriage\QueueRecord0%
MediaWiki\Extension\PageTriage\PageTriageServices0%
MediaWiki\Extension\PageTriage\PageTriageExternalTagsOptions0%
MediaWiki\Extension\PageTriage\OresMetadata0%
MediaWiki\Extension\PageTriage\Notifications\PageTriagePresentationModel0%
MediaWiki\Extension\PageTriage\Notifications\PageTriageMarkAsReviewedPresentationModel0%
MediaWiki\Extension\PageTriage\Notifications\PageTriageAddMaintenanceTagPresentationModel0%
MediaWiki\Extension\PageTriage\Notifications\PageTriageAddDeletionTagPresentationModel0%
MediaWiki\Extension\PageTriage\HookHandlers\Schema0%
MediaWiki\Extension\PageTriage\CompileArticleMetadataJob0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileUserData0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileRecreated0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileProcessor0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileLinkCount0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileDeletionTag0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileCategoryCount0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileBasicData0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileAfcTag0%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompile0%
MediaWiki\Extension\PageTriage\Api\ApiPageTriageTagging0%
MediaWiki\Extension\PageTriage\PageTriageLogFormatter0%
MediaWiki\Extension\PageTriage\Hooks19%
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileSnippet30%
MediaWiki\Extension\PageTriage\Api\ApiPageTriageAction38%
MediaWiki\Extension\PageTriage\PageTriage53%
MediaWiki\Extension\PageTriage\PageTriageUtil60%
MediaWiki\Extension\PageTriage\Api\ApiIsReviewed77%
MediaWiki\Extension\PageTriage\ArticleMetadata85%
MediaWiki\Extension\PageTriage\Api\ApiPageTriageList89%

Project Risks

Class CRAP
MediaWiki\Extension\PageTriage\Hooks5512
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileProcessor2970
MediaWiki\Extension\PageTriage\PageTriageUtil420
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompile380
MediaWiki\Extension\PageTriage\Api\ApiPageTriageTagging342
MediaWiki\Extension\PageTriage\Api\ApiPageTriageAction335
MediaWiki\Extension\PageTriage\OresMetadata240
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileAfcTag132
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileSnippet128
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileUserData110
MediaWiki\Extension\PageTriage\PageTriage98
MediaWiki\Extension\PageTriage\Api\ApiPageTriageList93
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileDeletionTag90
MediaWiki\Extension\PageTriage\Notifications\PageTriagePresentationModel72
MediaWiki\Extension\PageTriage\CompileArticleMetadataJob56
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileBasicData56
MediaWiki\Extension\PageTriage\Notifications\PageTriageAddMaintenanceTagPresentationModel56
MediaWiki\Extension\PageTriage\Notifications\PageTriageAddDeletionTagPresentationModel42
MediaWiki\Extension\PageTriage\ArticleMetadata40
MediaWiki\Extension\PageTriage\HookHandlers\Schema20
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileCategoryCount12
MediaWiki\Extension\PageTriage\Api\ApiIsReviewed6
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileLinkCount6
MediaWiki\Extension\PageTriage\ArticleCompile\ArticleCompileRecreated6
MediaWiki\Extension\PageTriage\PageTriageLogFormatter6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
getExamplesMessages0%
getIconType0%
fetchScores0%
classToMessage0%
getDraftQualityClass0%
getArticleQualityClass0%
getMetadata0%
newFromGlobalState0%
__construct0%
getBodyMessage0%
getTagsForOutput0%
getTags0%
getPrimaryLink0%
canRender0%
getHeaderMessage0%
getSecondaryLinks0%
getThankLink0%
setTriageStatus0%
getHeaderMessage0%
getSecondaryLinks0%
getIconType0%
getDiscussionLink0%
getHeaderMessage0%
getSecondaryLinks0%
getIconType0%
onApiMain__moduleManager0%
onChangeTagsListActive0%
onChangeTagsAllowedAdd0%
onListDefinedTags0%
onORESCheckModels0%
onLocalUserCreated0%
locateUsersForNotification0%
getORESScores0%
getPages0%
toolbarContentLanguageMessages0%
userStatusKey0%
jsonSerialize0%
getReviewedUpdatedTimestamp0%
getTagsUpdatedTimestamp0%
getCreatedTimestamp0%
isNominatedForDeletion0%
getReviewedStatus0%
getPageId0%
getLastReviewedByUserId0%
__construct0%
isCopyvioQuery0%
getCopyvioApiParam0%
oresIsAvailable0%
getOresApiParams0%
pageStatusForUser0%
getReviewedPageStat0%
getDependencies0%
getQueueLookup0%
requiresES60%
getMessages0%
getMessageParameters0%
__construct0%
wrap0%
getQueueManager0%
isPageUnreviewed0%
getReviewedRedirectStat0%
validatePageNamespace0%
getUnreviewedArticleStat0%
getUnreviewedRedirectStat0%
getUnreviewedPageStat0%
getArticleFilterStat0%
getReviewedArticleStat0%
toolbarConfig0%
onBeforeCreateEchoEvent0%
onResourceLoaderGetConfigVars0%
getContentByPageId0%
onUnblockUserComplete0%
registerLinksUpdate0%
newFromPageId0%
__construct0%
getSafeComponentDbConfigForCompilation0%
compile0%
compile0%
getDeletionTags0%
compile0%
compile0%
loadPreviousAfcStates0%
compile0%
getAfcCategories0%
getParserOutputByPageId0%
getWikiPageByPageId0%
configComponentDb0%
fillInZeroCount0%
processEstimatedCount0%
getMetadata0%
__construct0%
getTitleByPageId0%
isWriteMode0%
mustBePosted0%
getAllowedParams0%
needsToken0%
execute0%
getExamplesMessages0%
logAction0%
enqueue0%
markAsReviewed0%
registerComponent0%
getGroupName0%
getLastEditTimestamp0%
getDeduplicationInfo0%
shouldNoIndexForMagicWordReasons0%
isNewEnoughToNoIndex0%
flushUserStatusCache0%
onLinksUpdateComplete0%
onArticleViewFooter0%
maybeShowUnpatrolLink0%
__construct0%
doOnSchemaUpdatesPopulatePageTriageTags0%
onLoadExtensionSchemaUpdates0%
run0%
ignoreDuplicates0%
__construct0%
shouldShowNoIndex0%
isValidMetadata0%
onMarkPatrolledComplete0%
compile0%
generateArticleSnippet0%
compile0%
compile0%
save0%
process0%
prepare0%
compileMetadata0%
shouldNoIndexForNewArticleReasons0%
execute38%
onPageMoveComplete65%
onPageUndeleteComplete66%
truncateLongText66%
__construct66%
getMetadata68%
canPerformReviewAction68%
onPageSaveComplete80%
execute84%
buildCopyvioCond85%
getPageIds86%
createNotificationEvent86%
addToPageTriageQueue87%
update88%

Project Risks

Method CRAP
pageStatusForUser272
onArticleViewFooter210
setTriageStatus210
save156
execute156
process110
compile110
compile72
compileMetadata72
getPageIds58
compile56
markAsReviewed56
compile56
compile42
onMarkPatrolledComplete42
enqueue42
onBeforeCreateEchoEvent30
prepare30
isNewEnoughToNoIndex30
onORESCheckModels30
getContentByPageId30
getLastEditTimestamp30
shouldNoIndexForNewArticleReasons20
generateArticleSnippet20
shouldShowNoIndex20
isValidMetadata20
locateUsersForNotification20
configComponentDb20
maybeShowUnpatrolLink20
run20
getArticleQualityClass20
fetchScores20
execute18
execute15
getThankLink12
getUnreviewedPageStat12
getArticleFilterStat12
getReviewedPageStat12
onLinksUpdateComplete12
oresIsAvailable12
fillInZeroCount12
loadPreviousAfcStates12
getWikiPageByPageId12
compile12
newFromPageId12
getParserOutputByPageId12
canPerformReviewAction11
getMetadata8
addToPageTriageQueue6
onPageMoveComplete6
getPrimaryLink6
getTagsForOutput6
getBodyMessage6
onLoadExtensionSchemaUpdates6
classToMessage6
getMessageParameters6
isPageUnreviewed6
validatePageNamespace6
__construct6
getTitleByPageId6
logAction6
processEstimatedCount6
getDiscussionLink6
getSecondaryLinks6
__construct6
flushUserStatusCache6
compile6
registerComponent6
getSecondaryLinks6
registerLinksUpdate6
toolbarContentLanguageMessages6
toolbarConfig6
compile6
onLocalUserCreated6
onApiMain__moduleManager6
doOnSchemaUpdatesPopulatePageTriageTags6
buildCopyvioCond4
createNotificationEvent4
onPageUndeleteComplete3
onPageSaveComplete3
__construct2
truncateLongText2
update2