Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
codecFor0%
classify0%
pc2wt0%
bool2str0%
int2str0%
computeInterwikiMap0%
toXML0%
ppToXML0%
createDocument0%
createAndLoadDocument0%
createAndLoadDocumentFragment0%
extractDpAndSerialize0%
stripUnnecessaryWrappersAndSyntheticNodes0%
processAttributeEmbeddedHTML0%
shiftDSR0%
convertOffsets0%
dumpNode0%
dumpDOM0%
newDocument0%
nodeName0%
getElementsByTagName0%
getAttribute0%
stripEmptyTextNodes0%
replaceChildren0%
or0%
getLength0%
getBag0%
getCodec0%
isPrepared0%
prepareDoc0%
prepareChildDoc0%
stashObjectInDoc0%
noAttrs0%
getNodeData0%
setNodeData0%
getDataParsoid0%
setDataParsoid0%
getDataMwI18n0%
getDataMwI18nDefault0%
getDataNodeI18n0%
setDataNodeI18n0%
getDataAttrI18n0%
setDataAttrI18n0%
getDataAttrI18nNames0%
getDataParsoidDiff0%
getDataParsoidDiffDefault0%
setDataParsoidDiff0%
getDataMw0%
setDataMw0%
validDataMw0%
getJSONAttribute0%
setJSONAttribute0%
setShadowInfo0%
setShadowInfoIfModified0%
addNormalizedAttribute0%
getPageBundle0%
getCodecHints0%
visitAndLoadDataAttribs0%
loadDataAttribs0%
usedIdIndex0%
visitAndStoreDataAttribs0%
storeDataAttribs0%
cloneNode0%
cloneDocumentFragment0%
fixClonedData0%
isHtmlAttributeWithSpecialSemantics0%
setAttributeObject0%
removeAttributeObject0%
nodeHasDataMw0%
removeFromExpandedAttrs0%
loadRichAttributes0%
storeRichAttributes0%
__construct0%
__construct0%
callHandlers0%
traverseInternal0%
parseHTML0%
visitDOM0%
migrateChildren0%
migrateChildrenBetweenDocs0%
pathToRoot0%
nodeDepth0%
pathToSibling0%
inSiblingOrder0%
isAncestorOf0%
findAncestorOfName0%
hasNameOrHasAncestorOfName0%
matchNameAndTypeOf0%
hasNameAndTypeOf0%
matchMultivalAttr0%
hasValueInMultivalAttr0%
addValueToMultivalAttr0%
removeValueFromMultivalAttr0%
isFosterablePosition0%
isNestedListOrListItem0%
isMarkerMeta0%
isDocumentFragment0%
atTheTop0%
treeHasElement0%
selectMediaElt0%
findHttpEquivHeaders0%
addHttpEquivHeaders0%
extractInlinedContentVersion0%
addAttributes0%
appendToHead0%
getFragmentInnerHTML0%
setFragmentInnerHTML0%
parseHTMLToFragment0%
stripPWrapper0%
__construct0%
hasNChildren0%
isContentNode0%
firstNonSepChild0%
lastNonSepChild0%
previousNonSepSibling0%
nextNonSepSibling0%
numNonDeletedChildNodes0%
firstNonDeletedChild0%
lastNonDeletedChild0%
nextNonDeletedSibling0%
previousNonDeletedSibling0%
nodeEssentiallyEmpty0%
counterToBase640%
jsonEncode0%
jsonDecode0%
makeSet0%
lastItem0%
encodeURIComponent0%
sortArray0%
iterable_to_array0%
unreachable0%
stripPrefix0%
stripSuffix0%
pFragmentToParsoidFragmentMarkers0%
getDOMFragmentToken0%
processContentInPipeline0%
expandAttrValueToDOM0%
expandAttrValuesToDOM0%
domAttrsToTagAttrs0%
convertDOMtoTokens0%
getWrapperTokens0%
encapsulateExpansionHTML0%
wrapAccum0%
addSpanWrappers0%
tunnelDOMThroughTokens0%
makeExpansion0%
doExtractExpansions0%
extractExpansions0%
fetchHTML0%
fetchFlagsMap0%
getScriptName0%
traceUsageHelp0%
dumpUsageHelp0%
debugUsageHelp0%
setDebuggingFlags0%
setTemplatingAndProcessingFlags0%
booleanOption0%
setColorFlags0%
addStandardOptions0%
__construct0%
millis0%
end0%
start0%
getInterwiki0%
getDBkey0%
getFullText0%
getNamespaceName0%
equals0%
isSpecialPage0%
fixSpecialName0%
createFragmentTarget0%
newFromLinkTarget0%
__construct0%
__construct0%
tryNew0%
getNamespace0%
getFragment0%
getDBkey0%
createFragmentTarget0%
getInterwiki0%
isWikitextBlockTag0%
isBehaviorSwitch0%
isSolTransparent0%
isTranslationUnitMarker0%
matchTypeOf0%
hasTypeOf0%
shiftTokenTSR0%
stripEOFTkFromTokens0%
convertTokenOffsets0%
collectOffsets0%
newlinesToNlTks0%
isAnnotationStartToken0%
isAnnotationEndToken0%
matchesDomainList0%
stripParsoidIdPrefix0%
stripNamespace0%
isParsoidObjectId0%
isVoidElement0%
recursiveClone0%
clone0%
lastUniChar0%
isUniWord0%
phpURLEncode0%
extractExtBody0%
isValidOffset0%
isValidDSR0%
normalizeNamespaceName0%
escapeWt0%
isProtocolValid0%
getExtArgInfo0%
parseMediaDimensions0%
validateMediaParam0%
getStar0%
isLinkTrail0%
bcp47ToMwCode0%
mwCodeToBcp470%
isBcp47CodeEqual0%
hasLiteralHTMLMarker0%
isLiteralHTMLNode0%
isZeroWidthWikitextElt0%
isBlockNodeWithVisibleWT0%
isATagFromWikiLinkSyntax0%
isATagFromExtLinkSyntax0%
isATagFromURLLinkSyntax0%
isATagFromMagicLinkSyntax0%
matchTplType0%
hasExpandedAttrsType0%
isTplMarkerMeta0%
isTplStartMarkerMeta0%
isTplEndMarkerMeta0%
findFirstEncapsulationWrapperNode0%
isNewElt0%
isIndentPre0%
isInlineMedia0%
isGeneratedFigure0%
indentPreDSRCorrection0%
isEncapsulatedDOMForestRoot0%
isRedirectLink0%
isCategoryLink0%
isSolTransparentLink0%
emitsSolTransparentSingleLineWT0%
isFallbackIdSpan0%
isRenderingTransparentNode0%
inHTMLTableTag0%
isFirstEncapsulationWrapperNode0%
isFirstExtensionWrapperNode0%
isExtensionOutputtingCoreMwDomSpec0%
isEncapsulationWrapper0%
isDOMFragmentWrapper0%
isSealedFragmentOfType0%
isParsoidSectionTag0%
fromEncapsulatedContent0%
getWTSource0%
getAboutSiblings0%
skipOverEncapsulatedContent0%
getExtTagName0%
getNativeExt0%
isIncludeTag0%
isAnnotationTag0%
isAnnOrExtTag0%
createEmptyLocalizationFragment0%
matchAnnotationMeta0%
extractAnnotationType0%
isAnnotationStartMarkerMeta0%
isAnnotationEndMarkerMeta0%
isMovedMetaTag0%
isMarkerAnnotation0%
getMediaFormat0%
hasVisibleCaption0%
textContentFromCaption0%
tokenTrim13%
tokensToString50%
saveClassList57%
decodedCommentLength58%
getAttributeObjectDefault60%
getKey66%
getHead85%
attributes85%
getPrefixedDBKey85%
getPrefixedText85%
getBody87%
hasBlockTag87%
getAttributeObject88%
storeInPageBundle89%

Project Risks

Method CRAP
shiftTokenTSR552
classify506
getWrapperTokens462
processAttributeEmbeddedHTML420
traverseInternal380
mwCodeToBcp47182
storeDataAttribs156
collectOffsets156
shiftDSR132
storeRichAttributes132
setDebuggingFlags132
loadRichAttributes110
addSpanWrappers110
setTemplatingAndProcessingFlags110
tokenTrim90
isSolTransparent90
convertTokenOffsets90
parseMediaDimensions90
getAboutSiblings90
tokensToString82
stripUnnecessaryWrappersAndSyntheticNodes72
convertOffsets72
removeFromExpandedAttrs72
callHandlers72
nodeEssentiallyEmpty72
doExtractExpansions72
dumpDOM56
matchMultivalAttr56
convertDOMtoTokens56
clone56
isRenderingTransparentNode56
setShadowInfoIfModified42
addValueToMultivalAttr42
treeHasElement42
encapsulateExpansionHTML42
isValidDSR42
escapeWt42
textContentFromCaption42
stripEmptyTextNodes30
hasValueInMultivalAttr30
hasNChildren30
isBehaviorSwitch30
lastUniChar30
isATagFromWikiLinkSyntax30
isATagFromExtLinkSyntax30
int2str20
replaceChildren20
noAttrs20
getNodeData20
loadDataAttribs20
fixClonedData20
parseHTML20
pathToSibling20
removeValueFromMultivalAttr20
addHttpEquivHeaders20
addAttributes20
domAttrsToTagAttrs20
end20
matchTypeOf20
matchesDomainList20
isATagFromURLLinkSyntax20
isATagFromMagicLinkSyntax20
findFirstEncapsulationWrapperNode20
indentPreDSRCorrection20
inHTMLTableTag20
fromEncapsulatedContent20
isAnnotationStartMarkerMeta20
isAnnotationEndMarkerMeta20
isMovedMetaTag20
codecFor12
bool2str12
computeInterwikiMap12
getJSONAttribute12
usedIdIndex12
cloneDocumentFragment12
setAttributeObject12
inSiblingOrder12
isAncestorOf12
findAncestorOfName12
isContentNode12
firstNonSepChild12
lastNonSepChild12
previousNonSepSibling12
nextNonSepSibling12
numNonDeletedChildNodes12
firstNonDeletedChild12
lastNonDeletedChild12
nextNonDeletedSibling12
previousNonDeletedSibling12
sortArray12
getDOMFragmentToken12
fetchFlagsMap12
booleanOption12
addStandardOptions12
equals12
isTranslationUnitMarker12
stripEOFTkFromTokens12
isEncapsulatedDOMForestRoot12
isRedirectLink12
isCategoryLink12
isSolTransparentLink12
emitsSolTransparentSingleLineWT12
isParsoidSectionTag12
skipOverEncapsulatedContent12
isIncludeTag12
isAnnotationTag12
isAnnOrExtTag12
extractAnnotationType12
decodedCommentLength8
getAttributeObjectDefault6
storeInPageBundle6
extractDpAndSerialize6
getAttribute6
getDataNodeI18n6
getDataAttrI18n6
getDataAttrI18nNames6
setDataParsoidDiff6
setJSONAttribute6
addNormalizedAttribute6
getCodecHints6
visitAndStoreDataAttribs6
removeAttributeObject6
nodeHasDataMw6
visitDOM6
migrateChildren6
migrateChildrenBetweenDocs6
nodeDepth6
hasNameOrHasAncestorOfName6
matchNameAndTypeOf6
isFosterablePosition6
isNestedListOrListItem6
isDocumentFragment6
atTheTop6
findHttpEquivHeaders6
extractInlinedContentVersion6
appendToHead6
iterable_to_array6
stripPrefix6
stripSuffix6
pFragmentToParsoidFragmentMarkers6
expandAttrValueToDOM6
expandAttrValuesToDOM6
wrapAccum6
fetchHTML6
__construct6
getFullText6
fixSpecialName6
createFragmentTarget6
newFromLinkTarget6
newlinesToNlTks6
isAnnotationStartToken6
isAnnotationEndToken6
isValidOffset6
isProtocolValid6
getExtArgInfo6
validateMediaParam6
isLinkTrail6
bcp47ToMwCode6
hasLiteralHTMLMarker6
isLiteralHTMLNode6
isZeroWidthWikitextElt6
isBlockNodeWithVisibleWT6
isTplStartMarkerMeta6
isTplEndMarkerMeta6
isNewElt6
isIndentPre6
isInlineMedia6
isExtensionOutputtingCoreMwDomSpec6
isEncapsulationWrapper6
getWTSource6
getExtTagName6
getNativeExt6
isMarkerAnnotation6
getBody5
getHead4
getPrefixedDBKey4
getPrefixedText4
hasBlockTag4
getAttributeObject4
saveClassList3
attributes3
getKey2