Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
UpdateLanguageCodes0%
MediaWiki\Extension\WikiLambda\ZObjectSlotDiffRenderer0%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataRemoval0%
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction0%
MediaWiki\Extension\WikiLambda\ZObjects\ZKeyReference0%
MediaWiki\Extension\WikiLambda\ZObjectEditAction0%
MediaWiki\Extension\WikiLambda\API\ApiPerformTest0%
MediaWiki\Extension\WikiLambda\ZObjectContentDifferenceEngine0%
MediaWiki\Extension\WikiLambda\ZErrorException0%
MediaWiki\Extension\WikiLambda\WikiLambdaServices0%
MediaWiki\Extension\WikiLambda\ZObjects\ZQuote0%
MediaWiki\Extension\WikiLambda\Special\SpecialListZObjectsByType0%
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateZObjectLabels0%
MediaWiki\Extension\WikiLambda\Special\SpecialEvaluateFunctionCall0%
MediaWiki\Extension\WikiLambda\Special\SpecialCreateZObject0%
MediaWiki\Extension\WikiLambda\MockOrchestrator0%
UpdateCanonicalStrings0%
ReloadBuiltinData0%
MediaWiki\Extension\WikiLambda\Special\DuplicateZObjectLabelsPager0%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate0%
MediaWiki\Extension\WikiLambda\OrchestratorBase0%
MediaWiki\Extension\WikiLambda\OrchestratorInterface0%
MediaWiki\Extension\WikiLambda\Maintenance\ManageForeignResources0%
GenerateDependenciesFile0%
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjects3%
MediaWiki\Extension\WikiLambda\ZErrorFactory3%
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjectLabels3%
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject7%
MediaWiki\Extension\WikiLambda\API\ApiQueryZFunctionReference9%
MediaWiki\Extension\WikiLambda\Hooks15%
MediaWiki\Extension\WikiLambda\Validation\ValidationStatus20%
MediaWiki\Extension\WikiLambda\API\ApiFunctionCall25%
MediaWiki\Extension\WikiLambda\ZObjects\ZObject30%
MediaWiki\Extension\WikiLambda\ZObjects\ZReference41%
MediaWiki\Extension\WikiLambda\ZObjects\ZString41%
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry44%
MediaWiki\Extension\WikiLambda\ZObjectContent48%
MediaWiki\Extension\WikiLambda\ZObjects\ZType55%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString55%
MediaWiki\Extension\WikiLambda\ZObjects\ZError60%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet67%
MediaWiki\Extension\WikiLambda\API\ApiZObjectEditor68%
MediaWiki\Extension\WikiLambda\API\ApiZObjectFetcher73%
MediaWiki\Extension\WikiLambda\ZObjects\ZKey74%
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry74%
MediaWiki\Extension\WikiLambda\ZObjectFactory75%
MediaWiki\Extension\WikiLambda\ZObjectContentHandler79%
MediaWiki\Extension\WikiLambda\ZObjects\ZList79%
MediaWiki\Extension\WikiLambda\ZObjectUtils79%
MediaWiki\Extension\WikiLambda\ZObjectStore85%
MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator88%

Project Risks

Class CRAP
MediaWiki\Extension\WikiLambda\ZErrorFactory8581
MediaWiki\Extension\WikiLambda\Hooks3195
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjects381
UpdateLanguageCodes342
MediaWiki\Extension\WikiLambda\ZObjects\ZObject296
MediaWiki\Extension\WikiLambda\ZObjectContent289
UpdateCanonicalStrings272
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject219
MediaWiki\Extension\WikiLambda\ZObjectUtils213
MediaWiki\Extension\WikiLambda\Special\SpecialListZObjectsByType182
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjectLabels164
MediaWiki\Extension\WikiLambda\API\ApiPerformTest132
GenerateDependenciesFile110
MediaWiki\Extension\WikiLambda\ZObjectFactory109
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString97
MediaWiki\Extension\WikiLambda\Special\DuplicateZObjectLabelsPager90
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate90
MediaWiki\Extension\WikiLambda\ZObjects\ZType60
MediaWiki\Extension\WikiLambda\ZObjects\ZKeyReference56
MediaWiki\Extension\WikiLambda\API\ApiQueryZFunctionReference55
MediaWiki\Extension\WikiLambda\ZObjectStore54
MediaWiki\Extension\WikiLambda\API\ApiFunctionCall51
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry48
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet41
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry33
MediaWiki\Extension\WikiLambda\ZObjects\ZKey31
MediaWiki\Extension\WikiLambda\ZObjectContentHandler30
ReloadBuiltinData30
MediaWiki\Extension\WikiLambda\MockOrchestrator30
MediaWiki\Extension\WikiLambda\Special\SpecialCreateZObject30
MediaWiki\Extension\WikiLambda\Special\SpecialEvaluateFunctionCall30
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateZObjectLabels30
MediaWiki\Extension\WikiLambda\ZObjects\ZString25
MediaWiki\Extension\WikiLambda\ZObjects\ZList24
MediaWiki\Extension\WikiLambda\ZObjects\ZError20
MediaWiki\Extension\WikiLambda\ZObjectEditAction20
MediaWiki\Extension\WikiLambda\Validation\ValidationStatus17
MediaWiki\Extension\WikiLambda\ZObjects\ZReference16
MediaWiki\Extension\WikiLambda\ZObjectContentDifferenceEngine12
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction12
MediaWiki\Extension\WikiLambda\API\ApiZObjectEditor11
MediaWiki\Extension\WikiLambda\API\ApiZObjectFetcher7
MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
__construct0%
applyTransformationToKeys0%
isNullReference0%
isValidOrNullZObjectReference0%
getIterativeList0%
getDefinition0%
getZErrorType0%
getMessage0%
getDefinition0%
getZValue0%
getDefinition0%
getZValue0%
normalizeInternal0%
isValid0%
getDefinition0%
serialize0%
getDefinition0%
getDefinition0%
getDefinition0%
getValueAsList0%
getStringForLanguageOrEnglish0%
internalGetStringForLanguage0%
serialize0%
normalizeZList0%
normalize0%
getValueAsList0%
createDifferenceEngine0%
fillParserOutput0%
getTextForSearchIndex0%
getWikitextForTransclusion0%
getTextForSummary0%
getNativeData0%
getSize0%
copy0%
isCountable0%
executeGenerator0%
makeContent0%
getSlotDiffRendererWithOptions0%
insertZObjectAliases0%
getName0%
show0%
doesWrites0%
validatePersistentKeys0%
getPageTitle0%
__construct0%
doUpdate0%
__construct0%
doUpdate0%
getDiff0%
getDefinition0%
serialize0%
createUnknownValidationError0%
updateInDatabase0%
getTypeValidator0%
__construct0%
execute0%
spacesToTabs0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
transformCanonicalStrings0%
getTypeId0%
spacesToTabs0%
updateInFiles0%
updateCanonicalRefToString0%
__construct0%
execute0%
registerLanguageCodes0%
updateInDatabase0%
transformLanguageCodeIntoZid0%
spacesToTabs0%
updateInFiles0%
getTypeKeys0%
getZValue0%
getDefinition0%
getAliases0%
getZValue0%
isValid0%
addLinkedZObject0%
extractLinkedZObjects0%
serialize0%
getDefinition0%
__construct0%
getZid0%
getInternalZType0%
getLabels0%
getLabel0%
__construct0%
isValid0%
getDefinition0%
__construct0%
getZValue0%
isValid0%
serialize0%
getDefinition0%
serialize0%
getDefinition0%
serialize0%
getDefinition0%
getAliases0%
generateContentDiffBody0%
createZErrorInstance0%
createFunctionCallJSON0%
getAllowedParams0%
getExamplesMessages0%
registerExtension0%
onCodeEditorGetPageLanguage0%
onBeforePageDisplay0%
onGetUserPermissionsErrors0%
onLoadExtensionSchemaUpdates0%
insertContentObject0%
onNamespaceIsMovable0%
onHtmlPageLinkRendererEnd0%
onParserFirstCallInit0%
parserFunctionCallback0%
getAllowedParams0%
__construct0%
getInstance0%
mock0%
orchestrate0%
performTest0%
__construct0%
fetchZErrorType0%
instanceOfZErrorType0%
isBuiltinZErrorType0%
createArrayElementZError0%
__construct0%
getExamplesMessages0%
needsToken0%
formatValue0%
run0%
getAllowedParams0%
createExample0%
getExamplesMessages0%
__construct0%
execute0%
executeGenerator0%
run0%
getAllowedParams0%
getExamplesMessages0%
__construct0%
executeGenerator0%
getAllowedParams0%
isWriteMode0%
getExamplesMessages0%
__construct0%
executeGenerator0%
run0%
getAllowedParams0%
getExamplesMessages0%
__construct0%
executeGenerator0%
run0%
getAllowedParams0%
getExamplesMessages0%
mustBePosted0%
getFieldNames0%
updateMonolingualLanguageCode0%
getQueryInfo0%
getZErrorType0%
__construct0%
getGroupName0%
getDescription0%
fetchZObjects0%
__construct0%
__construct0%
getZObjectStore0%
__construct0%
getZError0%
getZErrorMessage0%
getErrorDescriptors0%
getDescription0%
buildStructureValidationZErrorItem0%
identifyNestedErrors0%
identifyError0%
flattenErrors0%
groupErrors0%
errorMatchesDescriptor0%
getDataType0%
errorMatchesType0%
createZErrorList0%
createValidationZError0%
createKeyValueZError0%
execute0%
execute0%
getGroupName0%
execute0%
__construct0%
isFieldSortable0%
getGroupName0%
getDefaultSort0%
getDescription0%
getTableClass0%
getIndexField0%
__construct0%
getDescription0%
__construct0%
getGroupName0%
execute0%
register32%
extractInnerObject33%
getKeyLabel37%
__construct50%
__construct50%
updateZObject54%
run58%
__construct62%
__construct62%
isValid66%
getStringForLanguageCode66%
getAliasesForLanguageCode66%
__construct66%
createKeyValues68%
isLanguageKnownGivenCode71%
isValid72%
singleton75%
serializeContent75%
createChild78%
getExternalRepresentation80%
buildStructureValidationZError80%
__construct80%
trackSelfReference81%
createPersistentContent82%
isValid83%
onMultiContentSave84%
createInitialContent85%
isValid85%
getValueByKey85%
preSaveTransform88%

Project Risks

Method CRAP
createZErrorInstance1332
run240
parserFunctionCallback240
onHtmlPageLinkRendererEnd182
insertContentObject156
errorMatchesDescriptor110
identifyNestedErrors90
execute72
extractLinkedZObjects72
normalizeInternal72
run72
doUpdate72
serialize56
isValid56
getDataType56
validatePersistentKeys42
onGetUserPermissionsErrors42
applyTransformationToKeys42
execute42
updateZObject32
flattenErrors30
groupErrors30
getErrorDescriptors30
identifyError30
internalGetStringForLanguage30
run30
updateInDatabase20
updateCanonicalRefToString20
__construct20
execute20
fillParserOutput20
fetchZObjects20
updateInDatabase20
registerLanguageCodes20
isValid19
createChild17
isValid13
register12
updateInFiles12
onLoadExtensionSchemaUpdates12
normalize12
onCodeEditorGetPageLanguage12
run12
errorMatchesType12
__construct12
updateInFiles12
fetchZErrorType12
getPageTitle12
generateContentDiffBody12
insertZObjectAliases12
getKeyLabel11
createPersistentContent10
createKeyValues8
onMultiContentSave8
getExternalRepresentation7
isValid6
serialize6
getValueAsList6
serialize6
getValueAsList6
serialize6
getMessage6
serialize6
__construct6
serialize6
execute6
execute6
__construct6
getIterativeList6
isValidOrNullZObjectReference6
__construct6
onBeforePageDisplay6
onNamespaceIsMovable6
createFunctionCallJSON6
getInstance6
mock6
instanceOfZErrorType6
formatValue6
execute6
execute6
execute6
buildStructureValidationZErrorItem6
getAliases6
isCountable6
show6
normalizeZList6
updateMonolingualLanguageCode6
buildStructureValidationZError5
__construct4
__construct4
trackSelfReference4
createInitialContent4
run3
getAliasesForLanguageCode3
getStringForLanguageCode3
__construct3
isLanguageKnownGivenCode3
extractInnerObject3
getValueByKey3
preSaveTransform3
__construct2
isValid2
serializeContent2
singleton2
__construct2