Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\AbuseFilter\AbuseFilterChangesList0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterPager0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\UserRenameHandler0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterModifyLogFormatter0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterRightsLogFormatter0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterSuppressLogFormatter0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterExaminePager0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterHistoryPager0%
MediaWiki\Extension\AbuseFilter\Pager\AbuseLogPager0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\RecentChangeSaveHandler0%
MediaWiki\Extension\AbuseFilter\Pager\GlobalAbuseFilterPager0%
MediaWiki\Extension\AbuseFilter\Parser\Exception\ConditionLimitException0%
MediaWiki\Extension\AbuseFilter\TableDiffFormatterFullContext0%
MediaWiki\Extension\AbuseFilter\ThrottleFilterPresentationModel0%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewImport0%
MediaWiki\Extension\AbuseFilter\View\HideAbuseLog0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\UserMergeHandler0%
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseLogHitFormatter0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\PageSaveHandler0%
MediaWiki\Extension\AbuseFilter\EditBox\AceEditBoxBuiler0%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\EchoHandler0%
MediaWiki\Extension\AbuseFilter\Api\AbuseLogPrivateDetails0%
MediaWiki\Extension\AbuseFilter\EditBox\PlainEditBoxBuiler0%
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseFilters0%
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxField0%
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagsManager0%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewEdit2%
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseLog2%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch2%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewDiff3%
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseLog3%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewList3%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert4%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewExamine6%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools8%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterView8%
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewHistory11%
MediaWiki\Extension\AbuseFilter\Special\AbuseFilterSpecialPage12%
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxBuilder12%
MediaWiki\Extension\AbuseFilter\Api\CheckMatch48%
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter64%
MediaWiki\Extension\AbuseFilter\Watcher\EmergencyWatcher68%
MediaWiki\Extension\AbuseFilter\AbuseFilterPreAuthenticationProvider78%
MediaWiki\Extension\AbuseFilter\FilterStore82%
MediaWiki\Extension\AbuseFilter\VariableGenerator\RunVariableGenerator83%
MediaWiki\Extension\AbuseFilter\AbuseLogger84%
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler85%
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagValidator88%
MediaWiki\Extension\AbuseFilter\FilterRunner89%

Project Risks

Class CRAP
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewEdit20483
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseLog11885
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterPager3660
MediaWiki\Extension\AbuseFilter\Pager\AbuseLogPager2652
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseLog2376
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewDiff1724
MediaWiki\Extension\AbuseFilter\Pager\AbuseFilterHistoryPager1332
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewList1185
MediaWiki\Extension\AbuseFilter\Api\QueryAbuseFilters1056
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch745
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewExamine709
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert658
MediaWiki\Extension\AbuseFilter\AbuseFilterChangesList420
MediaWiki\Extension\AbuseFilter\View\AbuseFilterView241
MediaWiki\Extension\AbuseFilter\View\HideAbuseLog210
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagsManager210
MediaWiki\Extension\AbuseFilter\Api\AbuseLogPrivateDetails156
MediaWiki\Extension\AbuseFilter\Pager\GlobalAbuseFilterPager156
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewHistory129
MediaWiki\Extension\AbuseFilter\EditBox\EditBoxBuilder76
MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter63
MediaWiki\Extension\AbuseFilter\Api\CheckMatch57
MediaWiki\Extension\AbuseFilter\ThrottleFilterPresentationModel56
MediaWiki\Extension\AbuseFilter\AbuseLogger37
MediaWiki\Extension\AbuseFilter\VariableGenerator\RunVariableGenerator36
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\FilteredActionsHandler31
MediaWiki\Extension\AbuseFilter\Special\AbuseFilterSpecialPage30
MediaWiki\Extension\AbuseFilter\FilterRunner28
MediaWiki\Extension\AbuseFilter\FilterStore28
MediaWiki\Extension\AbuseFilter\Watcher\EmergencyWatcher23
MediaWiki\Extension\AbuseFilter\TableDiffFormatterFullContext20
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseLogHitFormatter20
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterRightsLogFormatter20
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools16
MediaWiki\Extension\AbuseFilter\Hooks\Handlers\RecentChangeSaveHandler12
MediaWiki\Extension\AbuseFilter\EditBox\PlainEditBoxBuiler12
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterModifyLogFormatter12
MediaWiki\Extension\AbuseFilter\ChangeTags\ChangeTagValidator7
MediaWiki\Extension\AbuseFilter\AbuseFilterPreAuthenticationProvider6
MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewImport6
MediaWiki\Extension\AbuseFilter\LogFormatter\AbuseFilterSuppressLogFormatter6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getPrimaryLink0%
checkPrivateDetailsAccessReason0%
addPrivateDetailsAccessLogEntry0%
getUserLinks0%
getActionMessage0%
format0%
getIconType0%
getHeaderMessage0%
getSubjectMessage0%
getLinksFromDB0%
buildPrivateDetailsTable0%
getTitle0%
buildFilterLoader0%
buildTestConditions0%
buildVisibilityConditions0%
getLinkToLatestDiff0%
show0%
loadData0%
loadSpec0%
showPrivateDetails0%
getPrivateDetailsRow0%
formatDiff0%
getTitleForSubpage0%
entryHasAssociatedDeletedRev0%
insertExtra0%
__construct0%
formatValue0%
getData0%
__construct0%
addNavigationLinks0%
execute0%
__construct0%
showDetails0%
execute0%
loadParameters0%
getAllFilterableActions0%
searchForm0%
showHideView0%
showList0%
getDeleteButton0%
getListToggle0%
getVersionHeading0%
stringifyActions0%
getQueryInfo0%
attemptRevert0%
show0%
show0%
showList0%
showStatus0%
show0%
showRevertableActions0%
doLookup0%
loadParameters0%
getConsequence0%
showExaminer0%
revertAction0%
show0%
doTest0%
loadParameters0%
show0%
__construct0%
show0%
saveHideForm0%
show0%
showExaminerForLogEntry0%
getHeaderRow0%
normalizeBlocks0%
getDiffRow0%
show0%
attemptSave0%
showUnrecoverableError0%
buildFilterEditor0%
buildConsequenceEditor0%
buildConsequenceSelector0%
getExistingSelector0%
getAbsoluteBlockDuration0%
showExaminerForRC0%
loadFilterData0%
loadFromDatabase0%
loadRequest0%
loadImportRequest0%
loadActions0%
exposeMessages0%
show0%
showSearch0%
showResults0%
preprocessResults0%
isHidingEntry0%
canSeeUndeleteDiffs0%
getEditBox0%
getEditorControls0%
getAceConfig0%
buildEditBox0%
getSuggestionsDropdown0%
getEditorControls0%
__construct0%
getInputHTML0%
checkAllFilters0%
__construct0%
getAuthority0%
__construct0%
onBeforeCreateEchoEvent0%
onUploadStashFile0%
canSeeUndeleteDiffForPage0%
__construct0%
onPageSaveComplete0%
__construct0%
getEditBox0%
getCondsLimitTag0%
onUserMergeAccountFields0%
execute0%
recentChangesLine0%
insertUserRelatedLinks0%
insertComment0%
insertLogEntry0%
insertRollback0%
testUserForCreation0%
publishEntry0%
__construct0%
__construct0%
getCacheKeyForStatus0%
execute0%
execute0%
__construct0%
purgeTagCache0%
getTagsDefinedByActiveFilters0%
getTagsDefinedByFilters0%
loadTagsFromDb0%
loadTags0%
onRecentChange_save0%
run0%
onRenameUserSQL0%
matchesPattern0%
formatValue0%
getQueryInfo0%
getCellAttrs0%
getTitle0%
__construct0%
getQueryInfo0%
preprocessResults0%
reallyDoQuery0%
getFieldNames0%
__construct0%
formatValue0%
getHighlightedPattern0%
getRowClass0%
getIndexField0%
isFieldSortable0%
__construct0%
formatRow0%
doFormatRow0%
getFieldNames0%
preprocessResults0%
getEmptyBody0%
getMessageKey0%
getQueryInfo0%
__construct0%
formatRow0%
extractParameters0%
getMessageKey0%
extractParameters0%
getMessageParameters0%
getMessageParameters0%
getMessageKey0%
getCacheVersion27%
execute41%
checkRegexMatchesEmpty42%
replaceLegacyParameters54%
updateEmergencyCache60%
checkConditions61%
insertLocalLogEntries68%
getUploadVars70%
getEditVars70%
onEditFilterMergedContent72%
filterUpload73%
doSaveFilter73%
raiseCondCount75%
runForStash80%
filterEdit80%
getStashEditVars83%
run85%
checkSyntax85%
actionsParamsToConsequence85%
newVariableHolderForEdit85%
validateTag86%
onArticleDelete88%

Project Risks

Method CRAP
execute2256
showList1980
buildFilterEditor1406
execute870
doFormatRow870
buildConsequenceSelector870
show506
show342
formatValue342
doTest342
loadActions240
formatValue182
loadSpec182
show156
showDetails156
formatValue132
showList110
execute72
getExistingSelector72
loadData72
buildTestConditions72
getHighlightedPattern56
saveHideForm56
show56
searchForm56
showPrivateDetails56
showExaminerForLogEntry56
attemptSave56
show56
insertExtra56
execute53
normalizeBlocks42
execute42
formatDiff42
loadRequest42
loadParameters42
show42
getFieldNames42
loadParameters30
show30
publishEntry30
doLookup30
showResults30
reallyDoQuery30
getCellAttrs30
loadTagsFromDb30
buildEditBox30
loadFromDatabase30
addNavigationLinks30
doSaveFilter25
format20
getHeaderMessage20
showExaminer20
loadImportRequest20
buildPrivateDetailsTable20
getPrivateDetailsRow20
showExaminerForRC20
buildVisibilityConditions20
loadFilterData20
showRevertableActions20
getDiffRow20
recentChangesLine20
__construct20
preprocessResults20
matchesPattern20
getRowClass20
isFieldSortable20
canSeeUndeleteDiffForPage20
getQueryInfo20
preprocessResults20
getFieldNames20
getMessageParameters20
getConsequence20
attemptRevert20
insertLocalLogEntries13
getUploadVars12
actionsParamsToConsequence12
__construct12
insertUserRelatedLinks12
buildConsequenceEditor12
loadTags12
preprocessResults12
getEditBox12
run12
show12
loadParameters12
insertComment12
getQueryInfo12
entryHasAssociatedDeletedRev12
isHidingEntry12
showStatus12
show12
run10
replaceLegacyParameters9
filterUpload7
checkConditions6
validateTag6
show6
testUserForCreation6
extractParameters6
getAbsoluteBlockDuration6
getUserLinks6
onRecentChange_save6
execute6
stringifyActions6
getDeleteButton6
getListToggle6
canSeeUndeleteDiffs6
checkPrivateDetailsAccessReason6
getActionMessage6
getMessageKey6
getTitle6
getLinksFromDB6
extractParameters6
getSuggestionsDropdown6
onUploadStashFile6
filterEdit5
checkRegexMatchesEmpty4
getEditVars4
updateEmergencyCache3
getCacheVersion3
onEditFilterMergedContent3
raiseCondCount3
runForStash3
getStashEditVars3
onArticleDelete3
checkSyntax2
newVariableHolderForEdit2