Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
getUser0%
loggingTableTime0%
getParamSettings0%
needsWriteAccess0%
orderRevisions0%
getRevisionOrThrow0%
getEditsCount0%
getMinorCount0%
getRevertedCount0%
getEditorsCount0%
getBotCount0%
getAnonCount0%
getCachedCount0%
getEtag0%
getLastModifiedTimes0%
getRedirectHelper0%
getLastModified0%
getPage0%
getCurrentRevision0%
getCount0%
run0%
validateParameterCombination0%
normalizeType0%
getRedirectHelper0%
__construct0%
needsWriteAccess0%
needsWriteAccess0%
setApiMain0%
needsWriteAccess0%
__construct0%
getPage0%
parseContentTypeHeader0%
getTransformEndpoint0%
getRequestAttributes0%
checkPreconditions0%
getParamSettings0%
needsWriteAccess0%
getResponseBodySchema0%
needsWriteAccess0%
validatePb0%
updateRedLinks0%
pb2pb0%
parseHTML0%
getRevisionContentEndpoint0%
getPageContentEndpoint0%
acceptable0%
run0%
getRequestAttributes0%
getParsedBody0%
assertDomainIsCorrect0%
factory0%
needsWriteAccess0%
hasRepresentation0%
getLastModified0%
getETag0%
getParamSettings0%
needsWriteAccess0%
processDbResults0%
getBitmask0%
getDbResults0%
getResponseBodySchema0%
needsWriteAccess0%
setContentType0%
getJsonDiff0%
getLastModified0%
throwHttpExceptionForStatus0%
getParamSettings0%
mapActionModuleResponse0%
throwHttpExceptionForActionModuleError0%
mapActionModuleResult0%
needsWriteAccess0%
__construct0%
getParamSettings0%
needsWriteAccess0%
getSectionInfo0%
getRevisionText0%
setVariantConversionLanguage0%
getRole0%
isAccessible0%
getRevisionOrThrow0%
getRevision0%
execute0%
__construct0%
makeMessageValue0%
throwHttpExceptionForActionModuleError0%
mapActionModuleResponse0%
execute0%
overrideActionModule0%
getApiMain0%
getParamSettings0%
setMetrics0%
putHeaders0%
getParamSettings0%
getContentType0%
newPageRedirectHelper0%
newHtmlInputTransformHelper0%
newPageContentHelper0%
newRevisionContentHelper0%
logStatusError0%
setOutputProfileVersion0%
getHtmlOutputContentLanguage23%
isAccessible28%
pageConfigToPageIdentity44%
wtLint45%
tryToCreatePageIdentity55%
getStatusErrorKeys55%
getContent60%
setContentSource60%
getAcceptedTargetLanguage66%
stripParsoidSectionTags70%
getContent72%
execute72%
normalizeParameters72%
getHtml73%
getDefaultPageLanguage75%
setCacheControl75%
constructMetadata75%
checkHasContent77%
run78%
languageConversion79%
setFlavor80%
putHeaders80%
run80%
setOriginal81%
setRevision83%
findVariantPage83%
getLastModified83%
getVariantRedirectTargetUrl83%
getActionModuleParameters84%
init84%
wt2html84%
createNormalizationRedirectResponseIfNeeded85%
fetchSelserContextFromStash86%
getActionModuleParameters86%
html2wt87%
tryToCreatePageConfig87%
createVariantRedirectResponseIfNeeded88%

Project Risks

Method CRAP
processDbResults756
getRequestAttributes462
getCount306
acceptable272
run272
getDbResults156
pb2pb90
validateParameterCombination72
getContentType56
throwHttpExceptionForActionModuleError56
orderRevisions42
parseContentTypeHeader42
assertDomainIsCorrect42
run42
getParsedBody42
getRevisionText30
execute30
getRevertedCount30
mapActionModuleResult30
setOriginal27
wt2html24
init21
normalizeParameters21
getCurrentRevision20
getCachedCount20
execute19
setOutputProfileVersion12
getSectionInfo12
getRevisionOrThrow12
getLastModifiedTimes12
execute12
getBitmask12
isAccessible9
getHtml7
getStatusErrorKeys7
getActionModuleParameters7
getHtmlOutputContentLanguage7
tryToCreatePageConfig7
getContent6
getActionModuleParameters6
getPage6
getETag6
getLastModified6
getRevisionOrThrow6
getMinorCount6
getPageContentEndpoint6
getRevisionContentEndpoint6
validatePb6
getRequestAttributes6
getBotCount6
getAnonCount6
getApiMain6
loggingTableTime6
getLastModified6
getPage6
getRevision6
getJsonDiff6
mapActionModuleResponse6
setMetrics6
throwHttpExceptionForStatus6
checkHasContent5
run5
putHeaders5
fetchSelserContextFromStash5
wtLint4
stripParsoidSectionTags4
getContent4
languageConversion4
run4
setRevision4
tryToCreatePageIdentity3
setCacheControl3
setFlavor3
getLastModified3
getVariantRedirectTargetUrl3
createNormalizationRedirectResponseIfNeeded3
html2wt3
createVariantRedirectResponseIfNeeded3
pageConfigToPageIdentity2
setContentSource2
getAcceptedTargetLanguage2
getDefaultPageLanguage2
constructMetadata2
findVariantPage2