Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
UpdateTypedLists0%
MediaWiki\Extension\WikiLambda\Validation\YumYumYamlLoader0%
UpdateCanonicalStrings0%
ReloadBuiltinData0%
MediaWiki\Extension\WikiLambda\Maintenance\ManageForeignResources0%
GenerateDependenciesFile0%
MediaWiki\Extension\WikiLambda\ZObjectSlotDiffRenderer0%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate0%
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataRemoval0%
MediaWiki\Extension\WikiLambda\ZObjectPage0%
MediaWiki\Extension\WikiLambda\API\ApiPerformTest0%
MediaWiki\Extension\WikiLambda\ZObjectEditAction0%
MediaWiki\Extension\WikiLambda\ZObjectContentDifferenceEngine0%
MediaWiki\Extension\WikiLambda\ZErrorException0%
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction0%
MediaWiki\Extension\WikiLambda\Validation\SchemaWrapper0%
MediaWiki\Extension\WikiLambda\Special\SpecialCreateZObject0%
MediaWiki\Extension\WikiLambda\Special\SpecialListZObjectsByType0%
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateZObjectLabels0%
MediaWiki\Extension\WikiLambda\Special\DuplicateZObjectLabelsPager0%
MediaWiki\Extension\WikiLambda\Special\SpecialEvaluateFunctionCall0%
MediaWiki\Extension\WikiLambda\ZErrorFactory3%
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject6%
MediaWiki\Extension\WikiLambda\Validation\ValidationStatus20%
MediaWiki\Extension\WikiLambda\Validation\SchemaFactory22%
MediaWiki\Extension\WikiLambda\API\ApiFunctionCall26%
MediaWiki\Extension\WikiLambda\Hooks40%
MediaWiki\Extension\WikiLambda\ZObjects\ZError41%
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope41%
MediaWiki\Extension\WikiLambda\ZObjectContentHandler42%
MediaWiki\Extension\WikiLambda\ZObjects\ZString43%
MediaWiki\Extension\WikiLambda\ZObjects\ZObject48%
MediaWiki\Extension\WikiLambda\ZObjects\ZType48%
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry53%
MediaWiki\Extension\WikiLambda\ZObjects\ZTypedList56%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString58%
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualStringSet59%
MediaWiki\Extension\WikiLambda\ZObjects\ZGenericError64%
MediaWiki\Extension\WikiLambda\ZObjects\ZReference69%
MediaWiki\Extension\WikiLambda\API\ApiZObjectEditor74%
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry75%
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet75%
MediaWiki\Extension\WikiLambda\ZObjectStore76%
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjects76%
MediaWiki\Extension\WikiLambda\ZObjectFactory77%
MediaWiki\Extension\WikiLambda\ZObjectContent78%
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualString84%
MediaWiki\Extension\WikiLambda\API\ApiQueryZFunctionReference85%
MediaWiki\Extension\WikiLambda\ZObjects\ZKey86%
MediaWiki\Extension\WikiLambda\ZObjects\ZFunctionCall86%
MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator88%
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjectLabels88%

Project Risks

Class CRAP
MediaWiki\Extension\WikiLambda\ZErrorFactory10535
MediaWiki\Extension\WikiLambda\API\ApiPerformTest1260
MediaWiki\Extension\WikiLambda\Hooks1147
UpdateTypedLists506
UpdateCanonicalStrings306
MediaWiki\Extension\WikiLambda\ZObjectContentHandler272
MediaWiki\Extension\WikiLambda\Special\SpecialListZObjectsByType272
MediaWiki\Extension\WikiLambda\ZObjects\ZObject267
MediaWiki\Extension\WikiLambda\ZObjects\ZPersistentObject250
MediaWiki\Extension\WikiLambda\ZObjects\ZResponseEnvelope225
MediaWiki\Extension\WikiLambda\API\ApiFunctionCall195
MediaWiki\Extension\WikiLambda\ZObjectSecondaryDataUpdate182
GenerateDependenciesFile156
MediaWiki\Extension\WikiLambda\ZObjectFactory121
MediaWiki\Extension\WikiLambda\ZObjectStore113
MediaWiki\Extension\WikiLambda\ZObjects\ZType101
MediaWiki\Extension\WikiLambda\Special\DuplicateZObjectLabelsPager90
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualString84
MediaWiki\Extension\WikiLambda\Validation\SchemaFactory79
MediaWiki\Extension\WikiLambda\ZObjects\ZError75
MediaWiki\Extension\WikiLambda\Validation\YumYumYamlLoader72
MediaWiki\Extension\WikiLambda\ZObjectPage72
MediaWiki\Extension\WikiLambda\ZObjects\ZTypedList67
MediaWiki\Extension\WikiLambda\ZObjectContent50
MediaWiki\Extension\WikiLambda\Registry\ZTypeRegistry50
MediaWiki\Extension\WikiLambda\Registry\ZErrorTypeRegistry38
MediaWiki\Extension\WikiLambda\ZObjects\ZString32
MediaWiki\Extension\WikiLambda\ZObjectEditAction30
ReloadBuiltinData30
MediaWiki\Extension\WikiLambda\Special\SpecialListDuplicateZObjectLabels30
MediaWiki\Extension\WikiLambda\ZObjects\ZMultiLingualStringSet27
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjects24
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualStringSet21
MediaWiki\Extension\WikiLambda\ZObjectHistoryAction20
MediaWiki\Extension\WikiLambda\ZObjects\ZKey19
MediaWiki\Extension\WikiLambda\Validation\ValidationStatus17
MediaWiki\Extension\WikiLambda\ZObjects\ZFunctionCall13
MediaWiki\Extension\WikiLambda\API\ApiQueryZObjectLabels13
MediaWiki\Extension\WikiLambda\API\ApiZObjectEditor13
MediaWiki\Extension\WikiLambda\ZObjectContentDifferenceEngine12
MediaWiki\Extension\WikiLambda\ZObjects\ZGenericError10
MediaWiki\Extension\WikiLambda\ZObjects\ZReference8
MediaWiki\Extension\WikiLambda\ZObjects\ZMonoLingualString8
MediaWiki\Extension\WikiLambda\API\ApiQueryZFunctionReference8
MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getArgumentDeclarations0%
getDiff0%
fetchBatchZObjects0%
insertZObjectAliases0%
isValidZObjectResolver0%
applyTransformation0%
getDefinition0%
getZErrorType0%
getMessage0%
getErrorData0%
buildType0%
__construct0%
getSerialized0%
getZValue0%
getSerialized0%
getSerialized0%
getValueAsList0%
internalGetStringForLanguage0%
getValueAsList0%
getSerialized0%
setValueByKey0%
doUpdate0%
doUpdate0%
addLinkedZObject0%
getPageTitleMsg0%
copy0%
isCountable0%
generateContentDiffBody0%
makeContent0%
generateHTMLOnEdit0%
fillParserOutput0%
createDifferenceEngine0%
getSlotDiffRendererWithOptions0%
getName0%
executeGenerator0%
__construct0%
doesWrites0%
validatePersistentKeys0%
getPageTitle0%
__construct0%
newSuccess0%
newFatal0%
getWikiPage0%
getErrors0%
isOK0%
getTitle0%
getZValue0%
extractLinkedZObjects0%
getNativeData0%
spacesToTabs0%
spacesToTabs0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
updateInDatabase0%
transformCanonicalStrings0%
updateInFiles0%
generateDependenciesJSON0%
updateCanonicalRefToString0%
__construct0%
execute0%
updateInDatabase0%
spacesToTabs0%
getAllBuiltinZids0%
updateInFiles0%
validatePersistentLabel0%
transformTypedLists0%
writeDependenciesFile0%
execute0%
getSerialized0%
getSerialized0%
__construct0%
getDefinition0%
isValid0%
getZid0%
getInternalZType0%
getLabels0%
getLabel0%
getAliases0%
getSerialized0%
__construct0%
__construct0%
getDefinition0%
getZValue0%
getTypeId0%
getTypeKeys0%
getTypeValidator0%
getZKey0%
buildType0%
getSerializedCanonical0%
getSerializedNormal0%
returnEmptyTypedList0%
getSize0%
show0%
getTextForSummary0%
execute0%
getFieldNames0%
formatValue0%
getQueryInfo0%
getTableClass0%
getIndexField0%
getDefaultSort0%
isFieldSortable0%
__construct0%
getGroupName0%
getDescription0%
__construct0%
getZFunctionBuiltInName0%
getGroupName0%
getDescription0%
execute0%
__construct0%
getGroupName0%
getDescription0%
getWikitextForTransclusion0%
execute0%
__construct0%
getGroupName0%
getDescription0%
__construct0%
isZFunctionBuiltIn0%
fetchZObjects0%
dieWithZError0%
makeRequest0%
wrapErrorFromFunctionCall0%
__construct0%
execute0%
executeGenerator0%
run0%
executeFunctionCall0%
isInternal0%
executeGenerator0%
executeGenerator0%
executeGenerator0%
registerExtension0%
isBuiltinZErrorType0%
onCodeEditorGetPageLanguage0%
onBeforePageDisplay0%
onGetUserPermissionsErrors0%
onLoadExtensionSchemaUpdates0%
getDataPath0%
onNamespaceIsMovable0%
onParserFirstCallInit0%
createFunctionCallJSON0%
parserFunctionCallback0%
fetchZErrorType0%
instanceOfZErrorType0%
execute0%
updateCanonicalTypedLists0%
identifyError0%
getZError0%
populateCache0%
groupErrors0%
loadSchema0%
registerPath0%
__construct0%
__construct0%
getZErrorMessage0%
errorMatchesDescriptor0%
getZErrorType0%
getErrorDescriptors0%
createZErrorList0%
errorMatchesType0%
flattenErrors0%
getDataType0%
buildStructureValidationZErrorItem0%
createValidationZError0%
identifyNestedErrors0%
__construct0%
parse0%
__construct0%
getTextForSearchIndex0%
getAliases0%
getCanonicalFormFactory0%
createUnknownValidationError0%
create0%
createGenericError0%
__construct0%
createZErrorInstance0%
createLabelClashZErrors0%
createArrayElementZError0%
validate0%
createKeyValueZError0%
getErrors22%
isValid30%
register32%
extractInnerObject33%
updateZObject39%
__construct42%
__construct50%
isValidZObjectList58%
getZErrorTypeLabel62%
createKeyValues66%
getStringForLanguageCode66%
isValid66%
isValid66%
getAliasesForLanguageCode66%
isValid66%
isValid66%
extractObjectType71%
isValid72%
singleton75%
serializeContent75%
isValid77%
run79%
isValid80%
getReturnType80%
buildStructureValidationZError80%
__construct80%
insertContentObject80%
trackSelfReference81%
createPersistentContent82%
getReturnType83%
isValid83%
isValid83%
onMultiContentSave84%
getLabelOfFunctionArgument84%
isValid85%
getExternalRepresentation85%
extractHumanReadableZObject85%
createInitialContent86%
createChild86%
searchZObjectLabels88%
preSaveTransform88%
getValueGivenKey88%
getTypeString88%

Project Risks

Method CRAP
createZErrorInstance1806
run600
getErrors244
doUpdate156
errorMatchesDescriptor110
parserFunctionCallback90
identifyNestedErrors90
generateDependenciesJSON72
extractLinkedZObjects72
internalGetStringForLanguage56
isValidZObjectResolver56
getSerialized56
getDataType56
fillParserOutput56
execute56
isValid56
updateZObject50
getMessage42
onGetUserPermissionsErrors42
makeRequest42
updateInDatabase42
fetchZObjects42
create30
groupErrors30
identifyError30
getErrorDescriptors30
applyTransformation30
flattenErrors30
updateCanonicalRefToString30
execute20
validatePersistentLabel20
executeFunctionCall20
updateInFiles20
getPageTitle20
updateInDatabase20
isValid19
extractObjectType18
createChild17
createKeyValues17
run17
insertContentObject16
isValid13
isValid13
register12
createLabelClashZErrors12
populateCache12
fetchZErrorType12
fetchBatchZObjects12
onCodeEditorGetPageLanguage12
getZKey12
errorMatchesType12
loadSchema12
onLoadExtensionSchemaUpdates12
insertZObjectAliases12
generateContentDiffBody12
__construct12
updateInFiles12
getSerialized12
extractHumanReadableZObject11
createPersistentContent10
onMultiContentSave8
isValid7
getExternalRepresentation7
searchZObjectLabels7
__construct6
isValidZObjectList6
isValid6
isValid6
getValueGivenKey6
getValueAsList6
execute6
execute6
getValueAsList6
getLabel6
getSerialized6
getSerializedNormal6
__construct6
getArgumentDeclarations6
isCountable6
__construct6
dieWithZError6
onBeforePageDisplay6
onNamespaceIsMovable6
onParserFirstCallInit6
createFunctionCallJSON6
instanceOfZErrorType6
formatValue6
execute6
getCanonicalFormFactory6
registerPath6
buildStructureValidationZErrorItem6
getAliases6
updateCanonicalTypedLists6
getPageTitleMsg6
validatePersistentKeys6
getTitle6
isValid5
buildStructureValidationZError5
getLabelOfFunctionArgument5
trackSelfReference4
createInitialContent4
getZErrorTypeLabel3
isValid3
getStringForLanguageCode3
getAliasesForLanguageCode3
extractInnerObject3
isValid3
getReturnType3
getReturnType3
preSaveTransform3
__construct2
isValid2
isValid2
serializeContent2
singleton2
__construct2
getTypeString2