Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\WikiLambda\AWStorage\AWFragmentStore0%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiLogFormatter0%
MediaWiki\Extension\WikiLambda\Diff\DiffOpMove0%
MediaWiki\Extension\WikiLambda\Fields\HTMLZLanguageSelectField0%
MediaWiki\Extension\WikiLambda\Fields\HTMLZTypeSelectField0%
MediaWiki\Extension\WikiLambda\OrchestratorException0%
MediaWiki\Extension\WikiLambda\ParserFunction\ParsoidWrappingParserOutputProvider0%
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPFragment0%
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPendingFragment0%
MediaWiki\Extension\WikiLambda\Special\DuplicateObjectLabelsPager0%
MediaWiki\Extension\WikiLambda\Special\SpecialCreateObject0%
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateObjectNames0%
MediaWiki\Extension\WikiLambda\Special\SpecialListMissingLabels0%
MediaWiki\Extension\WikiLambda\Special\SpecialRunFunction0%
MediaWiki\Extension\WikiLambda\ZErrorException0%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectContentDifferenceEngine0%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectHistoryAction0%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectSlotDiffRenderer0%
MediaWiki\Extension\WikiLambda\WikidataEntityLookup22%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiUsageRemoval40%
MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler49%
MediaWiki\Extension\WikiLambda\WikifunctionCallException50%
MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks51%
MediaWiki\Extension\WikiLambda\PublicAPI\PublicApiRun57%
MediaWiki\Extension\WikiLambda\HookHandler\PagePostSaveHandler59%
MediaWiki\Extension\WikiLambda\Cache\MemcachedWrapper60%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiFunctionCall66%
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry67%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectEditAction70%
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope70%
MediaWiki\Extension\WikiLambda\HookHandler\PageEditingHandler72%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString73%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiUsageUpdate74%
MediaWiki\Extension\WikiLambda\ZObjectFactory75%
MediaWiki\Extension\WikiLambda\HookHandler\PageRenderingHandler76%
MediaWiki\Extension\WikiLambda\Special\SpecialViewObject77%
MediaWiki\Extension\WikiLambda\InitialContentSnapshot77%
MediaWiki\Extension\WikiLambda\Diff\DiffMatrix79%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiConfigProvider80%
MediaWiki\Extension\WikiLambda\RESTAPI\FunctionCallHandler80%
MediaWiki\Extension\WikiLambda\Jobs\WikifunctionsClientRequestJob81%
MediaWiki\Extension\WikiLambda\ZObjects\ZObject82%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiAbstractWikiFetchSection82%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectSecondaryDataRemoval83%
MediaWiki\Extension\WikiLambda\Renderer\WikifunctionsSanitiserTokenHandler84%
MediaWiki\Extension\WikiLambda\OrchestratorRequest84%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiQueryZFunctionReference85%
MediaWiki\Extension\WikiLambda\AWStorage\AWArticleMetadata85%
MediaWiki\Extension\WikiLambda\HookHandler\RepoHooks85%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractContentDataUpdate86%
MediaWiki\Extension\WikiLambda\Jobs\ExecuteTestAndCacheJob86%
MediaWiki\Extension\WikiLambda\ZObjects\ZFunction86%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectContentHandler86%
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiContent87%
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPFragmentHandler87%
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsCallDefaultValues87%
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsAttached88%
MediaWiki\Extension\WikiLambda\ZObjects\ZNaturalLanguage88%
MediaWiki\Extension\WikiLambda\Diff\ZObjectDiffVisualiser88%
MediaWiki\Extension\WikiLambda\Renderer\WikifunctionsFragmentRenderer88%
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectPage88%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest89%

Project Risks

Class CRAP
MediaWiki\Extension\WikiLambda\Special\SpecialListMissingLabels306
MediaWiki\Extension\WikiLambda\HookHandler\PageRenderingHandler234
MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks210
MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler194
MediaWiki\Extension\WikiLambda\Special\SpecialCreateObject156
MediaWiki\Extension\WikiLambda\HookHandler\PagePostSaveHandler155
MediaWiki\Extension\WikiLambda\Diff\ZObjectDiffVisualiser137
MediaWiki\Extension\WikiLambda\WikidataEntityLookup136
MediaWiki\Extension\WikiLambda\Special\SpecialRunFunction132
MediaWiki\Extension\WikiLambda\ZObjectFactory118
MediaWiki\Extension\WikiLambda\HookHandler\RepoHooks112
MediaWiki\Extension\WikiLambda\Cache\MemcachedWrapper95
MediaWiki\Extension\WikiLambda\Renderer\WikifunctionsSanitiserTokenHandler92
MediaWiki\Extension\WikiLambda\Special\DuplicateObjectLabelsPager90
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateObjectNames90
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry81
MediaWiki\Extension\WikiLambda\OrchestratorRequest75
MediaWiki\Extension\WikiLambda\RESTAPI\FunctionCallHandler70
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope63
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPFragmentHandler63
MediaWiki\Extension\WikiLambda\HookHandler\PageEditingHandler61
MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest58
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectContentHandler58
MediaWiki\Extension\WikiLambda\Jobs\WikifunctionsClientRequestJob52
MediaWiki\Extension\WikiLambda\ZObjects\ZObject50
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiContent47
MediaWiki\Extension\WikiLambda\InitialContentSnapshot45
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectSlotDiffRenderer42
MediaWiki\Extension\WikiLambda\WikifunctionCallException38
MediaWiki\Extension\WikiLambda\ZObjects\ZFunction36
MediaWiki\Extension\WikiLambda\ActionAPI\ApiFunctionCall32
MediaWiki\Extension\WikiLambda\Jobs\ExecuteTestAndCacheJob31
MediaWiki\Extension\WikiLambda\Special\SpecialViewObject30
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiLogFormatter30
MediaWiki\Extension\WikiLambda\ActionAPI\ApiAbstractWikiFetchSection29
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString28
MediaWiki\Extension\WikiLambda\Diff\DiffMatrix28
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectEditAction28
MediaWiki\Extension\WikiLambda\PublicAPI\PublicApiRun26
MediaWiki\Extension\WikiLambda\Fields\HTMLZLanguageSelectField20
MediaWiki\Extension\WikiLambda\Fields\HTMLZTypeSelectField20
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectHistoryAction20
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiUsageUpdate17
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsCallDefaultValues14
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiConfigProvider13
MediaWiki\Extension\WikiLambda\ActionAPI\ApiQueryZFunctionReference12
MediaWiki\Extension\WikiLambda\ZObjects\ZNaturalLanguage12
MediaWiki\Extension\WikiLambda\ParserFunction\ParsoidWrappingParserOutputProvider12
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPendingFragment12
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectContentDifferenceEngine12
MediaWiki\Extension\WikiLambda\AWStorage\AWArticleMetadata9
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractContentDataUpdate8
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectPage8
MediaWiki\Extension\WikiLambda\AbstractContent\AbstractWikiUsageRemoval7
MediaWiki\Extension\WikiLambda\Renderer\WikifunctionsFragmentRenderer7
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsAttached6
MediaWiki\Extension\WikiLambda\ParserFunction\WikifunctionsPFragment6
MediaWiki\Extension\WikiLambda\ZObjectContent\ZObjectSecondaryDataRemoval3

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
createFailingFragmentBlock0%
createPendingFragmentBlock0%
getWikitextForTransclusion0%
getTextForSummary0%
convert0%
supportsRedirects0%
createDifferenceEngine0%
getSlotDiffRendererWithOptions0%
getMessageKey0%
getMessageParameters0%
isInternal0%
isInternal0%
isInternal0%
isInternal0%
run0%
setLogger0%
getLogger0%
getStats0%
makeMemcachedKey0%
isStaleFragment0%
getEditCountByRow0%
getEditCountByCol0%
__toString0%
__construct0%
getValue0%
getOldIndex0%
getNewIndex0%
__serialize0%
__unserialize0%
toArray0%
fieldPathOf0%
renderListLines0%
__construct0%
getOptions0%
__construct0%
getOptions0%
getOptionName0%
abstractContentSave0%
getAbstractUserPermissionsErrors0%
matchRepoAndAbstractRoutes0%
onWebRequestPathInfoRouter0%
onParserGetVariableValueSwitch0%
onSpecialStatsAddExtra0%
maybeRestoreInitialContent0%
ignoreDuplicates0%
getDeduplicationInfo0%
ignoreDuplicates0%
getDeduplicationInfo0%
__construct0%
getRequest0%
createAbstractViewPageHtmlTitle0%
applyPageTitleSuffix0%
getTypeFilter0%
getEmptyBody0%
__construct0%
getParserOutput0%
newFromLiteral0%
__construct0%
fallbackContent0%
getTypeDependencies0%
applyCacheControl0%
getResponseBodySchemaFileName0%
needsWriteAccess0%
applyCacheControl0%
getResponseBodySchemaFileName0%
needsWriteAccess0%
instanceOfZErrorType0%
handleImageElement0%
__construct0%
getFieldNames0%
formatValue0%
getQueryInfo0%
getTableClass0%
getIndexField0%
getDefaultSort0%
isFieldSortable0%
getGroupName0%
isListed0%
__construct0%
getRestriction0%
getGroupName0%
getDescription0%
isListed0%
userCanExecute0%
displayNotAvailableError0%
execute0%
getGroupName0%
__construct0%
getGroupName0%
getDescription0%
isListed0%
userCanExecute0%
execute0%
getGroupName0%
isListed0%
__construct0%
getGroupName0%
getDescription0%
isListed0%
userCanExecute0%
getParameters0%
execute0%
getHeaderTitle0%
getHeaderForm0%
getGroupName0%
getGroupName0%
__construct0%
getRestriction0%
getGroupName0%
getDescription0%
isListed0%
userCanExecute0%
execute0%
getGroupName0%
getGroupName0%
parseEntityId0%
getMessageKey0%
getErrorCode0%
getZErrorType0%
fromArray0%
__construct0%
getZError0%
getZErrorMessage0%
getZErrorType0%
getWikitextForTransclusion0%
getTextForSummary0%
convert0%
generateContentDiffBody0%
getName0%
getRestriction0%
doesWrites0%
getPageTitle0%
__construct0%
getDiff0%
getExtraCacheKeys0%
toDiffArray0%
insertZObjectAliases0%
searchFunctions0%
getZid0%
getFunctionZidOrNull0%
resolveZObjectLabel0%
getArgumentDeclarations0%
getValueAsList0%
isValid0%
onResourceLoaderRegisterModules2%
ensureZObjectStoreIsPresent11%
resolveAbstractLabel14%
loadProviderList15%
extractInnerObject16%
validateCachedResponse18%
register19%
setMonoLingualString21%
getWikidataItemForTitle22%
getErrors23%
makeRequest26%
wikidataItemExists28%
doUpdate33%
getFieldsForSearchIndex37%
pushZObject39%
submitMetricsEvent40%
ensureZObjectContentModelDefined40%
run40%
newSiteMatrix40%
filterMatches41%
getExternalUserNames47%
getStoredSectionFragments50%
executeGenerator50%
getIndicesOfMaxEdits50%
monolingualText50%
isUrlSpamBlocked50%
validateBundle51%
run54%
getAssociatedZids55%
onRecentChange_save58%
orchestrateTestExecution60%
fetchFunctionFromWikifunctionsApi60%
getKeyLabel62%
importPages62%
__construct62%
set63%
fetchZObject63%
run63%
isValid64%
doUpdate66%
dieWithZError66%
recordOp66%
makeTitleForPossiblyRemoteZObject66%
onCommunityConfigurationProvider_initList66%
fetchAbstractModeLabel66%
fetchRepoModeLabel66%
getDefaultLanguage66%
decodeHtmlFragmentValue66%
restoreImagePlaceholders66%
getEngineHints66%
userCanExecute66%
userCanExecute66%
getAliases66%
show66%
getTitle66%
getAliasesForLanguageCode66%
generateOpRowHtml68%
updateZObject68%
extractObjectType69%
onGetUserPermissionsErrors70%
initializeZObjectJoinTable71%
writeManifest71%
isValid71%
updateSecondaryTables72%
isValid74%
getRenderedLanguages75%
monolingualLanguageZid75%
languageAttributes75%
isAssociative75%
onParserFirstCallInit75%
getClientTargetUrl75%
getWikifunctionsLanguageMapping75%
singleton75%
loadBlockedDomains75%
serializeContent75%
getTargetZObjectWithLabels75%
getZObjectEditTitle75%
isValid75%
run75%
getRelatedZObjectsOfInstance76%
validateRequestedObject76%
renderPathLabel76%
getSerialized76%
execute76%
getAbstractContentForTitle76%
remoteCall77%
create77%
onPageDeleteComplete77%
onNamespaceIsMovable77%
isValid77%
fillParserOutput78%
getTargetFunction78%
isValid78%
provideOptedIn79%
renderEntry79%
getSectionQids80%
makeKey80%
labelWithLanguage80%
sidedValue80%
valueKeyOf80%
getDefaultDate80%
isZObjectKeyKnown80%
getMatchingDomains80%
getReturnType80%
isValid80%
createPersistentContent80%
fetchLanguageCodeFromZid81%
isValid81%
insertContentObject82%
validatePersistentKeys82%
doUpdate82%
createInitialContent82%
fetchDefinition83%
navigate83%
isViewOnWhichToShowTabs83%
restoreSecondaryTables83%
getUndoSummary83%
getExternalRepresentation83%
getReturnType83%
isValid83%
run84%
deleteUsageForPages84%
fetchContent85%
run85%
getQueryInfo85%
doUpdate85%
getRenderAWFragmentFunction85%
deleteUsageForFunctions85%
getDiffOpForElement85%
renderLines85%
onSidebarBeforeOutput85%
onPageMoveComplete85%
getFunctionSchemataSha85%
getWikidataItem85%
sanitiseAttributes85%
endTag85%
getTargetTitle85%
getReferencedRevisionIds85%
createKeyValues86%
doUpdate86%
repoContentSave87%
runOrchestratorWork87%
deleteUsageForWiki87%
onGetMagicVariableIDs87%
applyRegisteredConfig87%
isUndoContent87%
getDescription87%
pass88%
__construct88%
dumpPages88%
run88%
onMultiContentSave88%
getZObjectViewPageHTMLTitle88%
removeReferenceFromFunction88%
sourceToFragment89%

Project Risks

Method CRAP
getErrors200
getTypeDependencies156
onRecentChange_save146
run63
getParameters56
makeRequest49
remoteCall46
maybeRestoreInitialContent42
updateZObject36
matchRepoAndAbstractRoutes30
searchFunctions30
getFunctionZidOrNull30
resolveZObjectLabel30
isValid30
resolveAbstractLabel28
validateRequestedObject28
validateBundle24
create21
fieldPathOf20
userCanExecute20
getPageTitle20
insertZObjectAliases20
doUpdate19
extractObjectType19
execute19
orchestrateTestExecution18
register18
isValid17
run16
run16
insertContentObject16
getStoredSectionFragments16
isValid14
pushZObject13
loadProviderList13
getAssociatedZids13
renderEntry13
sourceToFragment13
createKeyValues12
updateSecondaryTables12
provideOptedIn12
convert12
getMessageKey12
getStats12
makeMemcachedKey12
renderListLines12
abstractContentSave12
onParserGetVariableValueSwitch12
createAbstractViewPageHtmlTitle12
applyCacheControl12
applyCacheControl12
handleImageElement12
userCanExecute12
execute12
execute12
convert12
generateContentDiffBody12
getDiff12
getZid12
createPersistentContent11
onResourceLoaderRegisterModules11
fillParserOutput11
getUndoSummary10
repoContentSave10
isValid9
set9
ensureZObjectStoreIsPresent9
__construct9
run9
renderPathLabel8
show8
isValid8
fetchContent8
run8
getDiffOpForElement8
applyRegisteredConfig8
__construct7
fetchZObject7
getSerialized7
isValid7
setMonoLingualString7
isZObjectKeyKnown7
createInitialContent7
getWikidataItemForTitle7
isValid7
doUpdate7
getTargetTitle7
generateOpRowHtml7
onGetUserPermissionsErrors6
run6
fetchFunctionFromWikifunctionsApi6
getAbstractContentForTitle6
onNamespaceIsMovable6
isValid6
getExternalUserNames6
wikidataItemExists6
getExternalRepresentation6
getQueryInfo6
getReferencedRevisionIds6
pass6
removeReferenceFromFunction6
getMessageParameters6
__toString6
__construct6
getOptions6
__construct6
getOptions6
getOptionName6
getAbstractUserPermissionsErrors6
onSpecialStatsAddExtra6
getParserOutput6
newFromLiteral6
__construct6
instanceOfZErrorType6
formatValue6
userCanExecute6
userCanExecute6
execute6
execute6
parseEntityId6
getErrorCode6
getZErrorType6
fromArray6
getArgumentDeclarations6
getValueAsList6
doUpdate5
doUpdate5
getRelatedZObjectsOfInstance5
getTargetFunction5
valueKeyOf5
fetchLanguageCodeFromZid5
run5
onPageMoveComplete5
sanitiseAttributes5
onMultiContentSave5
ensureZObjectContentModelDefined4
newSiteMatrix4
getKeyLabel4
importPages4
filterMatches4
onCommunityConfigurationProvider_initList4
extractInnerObject4
validateCachedResponse4
onPageDeleteComplete4
validatePersistentKeys4
fetchDefinition4
navigate4
isViewOnWhichToShowTabs4
restoreSecondaryTables4
onSidebarBeforeOutput4
getWikidataItem4
getZObjectViewPageHTMLTitle4
makeTitleForPossiblyRemoteZObject3
getDefaultLanguage3
decodeHtmlFragmentValue3
getAliasesForLanguageCode3
initializeZObjectJoinTable3
monolingualLanguageZid3
isAssociative3
getWikifunctionsLanguageMapping3
loadBlockedDomains3
isValid3
labelWithLanguage3
sidedValue3
getDefaultDate3
getMatchingDomains3
getReturnType3
isValid3
getReturnType3
deleteUsageForPages3
renderLines3
getFunctionSchemataSha3
endTag3
runOrchestratorWork3
getDescription3
dumpPages3
getFieldsForSearchIndex2
submitMetricsEvent2
getIndicesOfMaxEdits2
monolingualText2
isUrlSpamBlocked2
dieWithZError2
recordOp2
fetchAbstractModeLabel2
fetchRepoModeLabel2
restoreImagePlaceholders2
getEngineHints2
userCanExecute2
userCanExecute2
getAliases2
getTitle2
writeManifest2
getRenderedLanguages2
languageAttributes2
onParserFirstCallInit2
getClientTargetUrl2
singleton2
serializeContent2
getTargetZObjectWithLabels2
getZObjectEditTitle2
getSectionQids2
makeKey2
doUpdate2
getRenderAWFragmentFunction2
deleteUsageForWiki2
deleteUsageForFunctions2
onGetMagicVariableIDs2
isUndoContent2