Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
injectStyleForSpecial0%
onChangesListSpecialPageStructuredFilters0%
onSpecialNewPagesFilters0%
onSkinAfterContent0%
onCategoryPageView0%
onPageHistoryBeforeList0%
onEditPageNoSuchSection0%
onEditPageBeforeEditButtons0%
onTitleGetEditNotices0%
onInitializeArticleMaybeRedirect0%
onArticleViewHeader0%
onSkinTemplateNavigation__Universal0%
onGetPreferences0%
onBeforePageDisplay0%
onMakeGlobalVariablesScript0%
onContribsPager__getQueryInfo0%
injectStyleAndJS0%
stabilitySettings0%
getActionLinks0%
getMessageParameters0%
getMessageKey0%
getActionLinks0%
getMessageKey0%
__construct0%
addReviewCheck0%
editWillBeAutoreviewed0%
editWillRequireReview0%
changeSaveButton0%
injectPostEditURLParams0%
isDiffToStable0%
onPageHistoryPager__getQueryInfo0%
onSpecialNewpagesConditions0%
getDiffRevMsgAndClass0%
onProtectionForm__save0%
pendingEditNoticeMessage0%
pendingEditNotice0%
lockStatusIcon0%
stableStatusIcon0%
draftStatusIcon0%
diffToggle0%
ratingArrow0%
prettyRatingBox0%
addTagRatings0%
getRestrictionFilterMenu0%
getDefaultFilterMenu0%
getNamespaceMenu0%
onSpecialPage_initList0%
onProtectionForm__showLogExtract0%
onChangesListSpecialPageQuery0%
onProtectionFormAddFormFields0%
maybeAddBacklogNotice0%
onEditPageGetCheckboxesDefinition0%
onDifferenceEngineViewHeader0%
onNewDifferenceEngine0%
onArticleUpdateBeforeRedirect0%
onChangesListInsertArticleLink0%
onContributionsLineEnding0%
markHistoryRow0%
onPageHistoryLineEnding0%
hideReviewedChangesUnconditionally0%
hideReviewedChangesIfNeeded0%
addMetadataQueryJoins0%
makeAllQueryChanges0%
setViewFlags0%
diffReviewMarkers0%
__construct0%
isAllowed0%
globalArticleInstance0%
clear0%
__clone0%
__construct0%
singleton0%
newFromTitle0%
getInstanceCache0%
updateRecentChanges0%
validationKey0%
unapproveRevision0%
approveRevision0%
doSubmit0%
getAction0%
doCheckParameters0%
showingStable0%
doCheckTarget0%
doBuildOnReady0%
doCheckTargetGiven0%
bypassValidationKey0%
setSessionKey0%
getTags0%
setTag0%
setDim0%
setComment0%
getComment0%
setValidatedParams0%
setTemplateParams0%
setOldId0%
getOldId0%
diffRevRecordsAreSet0%
useSimpleUI0%
diffToStableLink0%
getEditNotices0%
diffLinkAndMarkers0%
buildDiffHeaderItems0%
addToDiffView0%
setPendingNotice0%
getOldIDFromRequest0%
pageWriteOpRequested0%
addDraftTab0%
setViewTabs0%
setActionTabs0%
addStabilizationLink0%
addReviewForm0%
addToCategoryView0%
addToNoSuchSection0%
stabilityLogNotice0%
addToHistView0%
getPageViewStabilityModeForUser0%
getTopDiffToggle0%
showRatingIcon0%
enableOOUI0%
showStableVersion0%
showOldReviewedVersion0%
makeParserOptions0%
showDraftVersion0%
setRobotPolicy0%
isOnMobile0%
setPageContent0%
addStableLink0%
displayTag0%
isPageView0%
isPageViewOrDiff0%
stabilityLogExcerpt0%
getHtml0%
getRefId0%
formatRow0%
getMeanReviewWaitAnon0%
getStats0%
getReviewerCount0%
getEditorCount0%
readyForQuery0%
execute0%
__construct0%
getEndBody0%
getStartBody0%
doBatchLookups0%
getIndexField0%
getQueryCacheInfo0%
getQueryInfo0%
setLimit0%
getMeanPendingWait0%
__construct0%
getGroupName0%
updateQueryCache0%
getLineClass0%
formatRow0%
showPageList0%
showForm0%
execute0%
__construct0%
getEndBody0%
getStartBody0%
doBatchLookups0%
getIndexField0%
getQueryInfo0%
getMedianReviewWaitAnon0%
getTotalPages0%
__construct0%
execute0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
autoReviewCurrent0%
execute0%
__construct0%
purgeReviewablePages0%
listReviewablePages0%
__construct0%
getReviewedPages0%
lastPosFile0%
populateFRRevTimestamp0%
execute0%
__construct0%
flagToSemiProtect0%
execute0%
__construct0%
needsWriteAccess0%
needsWriteAccess0%
getGroupName0%
getTopReviewers0%
getLastUpdate0%
getReviewPercentilesAnon0%
getSyncedPages0%
formatRow0%
getGroupName0%
__construct0%
deapprovalSuccessHTML0%
showPageList0%
showForm0%
execute0%
__construct0%
disabledAttr0%
getOptionLabel0%
buildSelector0%
showForm0%
execute0%
doesWrites0%
__construct0%
doReview0%
getSpecialLinks0%
approvalSuccessHTML0%
getGroupName0%
execute0%
doesWrites0%
__construct0%
submitButtons0%
getRatingFormLevels0%
getTagValueMsg0%
getTagMsg0%
ratingInputs0%
rejectRefRevId0%
getHtml0%
setIncludeVersions0%
setBottomNotice0%
setTopNotice0%
setDiffPriorRevRecord0%
formatRow0%
__construct0%
formatRow0%
getLineClass0%
showPageList0%
showForm0%
execute0%
__construct0%
getEndBody0%
getStartBody0%
doBatchLookups0%
getIndexField0%
getQueryInfo0%
getDefaultQuery0%
formatRow0%
setLimit0%
__construct0%
getGroupName0%
formatRow0%
formatRow0%
feedItem0%
feedTitle0%
feed0%
parseParams0%
showPageList0%
showForm0%
setSyndicated0%
execute0%
__construct0%
getEndBody0%
getStartBody0%
doBatchLookups0%
getIndexField0%
getQueryInfo0%
setRefId0%
getNewLastChangeTime0%
doSetup0%
configIsReset0%
isStableShownByDefault0%
clear0%
incCount0%
mergeUserParams0%
deleteUserParams0%
getParams0%
numUsersWatchingPage0%
doUpdate0%
__construct0%
purgeExpiredConfigurations0%
isValidRestriction0%
getProtectionLevel0%
setStabilitySettings0%
isDataLoaded0%
getDefaultVisibilitySettings0%
getVisibilitySettingsFromRow0%
getStabilitySettings0%
stabilizeParserOutput0%
__clone0%
doUpdateSyncState0%
doUpdateLinks0%
doBacklinkPurge0%
run0%
__construct0%
invalidateIDs0%
getToCondition0%
insertJobs0%
editsRequireReview0%
revsArePending0%
__construct0%
getStableRevId0%
userCanSetValue0%
maxAutoReviewLevel0%
getDefaultTag0%
setLastChangeTime0%
approveRevertedTagUpdate0%
findPendingTemplateChanges0%
getStableTemplateVersions0%
userCanSetTag0%
getPage0%
getQueryInfo0%
delete0%
insert0%
determineStable0%
newFromStable0%
getPendingRevCount0%
newFromTitle0%
newFromRow0%
updatePendingList0%
updateStableVersion0%
lazyUpdateSyncStatus0%
getBestFlaggedRevId0%
syncedInTracking0%
getStable0%
lowProfileUI0%
isPageUnlocked0%
isPageLocked0%
onlyTemplatesPending0%
stableVersionIsSynced0%
doUpdate0%
getCurrentVersionCategories0%
userCanSetAutoreviewLevel0%
needsToken0%
getExamplesMessages0%
getExamplesMessages0%
getExtendedDescription0%
getSummaryMessage0%
getAllowedParams0%
doExecute0%
getExamplesMessages0%
getExtendedDescription0%
getSummaryMessage0%
getAllowedParams0%
defaultFromKey0%
doExecute0%
isWriteMode0%
execute0%
execute0%
getExamplesMessages0%
needsToken0%
getAllowedParams0%
isWriteMode0%
execute0%
onAPIQueryAfterExecute0%
onAPIGetAllowedParams0%
setConditionalPreferences0%
setConditionalRights0%
setAPIModules0%
setSpecialPageCacheUpdates0%
setAutopromoteConfig0%
__construct0%
executeGenerator0%
getCurrentVersionTemplates0%
execute0%
getCurrentVersionLinks0%
addDependency0%
makeWhereFrom2d0%
getDepDeletions0%
getDepInsertions0%
getExistingDeps0%
doUpdate0%
__construct0%
getExamplesMessages0%
getAllowedParams0%
getCacheMode0%
run0%
executeGenerator0%
__construct0%
run0%
getExamplesMessages0%
getAllowedParams0%
getCacheMode0%
run0%
executeGenerator0%
execute0%
__construct0%
getExamplesMessages0%
getCacheMode0%
execute0%
getExamplesMessages0%
getAllowedParams0%
getCacheMode0%
userCanSetTag0%
revIsFlagged0%
getParserCacheInstance0%
ready0%
setWatchThis0%
setTitle0%
getTitle0%
doSubmit0%
submit0%
doPreloadParameters0%
preload0%
doCheckParameters0%
checkParameters0%
checkTarget0%
doCheckTarget0%
doCheckTargetGiven0%
trySet0%
doBuildOnReady0%
getState0%
setReasonExtra0%
getPerNamespaceTotals0%
get0%
getDirty0%
save0%
makeKey0%
getStats0%
updateCache0%
dbUnixTime0%
getUser0%
getMeanPendingEditTime0%
getEditReviewTimes0%
onScribuntoExternalLibraries0%
onLoadExtensionSchemaUpdates0%
__construct0%
initialize0%
getReasonExtra0%
getReasonSelection0%
expandParams0%
getOldConfig0%
setAction0%
setTitle0%
getTitle0%
initialize0%
reallyDoCheckParameters0%
reallyDoPreloadParameters0%
reallyDoCheckParameters0%
reallyDoPreloadParameters0%
setOverride0%
getOverride0%
setReviewThis0%
getReviewThis0%
updateWatchlist0%
getNewConfig0%
updateLogsAndHistory0%
setReasonSelection0%
getExpiry0%
getExpiryCustom0%
setExpiryCustom0%
getExpirySelection0%
setExpirySelection0%
getAutoreview0%
setAutoreview0%
getReason0%
doSubmit0%
doCheckTargetGiven0%
doCheckTarget0%
doCheckParameters0%
reallyDoCheckParameters0%
isAllowed0%
doPreloadParameters0%
__construct0%
stabilityLogParams0%
updateFlaggedPages0%
onRevisionUndeleted0%
maybeMakeEditReviewed0%
onGetUserPermissionsErrors0%
updateStabilityLogOnMove0%
onMagicWordwgVariableIDs0%
onParserGetVariableValueSwitch0%
onParserFirstCallInit0%
onArticleRevisionVisibilitySet0%
onArticleUndelete0%
onArticleDeleteComplete0%
onRevisionDataUpdates0%
onPageMoveComplete0%
onArticleMergeComplete0%
onMediaWikiServices0%
isSelfRevertToStable0%
onRegistration0%
onContribsPager__getQueryInfo0%
onSpecialContributions__getForm__filters0%
autoReviewEdit0%
getAutoReviewTags0%
markRevisionPatrolled0%
extraHTMLCacheUpdate0%
updateHtmlCaches0%
purgeMediaWikiHtmlCdn0%
clearStableOnlyDeps0%
clearTrackingRows0%
stableVersionUpdates0%
parseStableRevision0%
editCheckReview0%
parserPendingChangeLevel0%
maybeNullEditReview0%
onRecentChange_save0%
updateStabilityLog0%
updateReviewLog0%
onBeforeRevertedTagUpdate0%
onDeleteAccount0%
onMergeAccountFromTo0%
onUserMergeAccountFields0%
onEchoGetDefaultNotifiedUsers0%
gnsmQueryModifier0%
onWikiExporter__dumpStableQuery0%
onUserLoadAfterLoadFromSession0%
onAutopromoteCondition0%
onPageSaveComplete0%
onRevisionFromEditComplete0%
onUserGetRights0%
recentContentEditCount0%
recentEditCount0%
maybeIncrementReverts0%
getQueryData0%
wasPreviouslyBlocked0%
editSpacingCheck0%
reviewedEditsCheck0%
getReviewNamespaces37%
isReviewable50%
getRevText50%
getStabilitySettings66%
getInstanceCache66%
preloadPreparedEdit66%
getRestrictionLevels66%
__construct72%
getStableRev75%
pageData77%
getReviewedTemplateVersion80%
getStabilitySettings80%
updateUserParams80%
loadPageData80%
fetchParamsRow83%
parseStableRevisionPooled83%
flattenParams88%

Project Risks

Method CRAP
doSubmit1640
maybeMakeEditReviewed1122
onAutopromoteCondition992
execute812
setPageContent756
getHtml650
showDraftVersion600
doReview552
showStableVersion506
onGetUserPermissionsErrors420
execute420
execute380
maybeNullEditReview306
flagToSemiProtect272
parseStableRevision272
onChangesListSpecialPageStructuredFilters272
addToDiffView272
doCheckParameters240
getStats240
getHtml240
getEditNotices240
onPageHistoryLineEnding210
editSpacingCheck210
run210
addDraftTab182
addReviewForm182
onProtectionFormAddFormFields182
getEditReviewTimes182
autoReviewEdit182
updateFlaggedPages182
doUpdate182
showForm182
onAPIQueryAfterExecute182
getQueryInfo156
stableVersionUpdates156
doSubmit156
run156
setViewTabs156
stabilitySettings156
execute132
onChangesListInsertArticleLink132
submitButtons132
prettyRatingBox132
__construct110
getVisibilitySettingsFromRow110
updateRecentChanges110
onProtectionForm__save110
onInitializeArticleMaybeRedirect90
populateFRRevTimestamp90
purgeExpiredConfigurations90
autoReviewCurrent90
injectPostEditURLParams90
listReviewablePages90
setViewFlags90
run90
formatRow72
getExpiry72
setRobotPolicy72
updateReviewLog72
userCanSetValue72
userCanSetAutoreviewLevel72
ratingInputs72
onPageMoveComplete72
updateStableVersion72
onContributionsLineEnding72
setActionTabs72
getTopDiffToggle72
formatRow72
showOldReviewedVersion56
execute56
addReviewCheck56
maybeIncrementReverts56
purgeReviewablePages56
reviewedEditsCheck56
editWillBeAutoreviewed56
onPageSaveComplete56
getNamespaceMenu56
userCanSetTag56
parseParams56
gnsmQueryModifier56
addStabilizationLink56
setStabilitySettings56
getQueryInfo56
approveRevision56
newFromStable56
showingStable56
showForm42
getQueryCacheInfo42
showForm42
isDiffToStable42
__construct42
execute42
updateQueryCache42
editCheckReview42
getActionLinks42
onMakeGlobalVariablesScript42
setAutopromoteConfig42
determineStable42
updatePendingList42
getProtectionLevel42
getDepDeletions42
insertJobs42
newFromTitle42
formatRow30
feed30
updateCache30
markHistoryRow30
addStableLink30
buildSelector30
injectStyleAndJS30
stableVersionIsSynced30
doUpdateSyncState30
rejectRefRevId30
onBeforePageDisplay30
getRestrictionFilterMenu30
reallyDoCheckParameters30
maybeAddBacklogNotice30
__construct30
editWillRequireReview30
execute30
getDiffRevMsgAndClass30
isSelfRevertToStable30
parserPendingChangeLevel30
getAutoReviewTags30
__construct30
execute30
onRecentChange_save30
diffToStableLink30
diffLinkAndMarkers30
onEchoGetDefaultNotifiedUsers20
onContribsPager__getQueryInfo20
onSkinAfterContent20
updateLogsAndHistory20
addToNoSuchSection20
getOldConfig20
reallyDoCheckParameters20
onPageHistoryPager__getQueryInfo20
onProtectionForm__showLogExtract20
doCheckTarget20
onNewDifferenceEngine20
insert20
doCheckTarget20
getPageViewStabilityModeForUser20
buildDiffHeaderItems20
getDepInsertions20
getPendingRevCount20
formatRow20
onUserLoadAfterLoadFromSession20
getLineClass20
feedItem20
diffReviewMarkers20
execute20
onLoadExtensionSchemaUpdates20
getQueryData20
run20
submit20
getMessageKey12
setPendingNotice12
changeSaveButton12
getMessageParameters12
hideReviewedChangesIfNeeded12
injectStyleForSpecial12
editsRequireReview12
doUpdateLinks12
getParams12
showForm12
getAllowedParams12
execute12
execute12
doExecute12
defaultFromKey12
doExecute12
getExistingDeps12
execute12
getQueryInfo12
showPageList12
onSpecialPage_initList12
doUpdate12
getQueryInfo12
invalidateIDs12
showForm12
getOptionLabel12
doBacklinkPurge12
getStable12
getRatingFormLevels12
lockStatusIcon12
configIsReset12
pageWriteOpRequested12
onParserGetVariableValueSwitch12
isAllowed12
checkTarget12
displayTag12
unapproveRevision12
setSpecialPageCacheUpdates12
updateWatchlist12
getStableTemplateVersions12
getReason12
preload12
ready12
globalArticleInstance12
updateStabilityLog12
addToHistView12
onUserGetRights12
recentContentEditCount12
stabilityLogNotice12
addToCategoryView12
recentEditCount12
getReviewNamespaces11
updateUserParams10
loadPageData8
getStableRev6
getTags6
getDefaultTag6
updateStabilityLogOnMove6
doBatchLookups6
stabilityLogParams6
getCurrentVersionLinks6
getLineClass6
getCurrentVersionTemplates6
expandParams6
makeKey6
getCurrentVersionCategories6
getPerNamespaceTotals6
syncedInTracking6
dbUnixTime6
doBatchLookups6
revIsFlagged6
onScribuntoExternalLibraries6
enableOOUI6
showPageList6
trySet6
disabledAttr6
lazyUpdateSyncStatus6
showPageList6
maxAutoReviewLevel6
onlyTemplatesPending6
getTopReviewers6
setAPIModules6
setConditionalRights6
onAPIGetAllowedParams6
onParserFirstCallInit6
onArticleRevisionVisibilitySet6
onArticleMergeComplete6
lowProfileUI6
markRevisionPatrolled6
wasPreviouslyBlocked6
getStats6
onBeforeRevertedTagUpdate6
readyForQuery6
isPageUnlocked6
doBatchLookups6
isPageLocked6
getCacheMode6
getParserCacheInstance6
onWikiExporter__dumpStableQuery6
showPageList6
onMergeAccountFromTo6
doBatchLookups6
isPageViewOrDiff6
checkParameters6
findPendingTemplateChanges6
onPageHistoryBeforeList6
onArticleUpdateBeforeRedirect6
incCount6
getStableRevId6
onContribsPager__getQueryInfo6
getInstanceCache6
onSpecialNewPagesFilters6
newFromTitle6
onCategoryPageView6
onEditPageNoSuchSection6
onEditPageGetCheckboxesDefinition6
onEditPageBeforeEditButtons6
onTitleGetEditNotices6
isStableShownByDefault6
onArticleViewHeader6
onSkinTemplateNavigation__Universal6
onGetPreferences6
__construct6
isPageView6
onDifferenceEngineViewHeader6
isAllowed6
doCheckTargetGiven6
numUsersWatchingPage6
deapprovalSuccessHTML6
approvalSuccessHTML6
doCheckTargetGiven6
stabilizeParserOutput6
doCheckParameters6
getTagValueMsg6
getStabilitySettings6
getDefaultVisibilitySettings6
doPreloadParameters6
isOnMobile6
addTagRatings6
onMagicWordwgVariableIDs6
initialize6
setTag6
isValidRestriction6
revsArePending6
getStabilitySettings5
flattenParams5
getRevText4
isReviewable4
__construct3
pageData3
parseStableRevisionPooled3
fetchParamsRow3
getStabilitySettings2
getInstanceCache2
preloadPreparedEdit2
getRestrictionLevels2
getReviewedTemplateVersion2