Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Wikibase\CreateReservedLexemes0%
Wikibase\Lexeme\MediaWiki\Actions\ViewLexemeAction0%
Wikibase\Lexeme\Domain\Merge\Exceptions\DifferentLexicalCategoriesException0%
Wikibase\Lexeme\Domain\Merge\Exceptions\LexemeLoadingException0%
Wikibase\Lexeme\Domain\Merge\Exceptions\LexemeSaveFailedException0%
Wikibase\Lexeme\Domain\Merge\Exceptions\ModificationFailedException0%
Wikibase\Lexeme\Domain\Merge\Exceptions\PermissionDeniedException0%
Wikibase\Lexeme\Domain\Merge\Exceptions\ReferenceSameLexemeException0%
Wikibase\Lexeme\Domain\RedirectCreationFailed0%
Wikibase\Lexeme\Domain\Storage\GetLexemeException0%
Wikibase\Lexeme\Domain\Storage\UpdateLexemeException0%
Wikibase\Lexeme\MediaWiki\Api\Error\FormNotFound0%
Wikibase\Lexeme\Domain\Merge\Exceptions\CrossReferencingException0%
Wikibase\Lexeme\MediaWiki\Api\Error\InvalidSenseClaims0%
Wikibase\Lexeme\MediaWiki\Api\Error\LanguageInconsistent0%
Wikibase\Lexeme\MediaWiki\Api\Error\LexemeTermLanguageCanNotBeEmpty0%
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId0%
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId0%
Wikibase\Lexeme\MediaWiki\Api\Error\SenseNotFound0%
Wikibase\Lexeme\MediaWiki\Api\RemoveSenseRequestParser0%
Wikibase\Lexeme\MediaWiki\ParserOutput\LexemeParserOutputUpdater0%
Wikibase\Lexeme\MediaWiki\Scribunto\Scribunto_LuaWikibaseLexemeAbstractEntityLibrary0%
Wikibase\Lexeme\Registrar0%
Wikibase\Lexeme\Domain\Merge\Exceptions\DifferentLanguagesException0%
Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler0%
Wikibase\Lexeme\Domain\Merge\Exceptions\ConflictingLemmaValueException0%
Wikibase\Lexeme\Domain\Diff\AddSenseDiff0%
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeAuthorizer0%
Wikibase\Lexeme\Domain\Diff\RemoveSenseDiff0%
Wikibase\Lexeme\Domain\Diff\RemoveFormDiff0%
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeRedirectorFactory0%
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeRepository0%
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeRepositoryFactory0%
Wikibase\Lexeme\DataAccess\Store\NullLabelDescriptionLookup0%
Wikibase\Lexeme\Domain\Diff\AddFormDiff0%
Wikibase\Lexeme\WikibaseLexemeServices9%
Wikibase\Lexeme\Domain\Diff\ChangeFormDiffOp25%
Wikibase\Lexeme\Domain\Diff\ChangeSenseDiffOp26%
Wikibase\Lexeme\WikibaseLexemeHooks30%
Wikibase\Lexeme\Domain\Diff\SenseDiffer42%
Wikibase\Lexeme\Domain\Diff\FormDiffer44%
Wikibase\Lexeme\MediaWiki\Api\Error\UnknownLanguage45%
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotAJsonObject57%
Wikibase\Lexeme\Domain\Diff\LexemeDiff60%
Wikibase\Lexeme\DataAccess\Store\FormTitleStoreLookup64%
Wikibase\Lexeme\DataAccess\Store\SenseTitleStoreLookup64%
Wikibase\Lexeme\MediaWiki\Api\Error\InvalidItemId66%
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotLexemeId66%
Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldIsRequired66%
Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldIsNotAnItemId66%
Wikibase\Lexeme\Domain\Diff\LexemePatcher67%
Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldHasWrongType70%
Wikibase\Lexeme\MediaWiki\Api\Error\LexemeNotFound71%
Wikibase\Lexeme\MediaWiki\Api\AddForm73%
Wikibase\Lexeme\MediaWiki\Api\AddSense73%
Wikibase\Lexeme\MediaWiki\Content\LexemeHandler74%
Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory75%
Wikibase\Lexeme\Presentation\Diff\SenseDiffView75%
Wikibase\Lexeme\MediaWiki\Api\EditFormElements76%
Wikibase\Lexeme\MediaWiki\Api\RemoveSense76%
Wikibase\Lexeme\MediaWiki\Api\RemoveForm76%
Wikibase\Lexeme\MediaWiki\Api\AddSenseRequestParser77%
Wikibase\Lexeme\Presentation\View\LexemeView78%
Wikibase\Lexeme\Domain\Diff\FormPatcher78%
Wikibase\Lexeme\MediaWiki\Api\EditSenseElements79%
Wikibase\Lexeme\Presentation\Diff\FormDiffView80%
Wikibase\Lexeme\Serialization\SenseDeserializer81%
Wikibase\Lexeme\Presentation\View\LexemeMetaTagsCreator81%
Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditFormChangeOpDeserializer82%
Wikibase\Lexeme\Domain\Model\SenseId83%
Wikibase\Lexeme\Serialization\StorageLexemeSerializer84%
Wikibase\Lexeme\MediaWiki\Api\EditSenseElementsRequest85%
Wikibase\Lexeme\Domain\Model\FormId85%
Wikibase\Lexeme\Domain\Merge\Exceptions\LexemeNotFoundException85%
Wikibase\Lexeme\MediaWiki\Api\EditFormElementsRequest85%
Wikibase\Lexeme\Domain\Diff\SensePatcher85%
Wikibase\Lexeme\MediaWiki\Api\MergeLexemes86%
Wikibase\Lexeme\DataAccess\Store\SenseRevisionLookup86%
Wikibase\Lexeme\DataAccess\Store\FormRevisionLookup86%
Wikibase\Lexeme\Domain\Model\LexemeSubEntityId88%
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpsSensesEdit88%
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpsFormsEdit88%
Wikibase\Lexeme\Domain\Diff\LexemeDiffer88%
Wikibase\Lexeme\Domain\Model\Sense88%
Wikibase\Lexeme\MediaWiki\Api\AddFormRequestParser88%

Project Risks

Class CRAP
Wikibase\Lexeme\WikibaseLexemeHooks274
Wikibase\Lexeme\WikibaseLexemeServices139
Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler110
Wikibase\Lexeme\MediaWiki\ParserOutput\LexemeParserOutputUpdater90
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeRepository90
Wikibase\Lexeme\Domain\Diff\LexemePatcher60
Wikibase\Lexeme\MediaWiki\Scribunto\Scribunto_LuaWikibaseLexemeAbstractEntityLibrary42
Wikibase\Lexeme\MediaWiki\Api\AddForm38
Wikibase\Lexeme\Domain\Diff\LexemeDiff35
Wikibase\Lexeme\Domain\Diff\SenseDiffer33
Wikibase\Lexeme\MediaWiki\Content\LexemeHandler31
Wikibase\Lexeme\Domain\Diff\FormDiffer31
Wikibase\Lexeme\MediaWiki\Api\EditFormElements31
Wikibase\Lexeme\MediaWiki\Api\AddSense30
Wikibase\Lexeme\Domain\Diff\LexemeDiffer30
Wikibase\Lexeme\Registrar30
Wikibase\Lexeme\MediaWiki\Api\EditSenseElements28
Wikibase\Lexeme\MediaWiki\Api\RemoveSense25
Wikibase\Lexeme\MediaWiki\Api\RemoveForm24
Wikibase\CreateReservedLexemes20
Wikibase\Lexeme\DataAccess\Store\MediaWikiLexemeAuthorizer20
Wikibase\Lexeme\Domain\Model\Sense18
Wikibase\Lexeme\Presentation\View\LexemeView14
Wikibase\Lexeme\MediaWiki\Api\MergeLexemes13
Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditFormChangeOpDeserializer12
Wikibase\Lexeme\Presentation\Diff\SenseDiffView12
Wikibase\Lexeme\Serialization\StorageLexemeSerializer12
Wikibase\Lexeme\MediaWiki\Api\RemoveSenseRequestParser12
Wikibase\Lexeme\Presentation\Diff\FormDiffView11
Wikibase\Lexeme\Domain\Model\LexemeSubEntityId9
Wikibase\Lexeme\MediaWiki\Api\AddSenseRequestParser8
Wikibase\Lexeme\Serialization\SenseDeserializer8
Wikibase\Lexeme\Presentation\View\LexemeMetaTagsCreator8
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpsFormsEdit8
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpsSensesEdit8
Wikibase\Lexeme\MediaWiki\Api\AddFormRequestParser8
Wikibase\Lexeme\DataAccess\Store\SenseTitleStoreLookup7
Wikibase\Lexeme\DataAccess\Store\FormTitleStoreLookup7
Wikibase\Lexeme\DataAccess\Store\SenseRevisionLookup7
Wikibase\Lexeme\DataAccess\Store\FormRevisionLookup7
Wikibase\Lexeme\Presentation\View\Template\LexemeTemplateFactory5
Wikibase\Lexeme\Domain\Diff\FormPatcher5
Wikibase\Lexeme\Domain\Diff\SensePatcher5
Wikibase\Lexeme\MediaWiki\Api\Error\UnknownLanguage4

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getExamplesMessages0%
getEntityType0%
hasSenseWithId0%
__construct0%
__construct0%
__construct0%
__construct0%
handle0%
getSenseAndFormCount0%
formatProperties0%
show0%
isInternal0%
isInternal0%
getEntityType0%
getExamplesMessages0%
isInternal0%
getExamplesMessages0%
getFormId0%
isInternal0%
getExamplesMessages0%
getSenseId0%
__construct0%
asApiMessage0%
__construct0%
asApiMessage0%
__construct0%
getType0%
setRepresentations0%
__construct0%
getApiErrorCode0%
getArrayCopy0%
canDiffEntityType0%
getConstructionDiff0%
getDestructionDiff0%
getAddSenseDiff0%
getRemoveSenseDiff0%
canPatchEntityType0%
getErrorMessage0%
getApiErrorCode0%
getErrorMessage0%
getApiErrorCode0%
getErrorMessage0%
getErrorMessage0%
getType0%
getApiErrorCode0%
getErrorMessage0%
getApiErrorCode0%
getApiErrorCode0%
getErrorMessage0%
execute0%
getErrorMessage0%
getApiErrorCode0%
getErrorMessage0%
getApiErrorCode0%
getErrorMessage0%
getApiErrorCode0%
__construct0%
__construct0%
count0%
onWikibaseDataTypes0%
factory0%
doesWrites0%
isListed0%
getGroupName0%
factory0%
doesWrites0%
factory0%
registerExtension0%
onWikibaseRepoEntityNamespaces0%
onWikibaseClientEntityTypes0%
onWikibaseRepoEntityTypes0%
onWikibaseClientDataTypes0%
factory0%
onParserOutputUpdaterConstruction0%
onInfoAction0%
onScribuntoExternalLibraries0%
getLexemeViewLanguages0%
newInstance0%
getSharedService0%
newMergeLexemesInteractor0%
getLexemeRepositoryFactory0%
newLexemeMerger0%
newNoCrossReferencingLexemeStatements0%
getLexemeAuthorizer0%
newLexemeRedirectorFactory0%
getGroupName0%
getJavaScriptClassName0%
asApiMessage0%
isInternal0%
__construct0%
asApiMessage0%
__construct0%
__construct0%
asApiMessage0%
__construct0%
__construct0%
asApiMessage0%
__construct0%
asApiMessage0%
__construct0%
getExamplesMessages0%
getExamplesMessages0%
addAllUsage0%
isInternal0%
getExamplesMessages0%
__construct0%
parse0%
newFromRedirect0%
makeEntityRedirectContent0%
getFragment0%
__construct0%
updateParserOutput0%
updateParserOutputForLexeme0%
getUsageAccumulator0%
getEntityIdParser0%
getOperations0%
getApiErrorCode0%
toArray0%
getRepresentationDiff0%
getAddedSense0%
getGlossesDiff0%
getStatementsDiff0%
serialize0%
unserialize0%
getType0%
isAtomic0%
toArray0%
isAtomic0%
getOperations0%
getArrayCopy0%
getFormId0%
getGrammaticalFeaturesDiff0%
getArrayCopy0%
getStatementsDiff0%
serialize0%
unserialize0%
getType0%
isAtomic0%
toArray0%
count0%
getOperations0%
getArrayCopy0%
getSenseId0%
getGlossesDiff0%
getStatementsDiff0%
__construct0%
getOperations0%
unserialize0%
__construct0%
getActions0%
getActions0%
getTitlesForIds0%
__construct0%
canMerge0%
canMergeLexeme0%
__construct0%
newFromContext0%
__construct0%
updateLexeme0%
getSaveFlags0%
getLexemeById0%
newFromContext0%
count0%
getLabel0%
getDescription0%
getTitlesForIds0%
__construct0%
getAddedForm0%
getRepresentationDiff0%
getGrammaticalFeaturesDiff0%
getStatementsDiff0%
serialize0%
unserialize0%
getType0%
isAtomic0%
toArray0%
serialize0%
count0%
getType0%
toArray0%
__construct0%
getRemovedFormId0%
getRepresentationDiff0%
getStatementsDiff0%
serialize0%
unserialize0%
getType0%
isAtomic0%
count0%
__construct0%
getOperations0%
getArrayCopy0%
__construct0%
getRemovedSenseId0%
getGlossesDiff0%
getStatementsDiff0%
serialize0%
unserialize0%
getType0%
toArray0%
getGrammaticalFeaturesDiff0%
getGrammaticalFeaturesOrderProvider0%
count0%
getAddFormDiff0%
canDiffEntityType0%
getArrayCopy0%
getRemoveFormDiff0%
canPatchEntityType0%
getOperations0%
getConstructionDiff0%
patchEntity0%
getDestructionDiff0%
isAtomic0%
toArray0%
getTitleHtml6%
patchSenses11%
newEntityContent23%
patchNextSenseId25%
__construct25%
getClaimDiffHtml27%
getClaimDiffHtml27%
parseLexemeId37%
serialize50%
parseOrNull50%
getSensesDiff52%
increaseNextFormIdTo57%
increaseNextSenseIdTo57%
getBaseLexemeRevisionFromRequest57%
setId60%
getPatchedItemId60%
asApiMessage62%
checkBlocked62%
getLexemeRevision66%
diffEntities66%
patchEntity66%
addViolation66%
deserializeId66%
deserializeGlossList66%
deserializeStatementList66%
deserializeNextSenseId66%
getIdSuffix66%
diffEntities66%
getEntity66%
getLexemeRevision66%
getNextSenseIdCounterDiff66%
getEntityRevision72%
getEntityRevision72%
setValue75%
setLanguage75%
parseLexemeId75%
setLexicalCategory75%
getTitleText75%
getRepresentations75%
getLexemeIdFromParamOrDie75%
extractLexemeIdAndSubEntityId75%
toSensesDiffArray75%
createEntityChangeOp78%
getSerialized80%
equals80%
buildSaveFlags80%
equals80%
execute81%
execute81%
deserializeForm81%
execute82%
sameSenses83%
getLabelOrDefault83%
sameForms83%
execute84%
apply85%
apply85%
extractLanguageCode85%
toApiUsageException85%
patchNextFormId87%
getTitleForId87%
getTextForSearchIndex87%
getTitleForId87%
createEntityChangeOp88%
updateSummary88%
updateSummary88%
mergeLexemes88%

Project Risks

Method CRAP
updateParserOutputForLexeme42
patchSenses30
registerExtension30
newEntityContent29
onScribuntoExternalLibraries20
handle20
getTitleHtml17
execute13
execute12
execute12
execute12
formatProperties12
getSaveFlags12
getLexemeById12
createEntityChangeOp10
patchNextSenseId10
getClaimDiffHtml10
getClaimDiffHtml10
getSensesDiff7
extractLanguageCode7
createEntityChangeOp7
getPatchedItemId6
addAllUsage6
parse6
updateParserOutput6
getUsageAccumulator6
getEntityIdParser6
onWikibaseRepoEntityNamespaces6
onWikibaseRepoEntityTypes6
onWikibaseDataTypes6
onInfoAction6
getSenseAndFormCount6
getSharedService6
getTitlesForIds6
patchEntity6
getTitlesForIds6
canMerge6
updateLexeme6
getBaseLexemeRevisionFromRequest5
parseLexemeId5
getLexemeRevision4
deserializeNextSenseId4
getLexemeRevision4
getEntityRevision4
getEntityRevision4
getSerialized4
buildSaveFlags4
execute4
sameForms4
sameSenses4
patchNextFormId4
mergeLexemes4
increaseNextFormIdTo3
increaseNextSenseIdTo3
setId3
checkBlocked3
diffEntities3
diffEntities3
parseLexemeId3
setLexicalCategory3
setLanguage3
equals3
equals3
deserializeForm3
getLabelOrDefault3
apply3
apply3
getTitleForId3
getTextForSearchIndex3
getTitleForId3
parseOrNull2
serialize2
asApiMessage2
deserializeStatementList2
deserializeGlossList2
deserializeId2
patchEntity2
getIdSuffix2
getNextSenseIdCounterDiff2
getEntity2
getRepresentations2
getTitleText2
getLexemeIdFromParamOrDie2
extractLexemeIdAndSubEntityId2
toSensesDiffArray2
setValue2
updateSummary2
toApiUsageException2
updateSummary2