Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

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