Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
FlaggedRevsSetup0%
FlaggedRevsApiHooks0%
ApiReview0%
ApiStabilize0%
ApiStabilizeGeneral0%
ApiStabilizeProtect0%
ApiQueryFlagged0%
ApiQueryUnreviewedpages0%
MediaWiki\Extension\FlaggedRevs\Backend\EchoHooks0%
FRPageConfig0%
FRStableVersionUpdate0%
FRUserActivity0%
MediaWiki\Extension\FlaggedRevs\Backend\FlaggedRevsContributionsHooks0%
FlaggedRevsLog0%
MediaWiki\Extension\FlaggedRevs\Backend\FlaggedRevsMediaWikiServicesHooks0%
MediaWiki\Extension\FlaggedRevs\Backend\FlaggedRevsParserCacheFactory0%
MediaWiki\Extension\FlaggedRevs\Backend\ScribuntoHooks0%
MediaWiki\Extension\FlaggedRevs\Backend\UserMergeHooks0%
FlaggedRevsUpdaterHooks0%
FRGenericSubmitForm0%
PageStabilityGeneralForm0%
FlaggedRevsHTML0%
FlaggedRevsReviewLogFormatter0%
FlaggedRevsStableLogFormatter0%
RejectConfirmationFormUI0%
RevisionReviewFormUI0%
RevisionReview0%
Stabilization0%
ConfiguredPages0%
ConfiguredPagesPager0%
PendingChanges0%
StablePages0%
StablePagesPager0%
UnreviewedPages0%
UnreviewedPagesPager0%
ValidationStatistics0%
FlaggedRevsScribuntoLuaLibrary0%
FlagProtectToSemiProtect0%
PopulateFRRevTimestamp0%
PurgeReviewablePages0%
ReviewAllPages0%
UpdateFRAutoPromote0%
UpdateFlaggedRevsQueryCache0%
UpdateFlaggedRevsStats0%
UpdateFRTracking0%
FlaggablePageView12%
FlaggedRevision15%
FlaggedRevs23%
FlaggedRevsUIHooks24%
FlaggedRevsHooks29%
FlaggableWikiPage31%
PendingChangesPager34%
RevisionReviewForm39%
FRUserCounters68%
PageStabilityProtectForm72%
ApiFlagConfig73%
FRInclusionManager76%
ApiQueryOldreviewedpages80%
PageStabilityForm81%
ApiQueryConfiguredpages88%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
doSetup0%
setAutopromoteConfig0%
setSpecialPageCacheUpdates0%
setAPIModules0%
setConditionalRights0%
setConditionalPreferences0%
__construct0%
onAPIGetAllowedParams0%
onAPIQueryAfterExecute0%
__construct0%
execute0%
isWriteMode0%
getAllowedParams0%
needsToken0%
getExamplesMessages0%
execute0%
isWriteMode0%
needsToken0%
doExecute0%
defaultFromKey0%
getAllowedParams0%
getSummaryMessage0%
getExtendedDescription0%
getExamplesMessages0%
doExecute0%
getAllowedParams0%
getSummaryMessage0%
getExtendedDescription0%
getExamplesMessages0%
getExamplesMessages0%
executeGenerator0%
getExamplesMessages0%
execute0%
getCacheMode0%
getExamplesMessages0%
executeGenerator0%
getExamplesMessages0%
__construct0%
execute0%
executeGenerator0%
run0%
getCacheMode0%
getAllowedParams0%
getExamplesMessages0%
onBeforeCreateEchoEvent0%
__clone0%
stabilizeParserOutput0%
getStabilitySettings0%
getVisibilitySettingsFromRow0%
getDefaultVisibilitySettings0%
setStabilitySettings0%
configIsReset0%
getProtectionLevel0%
isValidRestriction0%
purgeExpiredConfigurations0%
__construct0%
doUpdate0%
numUsersWatchingPage0%
getParams0%
deleteUserParams0%
mergeUserParams0%
incCount0%
clear0%
isStableShownByDefault0%
editsRequireReview0%
isDataLoaded0%
revsArePending0%
getPendingRevCount0%
stableVersionIsSynced0%
onlyTemplatesPending0%
isPageLocked0%
isPageUnlocked0%
lowProfileUI0%
getStable0%
getStabilitySettings0%
updateStableVersion0%
newFromRow0%
newFromTitle0%
newFromStable0%
getStableRevId0%
determineStable0%
insert0%
delete0%
getQueryInfo0%
getPage0%
userCanSetTag0%
getStableTemplateVersions0%
findPendingTemplateChanges0%
approveRevertedTagUpdate0%
revIsFlagged0%
getDefaultTag0%
userCanSetValue0%
userCanSetTag0%
userCanSetAutoreviewLevel0%
parseStableRevision0%
parseStableRevisionCached0%
stableVersionUpdates0%
clearTrackingRows0%
purgeMediaWikiHtmlCdn0%
updateHtmlCaches0%
markRevisionPatrolled0%
getAutoReviewTags0%
autoReviewEdit0%
onSpecialContributions__getForm__filters0%
onContribsPager__getQueryInfo0%
onRegistration0%
onRevisionUndeleted0%
onArticleMergeComplete0%
onArticleDeleteComplete0%
onArticleUndelete0%
onArticleRevisionVisibilitySet0%
onParserGetVariableValueSwitch0%
parserPendingChangeLevel0%
editCheckReview0%
editSpacingCheck0%
reviewedEditsCheck0%
wasPreviouslyBlocked0%
recentEditCount0%
recentContentEditCount0%
onUserRequirementsCondition0%
onWikiExporter__dumpStableQuery0%
onUserRequirementsConditionDisplay0%
updateReviewLog0%
updateStabilityLog0%
updateStabilityLogOnMove0%
stabilityLogParams0%
expandParams0%
onMediaWikiServices0%
__construct0%
getParserCache0%
onScribuntoExternalLibraries0%
onDeleteAccount0%
onMergeAccountFromTo0%
onUserMergeAccountFields0%
onLoadExtensionSchemaUpdates0%
__construct0%
initialize0%
getUser0%
getState0%
ready0%
doBuildOnReady0%
trySet0%
doCheckTargetGiven0%
doCheckTarget0%
checkTarget0%
checkParameters0%
doCheckParameters0%
preload0%
doPreloadParameters0%
submit0%
doSubmit0%
setWatchThis0%
getReasonExtra0%
getReasonSelection0%
getExpiryCustom0%
getExpirySelection0%
setExpirySelection0%
getAutoreview0%
reallyDoCheckParameters0%
doPreloadParameters0%
getReviewThis0%
setReviewThis0%
getOverride0%
setOverride0%
reallyDoPreloadParameters0%
reallyDoCheckParameters0%
reallyDoPreloadParameters0%
getTitle0%
setLastChangeTime0%
getNewLastChangeTime0%
getRefId0%
getOldId0%
setValidatedParams0%
setComment0%
getTags0%
setSessionKey0%
approveRevision0%
unapproveRevision0%
validationKey0%
updateRecentChanges0%
singleton0%
__clone0%
clear0%
diffRevRecordsAreSet0%
useSimpleUI0%
displayTag0%
addStatusIndicator0%
setRobotPolicy0%
showDraftVersion0%
showUnreviewedVersion0%
getTopDiffToggle0%
addToHistView0%
getEditNotices0%
pendingEditNoticeMessage0%
stabilityLogNotice0%
addToNoSuchSection0%
addToCategoryView0%
addReviewForm0%
addStabilizationLink0%
setActionTabs0%
setViewTabs0%
addDraftTab0%
pageWriteOpRequested0%
getOldIDFromRequest0%
setPendingNotice0%
addToDiffView0%
buildDiffHeaderItems0%
diffLinkAndMarkers0%
diffToStableLink0%
diffReviewMarkers0%
getDiffRevMsgAndClass0%
setViewFlags0%
isDiffToStable0%
injectPostEditURLParams0%
changeSaveButton0%
editWillRequireReview0%
editWillBeAutoreviewed0%
addReviewCheck0%
getBaseRevId0%
getAltBaseRevId0%
getNamespaceMenu0%
getDefaultFilterMenu0%
getRestrictionFilterMenu0%
addTagRatings0%
getEditTagFilterMenu0%
reviewDialog0%
addMessageBox0%
diffToggle0%
stabilityLogExcerpt0%
__construct0%
getMessageKey0%
getActionLinks0%
getMessageKey0%
getMessageParameters0%
getActionLinks0%
stabilitySettings0%
injectStyleAndJS0%
onMakeGlobalVariablesScript0%
onBeforePageDisplay0%
onGetPreferences0%
onSkinTemplateNavigation__Universal0%
onArticleViewHeader0%
onInitializeArticleMaybeRedirect0%
onTitleGetEditNotices0%
onEditPageBeforeEditButtons0%
onEditPageNoSuchSection0%
onPageHistoryBeforeList0%
onCategoryPageView0%
onSkinAfterContent0%
onSpecialNewPagesFilters0%
onPageHistoryPager__getQueryInfo0%
onContribsPager__getQueryInfo0%
onSpecialNewpagesConditions0%
makeAllQueryChanges0%
hideReviewedChangesIfNeeded0%
onPageHistoryLineEnding0%
markHistoryRow0%
onContributionsLineEnding0%
onChangesListInsertArticleLink0%
onArticleUpdateBeforeRedirect0%
onNewDifferenceEngine0%
onDifferenceEngineViewHeader0%
onEditPageGetCheckboxesDefinition0%
maybeAddBacklogNotice0%
onProtectionFormAddFormFields0%
onProtectionForm__showLogExtract0%
onProtectionForm__save0%
onInfoAction0%
__construct0%
getHtml0%
__construct0%
setDiffPriorRevRecord0%
setTopNotice0%
setBottomNotice0%
getHtml0%
rejectRefRevId0%
ratingInputs0%
getTagMsg0%
getTagValueMsg0%
getRatingFormLevels0%
submitButtons0%
__construct0%
getRestriction0%
doesWrites0%
execute0%
approvalSuccessHTML0%
deapprovalSuccessHTML0%
getSpecialLinks0%
__construct0%
getRestriction0%
doesWrites0%
execute0%
showForm0%
buildSelector0%
getOptionLabel0%
disabledAttr0%
__construct0%
execute0%
showForm0%
showPageList0%
formatRow0%
getGroupName0%
__construct0%
formatRow0%
getQueryInfo0%
getIndexField0%
doBatchLookups0%
getStartBody0%
getEndBody0%
__construct0%
execute0%
setSyndicated0%
showForm0%
getLimitSelector0%
showPageList0%
parseParams0%
feed0%
feedTitle0%
feedItem0%
formatRow0%
getLineClass0%
getGroupName0%
getWatchingFormatted0%
formatRow0%
getDefaultQuery0%
doBatchLookups0%
formatValue0%
isFieldSortable0%
getStartBody0%
buildTableHeader0%
buildHeaderCaption0%
getPendingCount0%
buildTableElement0%
buildTableHeaderCells0%
getEndBody0%
buildTableCaption0%
__construct0%
execute0%
showForm0%
showPageList0%
formatRow0%
getGroupName0%
__construct0%
formatRow0%
getQueryInfo0%
getIndexField0%
doBatchLookups0%
getStartBody0%
getEndBody0%
__construct0%
getRestriction0%
execute0%
showForm0%
showPageList0%
formatRow0%
getLineClass0%
updateQueryCache0%
getGroupName0%
__construct0%
setLimit0%
formatRow0%
getQueryInfo0%
getQueryCacheInfo0%
getIndexField0%
doBatchLookups0%
getStartBody0%
getEndBody0%
__construct0%
execute0%
readyForQuery0%
getEditorCount0%
getReviewerCount0%
getStats0%
getMeanReviewWaitAnon0%
getMedianReviewWaitAnon0%
getMeanPendingWait0%
getTotalPages0%
getReviewedPages0%
getSyncedPages0%
getReviewPercentilesAnon0%
getLastUpdate0%
getTopReviewers0%
getGroupName0%
needsWriteAccess0%
needsWriteAccess0%
register0%
getStabilitySettings0%
__construct0%
execute0%
flagToSemiProtect0%
__construct0%
execute0%
populateFRRevTimestamp0%
lastPosFile0%
__construct0%
execute0%
listReviewablePages0%
purgeReviewablePages0%
__construct0%
execute0%
autoReviewCurrent0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
updateFlaggedPages0%
addTagNoticeIfApplicable9%
onUserLoadAfterLoadFromSession20%
onGetUserPermissionsErrors33%
getReviewNamespaces37%
showStableVersion38%
getReason42%
setPageContent47%
onPageMoveComplete48%
isReviewable50%
getRevText50%
onParserFirstCallInit50%
onUserGetRights50%
initialize50%
isSelfRevertToStable53%
maybeNullEditReview53%
doSubmit54%
getOldConfig60%
updateWatchlist60%
doCheckParameters60%
getInstanceCache66%
preloadPreparedEdit66%
getRestrictionLevels66%
onGetMagicVariableIDs66%
doCheckTargetGiven66%
doCheckTargetGiven66%
parseStableRevisionPooled69%
determineRequestedRevision71%
getQueryInfo72%
__construct72%
getStableRev75%
pageData75%
run77%
onChangesListSpecialPageStructuredFilters78%
getExpiry78%
updateUserParams80%
doCheckTarget83%
__construct83%
loadPageData84%
doReview85%
clearStableVersion87%
onRecentChange_save87%
maybeMakeEditReviewed88%
flattenParams88%
getFieldNames88%
getEditReviewTimes89%

Project Risks

Method CRAP
onUserRequirementsCondition1056
execute812
getHtml650
execute420
execute380
reviewDialog380
getEditNotices272
flagToSemiProtect272
addToDiffView240
onPageHistoryLineEnding240
getHtml240
parseStableRevision210
showDraftVersion210
onAPIQueryAfterExecute182
addDraftTab182
onProtectionFormAddFormFields182
showForm182
buildTableHeaderCells182
updateFlaggedPages182
doSubmit160
stableVersionUpdates156
addReviewForm156
setViewTabs156
formatRow156
onGetUserPermissionsErrors138
autoReviewEdit132
onUserRequirementsConditionDisplay132
stabilitySettings132
onChangesListInsertArticleLink132
submitButtons132
execute132
getVisibilitySettingsFromRow110
updateRecentChanges110
addStatusIndicator110
onProtectionForm__save110
autoReviewCurrent110
run90
purgeExpiredConfigurations90
setViewFlags90
injectPostEditURLParams90
onInitializeArticleMaybeRedirect90
populateFRRevTimestamp90
listReviewablePages90
updateStableVersion72
userCanSetValue72
userCanSetAutoreviewLevel72
updateReviewLog72
getTopDiffToggle72
setActionTabs72
editWillBeAutoreviewed72
onMakeGlobalVariablesScript72
onContributionsLineEnding72
ratingInputs72
formatRow72
showStableVersion60
setStabilitySettings56
newFromStable56
userCanSetTag56
editSpacingCheck56
approveRevision56
setRobotPolicy56
addStabilizationLink56
addReviewCheck56
getNamespaceMenu56
execute56
parseParams56
getQueryInfo56
purgeReviewablePages56
execute56
maybeNullEditReview45
setAutopromoteConfig42
getProtectionLevel42
newFromTitle42
determineStable42
editCheckReview42
isDiffToStable42
getAltBaseRevId42
getActionLinks42
onInfoAction42
__construct42
showForm42
updateQueryCache42
getQueryCacheInfo42
maybeMakeEditReviewed34
setPageContent32
execute30
stableVersionIsSynced30
getAutoReviewTags30
parserPendingChangeLevel30
reviewedEditsCheck30
reallyDoCheckParameters30
diffLinkAndMarkers30
diffToStableLink30
getDiffRevMsgAndClass30
editWillRequireReview30
injectStyleAndJS30
onBeforePageDisplay30
markHistoryRow30
maybeAddBacklogNotice30
rejectRefRevId30
buildSelector30
formatRow30
feed30
__construct30
__construct30
getStabilitySettings30
execute30
doCheckParameters28
doReview23
getPendingRevCount20
insert20
onContribsPager__getQueryInfo20
getParserCache20
submit20
showUnreviewedVersion20
addToNoSuchSection20
diffReviewMarkers20
getBaseRevId20
getRestrictionFilterMenu20
onSkinAfterContent20
onPageHistoryPager__getQueryInfo20
onNewDifferenceEngine20
onProtectionForm__showLogExtract20
feedItem20
formatRow20
getLineClass20
run19
onChangesListSpecialPageStructuredFilters18
getQueryInfo16
getEditReviewTimes15
onPageMoveComplete13
onUserLoadAfterLoadFromSession12
setSpecialPageCacheUpdates12
getAllowedParams12
execute12
doExecute12
defaultFromKey12
doExecute12
configIsReset12
getParams12
editsRequireReview12
getStable12
getStableTemplateVersions12
onParserGetVariableValueSwitch12
wasPreviouslyBlocked12
updateStabilityLog12
ready12
checkTarget12
preload12
unapproveRevision12
displayTag12
addToHistView12
stabilityLogNotice12
addToCategoryView12
pageWriteOpRequested12
setPendingNotice12
buildDiffHeaderItems12
changeSaveButton12
getMessageKey12
getMessageParameters12
hideReviewedChangesIfNeeded12
getRatingFormLevels12
getOptionLabel12
showForm12
getQueryInfo12
showPageList12
showForm12
getQueryInfo12
execute12
execute12
execute12
getReviewNamespaces11
updateUserParams10
getExpiry9
addTagNoticeIfApplicable9
isSelfRevertToStable9
loadPageData8
getStableRev6
setAPIModules6
setConditionalRights6
onAPIGetAllowedParams6
stabilizeParserOutput6
getStabilitySettings6
getDefaultVisibilitySettings6
isValidRestriction6
numUsersWatchingPage6
incCount6
isStableShownByDefault6
revsArePending6
onlyTemplatesPending6
isPageLocked6
isPageUnlocked6
lowProfileUI6
getStabilitySettings6
getStableRevId6
findPendingTemplateChanges6
revIsFlagged6
getDefaultTag6
parseStableRevisionCached6
markRevisionPatrolled6
onArticleMergeComplete6
onArticleRevisionVisibilitySet6
recentEditCount6
recentContentEditCount6
onWikiExporter__dumpStableQuery6
updateStabilityLogOnMove6
stabilityLogParams6
expandParams6
onScribuntoExternalLibraries6
onMergeAccountFromTo6
trySet6
checkParameters6
doPreloadParameters6
getTags6
addTagRatings6
getEditTagFilterMenu6
addMessageBox6
onGetPreferences6
onSkinTemplateNavigation__Universal6
onArticleViewHeader6
onTitleGetEditNotices6
onEditPageBeforeEditButtons6
onEditPageNoSuchSection6
onPageHistoryBeforeList6
onCategoryPageView6
onSpecialNewPagesFilters6
onContribsPager__getQueryInfo6
onArticleUpdateBeforeRedirect6
onDifferenceEngineViewHeader6
onEditPageGetCheckboxesDefinition6
getTagValueMsg6
approvalSuccessHTML6
deapprovalSuccessHTML6
disabledAttr6
showPageList6
doBatchLookups6
showForm6
getLimitSelector6
getLineClass6
getWatchingFormatted6
doBatchLookups6
showPageList6
doBatchLookups6
showPageList6
doBatchLookups6
getStats6
getTopReviewers6
onRecentChange_save5
flattenParams5
getOldConfig5
getReason4
parseStableRevisionPooled4
determineRequestedRevision4
isReviewable4
getRevText4
onUserGetRights4
doCheckTarget4
updateWatchlist3
__construct3
pageData3
onParserFirstCallInit2
initialize2
getInstanceCache2
preloadPreparedEdit2
getRestrictionLevels2
onGetMagicVariableIDs2
doCheckTargetGiven2
doCheckTargetGiven2
__construct2
clearStableVersion2
getFieldNames2