Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\AbuseFilter\AbuseFilterChangesList0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterPager0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\UserMergeHandler0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterBlockedDomainHitLogFormatter0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterModifyLogFormatter0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterRightsLogFormatter0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseLogHitFormatter0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterExaminePager0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterHistoryPager0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseLogPager0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\PreferencesHandler0%
MediaWiki\Extension\AbuseFilter\Pager\GlobalAbuseFilterPager0%
MediaWiki\Extension\AbuseFilter\Parser\Exception\ConditionLimitException0%
MediaWiki\Extension\AbuseFilter\ProtectedVarsAccessLogger0%
MediaWiki\Extension\AbuseFilter\Special\BlockedExternalDomains0%
MediaWiki\Extension\AbuseFilter\TableDiffFormatterFullContext0%
MediaWiki\Extension\AbuseFilter\ThrottleFilterPresentationModel0%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewImport0%
MediaWiki\Extension\AbuseFilter\View\HideAbuseLog0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\RecentChangeSaveHandler0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterSuppressLogFormatter0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\PageSaveHandler0%
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxField0%
MediaWiki\Extension\AbuseFilter\Api\AbuseLogPrivateDetails0%
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseFilters0%
MediaWiki\Extension\AbuseFilter\BlockedDomainStorage0%
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagsManager0%
MediaWiki\Extension\AbuseFilter\EditBox\AceEditBoxBuilder0%
MediaWiki\Extension\AbuseFilter\Maintenance\MigrateActorsAF0%
MediaWiki\Extension\AbuseFilter\EditBox\PlainEditBoxBuilder0%
MediaWiki\Extension\AbuseFilter\FilterUtils0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\EditPermissionHandler0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\EchoHandler0%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewEdit1%
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseLog1%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewDiff2%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert3%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools4%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewExamine4%
MediaWiki\Extension\AbuseFilter\Special\AbuseFilterSpecialPage7%
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxBuilder7%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewHistory7%
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseLog45%
MediaWiki\Extension\AbuseFilter\Api\CheckMatch47%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterView53%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch60%
MediaWiki\Extension\AbuseFilter\Watcher\EmergencyWatcher64%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewList67%
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter82%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler83%
MediaWiki\Extension\AbuseFilter\AbuseLogger86%
MediaWiki\Extension\AbuseFilter\FilterStore86%
MediaWiki\Extension\AbuseFilter\BlockedDomainFilter87%
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagValidator87%
MediaWiki\Extension\AbuseFilter\AbuseFilterPreAuthenticationProvider88%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\ConfirmEditHandler89%
MediaWiki\Extension\AbuseFilter\VariableGenerator\RunVariableGenerator89%

Project Risks

Class CRAP
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewEdit21080
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseLog14494
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterPager3782
MediaWiki\Extension\AbuseFilter\Pager\AbuseLogPager2550
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewDiff1942
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterHistoryPager1560
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseFilters1560
MediaWiki\Extension\AbuseFilter\BlockedDomainStorage992
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewExamine971
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert776
MediaWiki\Extension\AbuseFilter\Special\BlockedExternalDomains756
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseLog652
MediaWiki\Extension\AbuseFilter\Maintenance\MigrateActorsAF650
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\EditPermissionHandler600
MediaWiki\Extension\AbuseFilter\AbuseFilterChangesList420
MediaWiki\Extension\AbuseFilter\Special\AbuseFilterSpecialPage217
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewHistory215
MediaWiki\Extension\AbuseFilter\Pager\GlobalAbuseFilterPager210
MediaWiki\Extension\AbuseFilter\View\HideAbuseLog210
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagsManager210
MediaWiki\Extension\AbuseFilter\Api\AbuseLogPrivateDetails156
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\PreferencesHandler110
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewList83
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch78
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxBuilder72
MediaWiki\Extension\AbuseFilter\Api\CheckMatch59
MediaWiki\Extension\AbuseFilter\ThrottleFilterPresentationModel56
MediaWiki\Extension\AbuseFilter\ProtectedVarsAccessLogger42
MediaWiki\Extension\AbuseFilter\AbuseLogger35
MediaWiki\Extension\AbuseFilter\View\AbuseFilterView33
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter32
MediaWiki\Extension\AbuseFilter\Watcher\EmergencyWatcher30
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler30
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseLogHitFormatter30
MediaWiki\Extension\AbuseFilter\VariableGenerator\RunVariableGenerator29
MediaWiki\Extension\AbuseFilter\FilterStore28
MediaWiki\Extension\AbuseFilter\TableDiffFormatterFullContext20
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterRightsLogFormatter20
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools18
MediaWiki\Extension\AbuseFilter\BlockedDomainFilter13
MediaWiki\Extension\AbuseFilter\EditBox\PlainEditBoxBuilder12
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterModifyLogFormatter12
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\RecentChangeSaveHandler12
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\ConfirmEditHandler8
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagValidator7
MediaWiki\Extension\AbuseFilter\AbuseFilterPreAuthenticationProvider7
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewImport6
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterSuppressLogFormatter6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
showDetails0%
__construct0%
execute0%
getShortDescription0%
loadParameters0%
getAllFilterableActions0%
searchForm0%
showHideView0%
showList0%
getDeleteButton0%
getListToggle0%
getPrivateDetailsRow0%
isListed0%
buildPrivateDetailsTable0%
showPrivateDetails0%
checkPrivateDetailsAccessReason0%
addPrivateDetailsAccessLogEntry0%
getUserLinks0%
getActionMessage0%
format0%
getIconType0%
getHeaderMessage0%
getSubjectMessage0%
getTitleForSubpage0%
getGroupName0%
buildTestConditions0%
logAccessDisabled0%
getQueryInfo0%
preprocessResults0%
entryHasAssociatedDeletedRev0%
isHidingEntry0%
insertExtra0%
formatValue0%
getData0%
__construct0%
__construct0%
logAccessEnabled0%
log0%
processAddForm0%
createManualLogEntry0%
getShortDescription0%
getNavigationLinksInternal0%
getAssociatedNavigationLinks0%
__construct0%
execute0%
showList0%
doDomainRow0%
showRemoveForm0%
processRemoveForm0%
showAddForm0%
getPrimaryLink0%
buildVisibilityConditions0%
canSeeUndeleteDiffForPage0%
doTest0%
showExaminer0%
show0%
show0%
show0%
showRevertableActions0%
doLookup0%
loadParameters0%
attemptRevert0%
getConsequence0%
revertAction0%
show0%
showExaminerForRC0%
__construct0%
show0%
saveHideForm0%
run0%
__construct0%
getUpdateKey0%
doDBUpdates0%
doTable0%
makeNextCond0%
makeActorIdSubquery0%
addActorsForRows0%
showExaminerForLogEntry0%
showResults0%
show0%
buildFilterEditor0%
loadData0%
loadSpec0%
getVersionHeading0%
formatDiff0%
stringifyActions0%
getHeaderRow0%
getDiffRow0%
show0%
attemptSave0%
showUnrecoverableError0%
buildConsequenceEditor0%
showSearch0%
buildConsequenceSelector0%
getExistingSelector0%
normalizeBlocks0%
getAbsoluteBlockDuration0%
loadFilterData0%
loadFromDatabase0%
loadRequest0%
loadImportRequest0%
loadActions0%
exposeMessages0%
show0%
canSeeUndeleteDiffs0%
__construct0%
doFormatRow0%
getSuggestionsDropdown0%
loadTagsFromDb0%
loadTags0%
getCacheKeyForStatus0%
getCondsLimitTag0%
__construct0%
getEditBox0%
getEditorControls0%
getAceConfig0%
buildEditBox0%
getEditorControls0%
getTagsDefinedByActiveFilters0%
__construct0%
getInputHTML0%
getEditBox0%
checkAllFilters0%
formatRow0%
isHidden0%
isProtected0%
onBeforeCreateEchoEvent0%
onGetUserPermissionsErrors0%
getTagsDefinedByFilters0%
purgeTagCache0%
onUploadStashFile0%
execute0%
recentChangesLine0%
insertUserRelatedLinks0%
insertComment0%
insertLogEntry0%
insertRollback0%
publishEntry0%
__construct0%
execute0%
__construct0%
__construct0%
__construct0%
makeCacheKey0%
loadConfig0%
loadComputed0%
validateDomain0%
fetchConfig0%
addDomain0%
removeDomain0%
fetchLatestConfig0%
saveContent0%
getBlockedDomainPage0%
onJsonValidateSave0%
migrate0%
formatRow0%
getEmptyBody0%
extractParameters0%
getMessageKey0%
__construct0%
getMessageParameters0%
reallyDoQuery0%
__construct0%
getQueryInfo0%
__construct0%
__construct0%
extractParameters0%
getFieldNames0%
formatValue0%
getQueryInfo0%
preprocessResults0%
getCellAttrs0%
getTitle0%
__construct0%
getQueryInfo0%
preprocessResults0%
getMessageKey0%
getMessageParameters0%
getMessageKey0%
getHighlightedPattern0%
__construct0%
isFieldSortable0%
onPageSaveComplete0%
__construct0%
onGetPreferences0%
getIndexField0%
onSaveUserOptions0%
__construct0%
getMessageParameters0%
onRecentChange_save0%
getRowClass0%
matchesPattern0%
onUserMergeAccountFields0%
formatValue0%
getFieldNames0%
addNavigationLinks10%
getCacheVersion23%
checkRegexMatchesEmpty25%
showStatus40%
execute42%
execute44%
updateEmergencyCache50%
execute50%
replaceLegacyParameters50%
onEditFilterMergedContent55%
show57%
checkConditions62%
raiseCondCount66%
testUserForCreation66%
filterUpload66%
getUploadVars66%
getSession66%
getContentModelFromRevision75%
insertLocalLogEntries78%
runForStash78%
showList79%
filterEdit80%
doSaveFilter81%
filter85%
actionsParamsToConsequence85%
getPrivacyLevelFromFlags85%
getStashEditVars85%
validateTag86%
addGenericVars87%
checkSyntax87%
compute88%
onArticleDelete88%
onEditFilterMergedContent89%

Project Risks

Method CRAP
showList2450
buildFilterEditor2070
execute1332
doFormatRow870
buildConsequenceSelector812
execute624
formatValue462
show342
doTest342
onJsonValidateSave306
formatValue306
showDetails306
show240
loadActions240
formatValue182
loadSpec156
showExaminerForLogEntry156
loadData132
addActorsForRows90
execute72
getExistingSelector72
compute69
show64
onSaveUserOptions56
saveHideForm56
getHighlightedPattern56
onGetUserPermissionsErrors56
getShortDescription56
searchForm56
show56
showPrivateDetails56
show56
insertExtra56
migrate56
execute51
execute42
buildTestConditions42
formatDiff42
show42
showList42
getFieldNames42
attemptSave42
doLookup42
normalizeBlocks42
getCellAttrs30
matchesPattern30
reallyDoQuery30
loadRequest30
buildEditBox30
loadComputed30
publishEntry30
getQueryInfo30
show30
showResults30
validateDomain30
execute30
getConsequence30
loadParameters30
loadTagsFromDb30
doSaveFilter23
isFieldSortable20
showRevertableActions20
buildPrivateDetailsTable20
format20
getHeaderMessage20
buildVisibilityConditions20
fetchLatestConfig20
removeDomain20
getDiffRow20
attemptRevert20
getRowClass20
recentChangesLine20
getMessageParameters20
preprocessResults20
canSeeUndeleteDiffForPage20
showExaminerForRC20
preprocessResults20
getPrivateDetailsRow20
getFieldNames20
addNavigationLinks15
loadFilterData12
show12
fetchConfig12
showExaminer12
buildConsequenceEditor12
loadFromDatabase12
run12
insertUserRelatedLinks12
loadImportRequest12
loadParameters12
loadConfig12
insertComment12
getNavigationLinksInternal12
entryHasAssociatedDeletedRev12
getEditBox12
preprocessResults12
doDomainRow12
loadTags12
processRemoveForm12
getQueryInfo12
processAddForm12
actionsParamsToConsequence11
insertLocalLogEntries10
showList10
replaceLegacyParameters10
filter9
onEditFilterMergedContent8
filterEdit7
filterUpload7
getUploadVars7
checkRegexMatchesEmpty6
checkConditions6
validateTag6
extractParameters6
canSeeUndeleteDiffs6
getSuggestionsDropdown6
makeNextCond6
getTitle6
doTable6
onRecentChange_save6
show6
doDBUpdates6
getMessageKey6
onGetPreferences6
extractParameters6
getListToggle6
getDeleteButton6
stringifyActions6
checkPrivateDetailsAccessReason6
getUserLinks6
getActionMessage6
saveContent6
addDomain6
showAddForm6
showRemoveForm6
log6
getAbsoluteBlockDuration6
isHidingEntry6
showStatus4
updateEmergencyCache4
getCacheVersion3
raiseCondCount3
testUserForCreation3
runForStash3
getPrivacyLevelFromFlags3
onArticleDelete3
execute2
onEditFilterMergedContent2
getSession2
getContentModelFromRevision2
checkSyntax2
addGenericVars2
getStashEditVars2