Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Extension\WikiLambda\ActionAPI\ApiFunctionCall0%
MediaWiki\Extension\WikiLambda\Special\SpecialViewObject0%
MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler0%
MediaWiki\Extension\WikiLambda\Special\DuplicateObjectLabelsPager0%
MediaWiki\Extension\WikiLambda\Special\SpecialCreateObject0%
MediaWiki\Extension\WikiLambda\Special\SpecialListMissingLabels0%
MediaWiki\Extension\WikiLambda\Special\SpecialListObjectsByType0%
MediaWiki\Extension\WikiLambda\Special\SpecialRunFunction0%
MediaWiki\Extension\WikiLambda\ZErrorException0%
MediaWiki\Extension\WikiLambda\Pagers\BasicZObjectPager0%
MediaWiki\Extension\WikiLambda\ZErrorFactory0%
MediaWiki\Extension\WikiLambda\ZObjectEditAction0%
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction0%
LoadJsonDump0%
LoadPreDefinedObject0%
MediaWiki\Extensions\WikiLambda\Maintenance\MigrateZ16K1StringsToZ61s0%
MediaWiki\Extensions\WikiLambda\Maintenance\UpdateSecondaryTables0%
MediaWiki\Extension\WikiLambda\PublicAPI\PublicApiRun0%
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateObjectNames0%
MediaWiki\Extension\WikiLambda\ZObjectEditingPageTrait0%
MediaWiki\Extension\WikiLambda\Fields\HTMLZTypeSelectField0%
MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiQueryGeneratorBase0%
MediaWiki\Extension\WikiLambda\Jobs\CacheTesterResultsJob0%
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsConnectedConverter0%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiSupportedProgrammingLanguages0%
MediaWiki\Extension\WikiLambda\Diff\ZObjectSlotDiffRenderer0%
MediaWiki\Extension\WikiLambda\Fields\HTMLZLanguageSelectField0%
MediaWiki\Extension\WikiLambda\Diff\ZObjectContentDifferenceEngine0%
MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks2%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataRemoval11%
MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase28%
MediaWiki\Extension\WikiLambda\HookHandler\PageRenderingHandler45%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest52%
MediaWiki\Extension\WikiLambda\Hooks57%
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject58%
MediaWiki\Extension\WikiLambda\HookHandler\PageEditingHandler68%
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry69%
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualStringSet69%
MediaWiki\Extension\WikiLambda\ZObjectPage70%
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope71%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet77%
MediaWiki\Extension\WikiLambda\ZObjectFactory78%
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry80%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate80%
MediaWiki\Extension\WikiLambda\Pagers\AbstractZObjectPager81%
MediaWiki\Extension\WikiLambda\ZObjects\ZTypedError83%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString83%
MediaWiki\Extension\WikiLambda\Authorization\ZObjectAuthorization84%
MediaWiki\Extension\WikiLambda\ZObjects\ZObject84%
MediaWiki\Extension\WikiLambda\ActionAPI\ApiQueryZFunctionReference85%
MediaWiki\Extension\WikiLambda\ZObjectStore85%
MediaWiki\Extension\WikiLambda\Diff\DiffMatrix86%
MediaWiki\Extension\WikiLambda\ZObjects\ZFunction86%
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsAttached88%

Project Risks

Class CRAP
LoadPreDefinedObject9702
MediaWiki\Extension\WikiLambda\ZErrorFactory8010
MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler1190
MediaWiki\Extension\WikiLambda\ActionAPI\ApiFunctionCall756
MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest670
MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks595
LoadJsonDump462
MediaWiki\Extension\WikiLambda\PublicAPI\PublicApiRun462
MediaWiki\Extensions\WikiLambda\Maintenance\UpdateSecondaryTables420
MediaWiki\Extension\WikiLambda\Special\SpecialViewObject380
MediaWiki\Extension\WikiLambda\ZObjectEditAction306
MediaWiki\Extension\WikiLambda\Special\SpecialCreateObject240
MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase235
MediaWiki\Extension\WikiLambda\HookHandler\PageRenderingHandler226
MediaWiki\Extensions\WikiLambda\Maintenance\MigrateZ16K1StringsToZ61s210
MediaWiki\Extension\WikiLambda\Hooks197
MediaWiki\Extension\WikiLambda\Special\SpecialListMissingLabels182
MediaWiki\Extension\WikiLambda\ZObjectStore177
MediaWiki\Extension\WikiLambda\Special\SpecialListObjectsByType156
MediaWiki\Extension\WikiLambda\ZObjectFactory111
MediaWiki\Extension\WikiLambda\Special\DuplicateObjectLabelsPager90
MediaWiki\Extension\WikiLambda\Special\SpecialRunFunction90
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject88
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry65
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope62
MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiQueryGeneratorBase56
MediaWiki\Extension\WikiLambda\Authorization\ZObjectAuthorization51
MediaWiki\Extension\WikiLambda\ZObjects\ZObject47
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate42
MediaWiki\Extension\WikiLambda\ActionAPI\ApiSupportedProgrammingLanguages42
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsConnectedConverter42
MediaWiki\Extension\WikiLambda\ZObjects\ZFunction36
MediaWiki\Extension\WikiLambda\HookHandler\PageEditingHandler32
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateObjectNames30
MediaWiki\Extension\WikiLambda\Pagers\BasicZObjectPager30
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet26
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString24
MediaWiki\Extension\WikiLambda\Diff\DiffMatrix20
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction20
MediaWiki\Extension\WikiLambda\Diff\ZObjectSlotDiffRenderer20
MediaWiki\Extension\WikiLambda\Pagers\AbstractZObjectPager17
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry16
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualStringSet16
MediaWiki\Extension\WikiLambda\Fields\HTMLZLanguageSelectField12
MediaWiki\Extension\WikiLambda\Fields\HTMLZTypeSelectField12
MediaWiki\Extension\WikiLambda\Jobs\CacheTesterResultsJob12
MediaWiki\Extension\WikiLambda\Diff\ZObjectContentDifferenceEngine12
MediaWiki\Extension\WikiLambda\ActionAPI\ApiQueryZFunctionReference11
MediaWiki\Extension\WikiLambda\ZObjectPage9
MediaWiki\Extension\WikiLambda\ZObjects\ZTypedError8
MediaWiki\Extension\WikiLambda\Authorization\ZObjectFilterIsAttached6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
errorMatchesDescriptor0%
redirectToMain0%
getRobotPolicy0%
__construct0%
getZError0%
getZErrorMessage0%
getZErrorType0%
getErrorDescriptors0%
joinPath0%
readYamlAsSecretJson0%
getDataType0%
getDescription0%
errorMatchesType0%
createZErrorList0%
createValidationZError0%
createAuthorizationZError0%
createKeyValueZError0%
createArrayElementZError0%
createLabelClashZErrors0%
createZErrorInstance0%
createTypedError0%
execute0%
getGroupName0%
wrapMessageInZError0%
__construct0%
execute0%
getGroupName0%
__construct0%
getGroupName0%
getDescription0%
getParameters0%
execute0%
getHeaderTitle0%
getHeaderForm0%
getGroupName0%
__construct0%
getDescription0%
getParameters0%
execute0%
run0%
getHeaderForm0%
__construct0%
getGroupName0%
getDescription0%
userCanExecute0%
execute0%
createUnknownValidationError0%
getWikitextForTransclusion0%
getGroupName0%
findPropAndSet0%
buildType0%
__construct0%
execute0%
makeEdit0%
__construct0%
execute0%
makeEdit0%
mergeData0%
resolveConflicts0%
printDiff0%
getSerialized0%
undoChange0%
getOptions0%
__construct0%
execute0%
__construct0%
execute0%
reportTableInfo0%
printTableInfo0%
getTableInfo0%
getDefinition0%
getValueAsList0%
getTextForSummary0%
getBCP47CodeElements0%
getNativeData0%
convert0%
createDifferenceEngine0%
getName0%
getTargetZObjectWithLabels0%
getTargetZObject0%
getPageMetaTitle0%
getPageTitleMsg0%
getLabelElement0%
show0%
getSerialized0%
getRestriction0%
doesWrites0%
getPageTitle0%
getTitle0%
doUpdate0%
getRevisionById0%
pushZObject0%
fetchAllZLanguageCodes0%
fetchAllImplementations0%
getArgumentDeclarations0%
getDescription0%
getHeaderTitle0%
__construct0%
__construct0%
getEditCountByCol0%
__toString0%
execute0%
getDiff0%
toDiffArray0%
__construct0%
parserFunctionCallback0%
pass0%
makeRequest0%
generateTargetError0%
onSkinTemplateNavigation__Universal0%
onWebRequestPathInfoRouter0%
onBeforePageDisplay0%
onBeforeDisplayNoArticleText0%
getEditCountByRow0%
getLogger0%
initializeZObjectJoinTable0%
run0%
isInternal0%
isInternal0%
__construct0%
run0%
isInternal0%
isInternal0%
returnWithZError0%
setLogger0%
submitMetricsEvent0%
execute0%
executeGenerator0%
run0%
setLogger0%
getLogger0%
onLoadExtensionSchemaUpdates0%
generateContentDiffBody0%
__construct0%
getFieldNames0%
run0%
getTypeDependencies0%
applyCacheControl0%
needsWriteAccess0%
getParamSettings0%
dieRESTfullyWithZError0%
dieRESTfully0%
instanceOfZErrorType0%
__construct0%
formatValue0%
__construct0%
getQueryInfo0%
getTableClass0%
getIndexField0%
getDefaultSort0%
isFieldSortable0%
__construct0%
getGroupName0%
getDescription0%
userCanExecute0%
run0%
generateZObjectPayload0%
getEmptyBody0%
getEmptyBody0%
__construct0%
run0%
getQueryInfo0%
formatRow0%
ensureZObjectStoreIsPresent6%
extractInnerObject18%
register19%
execute22%
setMonoLingualString23%
executeFunctionCall26%
getErrors26%
isValid30%
run33%
getZid37%
filterMatches41%
onGetUserPermissionsErrors42%
getImplementationListEntry42%
isFalse45%
getIndexField50%
getAssociatedZids55%
isValid57%
getZErrorTypeLabel62%
updateZObject65%
isValid66%
getAliasesForLanguageCode66%
updateSecondaryTables66%
dieWithZError66%
doUpdate66%
getDefaultDirections66%
getAliases66%
extractObjectType71%
getTesterObject72%
isValid74%
__construct75%
singleton75%
isAssociative75%
serializeContent75%
onMultiContentSave75%
getSerialized76%
fetchContent76%
createInitialContent77%
isValid77%
isValid78%
isValid80%
getReturnType80%
create81%
trackSelfReference81%
createPersistentContent82%
validatePersistentKeys82%
getExternalRepresentation83%
getNumericMetadataValue83%
isValid83%
getReturnType83%
registerExtension83%
onNamespaceIsMovable83%
insertContentObject83%
findZTesterResult84%
onHtmlPageLinkRendererEnd84%
fillParserOutput84%
run85%
getDiffOpForElement85%
getQueryInfo85%
getRequiredCreateRights87%
deleteRelatedZObjects87%
getDescription87%
pass88%
__construct88%
compareImplementationStats88%
createZObjectViewTitle88%
maybeUpdateImplementationRanking89%

Project Risks

Method CRAP
createZErrorInstance2070
getOptions992
run431
mergeData380
run306
run272
makeEdit240
execute240
execute240
parserFunctionCallback210
run210
execute210
execute182
getErrors177
getTypeDependencies156
execute132
errorMatchesDescriptor110
makeEdit90
onSkinTemplateNavigation__Universal90
executeFunctionCall79
makeRequest56
getDataType56
getParameters56
pass42
pushZObject42
getParameters42
getDescription42
createAuthorizationZError42
doUpdate32
printDiff30
userCanExecute30
resolveConflicts30
onLoadExtensionSchemaUpdates30
getErrorDescriptors30
updateZObject22
create20
userCanExecute20
getPageTitle20
findPropAndSet20
onHtmlPageLinkRendererEnd19
extractObjectType18
register18
isValid17
getRequiredCreateRights16
onGetUserPermissionsErrors16
insertContentObject15
isFalse14
getZid14
updateSecondaryTables13
getAssociatedZids13
isValid13
applyCacheControl12
generateContentDiffBody12
convert12
run12
createLabelClashZErrors12
getPageMetaTitle12
onBeforeDisplayNoArticleText12
__construct12
getDiff12
getQueryInfo12
errorMatchesType12
show12
undoChange12
__construct12
createPersistentContent11
isValid10
findZTesterResult10
onMultiContentSave10
maybeUpdateImplementationRanking10
__construct9
fetchContent8
run8
getDiffOpForElement8
getIndexField8
getSerialized7
createInitialContent7
isValid7
isValid7
getImplementationListEntry6
getTesterObject6
isValid6
getExternalRepresentation6
getQueryInfo6
deleteRelatedZObjects6
pass6
getArgumentDeclarations6
getValueAsList6
fetchAllImplementations6
submitMetricsEvent6
execute6
getTitle6
getBCP47CodeElements6
getTableInfo6
joinPath6
initializeZObjectJoinTable6
run6
dieRESTfullyWithZError6
instanceOfZErrorType6
formatValue6
execute6
execute6
__toString6
execute6
getPageTitleMsg6
getLabelElement6
executeGenerator6
isValid5
getDefaultDirections5
ensureZObjectStoreIsPresent5
trackSelfReference5
fillParserOutput5
compareImplementationStats5
filterMatches4
extractInnerObject4
validatePersistentKeys4
createZObjectViewTitle4
execute3
setMonoLingualString3
getZErrorTypeLabel3
getAliasesForLanguageCode3
isAssociative3
getReturnType3
isValid3
getReturnType3
onNamespaceIsMovable3
getDescription3
dieWithZError2
getAliases2
serializeContent2
__construct2
singleton2
getNumericMetadataValue2
registerExtension2