Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Parsoid\Config\WikitextConstants0%
Parsoid\Linter0%
Parsoid\AttributeExpander0%
Parsoid\Params0%
Parsoid\WrapTemplates0%
Parsoid\WrapSections0%
Parsoid\ProcessTreeBuilderFixups0%
Parsoid\PWrap0%
Parsoid\MigrateTrailingNLs0%
Parsoid\MigrateTemplateMarkerMetas0%
Parsoid\MarkFosteredContent0%
Parsoid\HandlePres0%
Parsoid\DOMFragmentBuilder0%
Parsoid\ComputeDSR0%
Parsoid\AddExtLinkClasses0%
Parsoid\Utils\WTUtils0%
Parsoid\Utils\Util0%
Parsoid\Utils\TokenUtils0%
Parsoid\Utils\PHPUtils0%
Parsoid\Utils\DOMUtils0%
Parsoid\Utils\DOMDataUtils0%
Parsoid\ContentUtils0%
Parsoid\BehaviorSwitchHandler0%
Parsoid\ExtensionHandler0%
Parsoid\Tokens\TagTk0%
Parsoid\TokenCollector0%
Parsoid\TokenAccumulator0%
Parsoid\AttributeTransformManager0%
Parsoid\SyncTokenTransformManager0%
Parsoid\AsyncTokenTransformManager0%
Parsoid\AccumChain0%
Parsoid\TokenTransformManager0%
Parsoid\WikiLinkHandler0%
Parsoid\TokenStreamPatcher0%
Parsoid\Wt2html\TT\TokenHandler0%
Parsoid\TemplateHandler0%
Parsoid\ExternalLinkHandler0%
Parsoid\SanitizerHandler0%
Parsoid\Wt2Html\TT\QuoteTransformer0%
Parsoid\PreHandler0%
Parsoid\Wt2Html\TT\ParagraphWrapper0%
Parsoid\IncludeOnly0%
Parsoid\NoInclude0%
Parsoid\OnlyInclude0%
Parsoid\ListHandler0%
Parsoid\LanguageVariantHandler0%
Parsoid\Tokens\Token0%
Parsoid\Tokens\SelfclosingTagTk0%
Parsoid\Opts0%
Parsoid\WikiLinkText0%
Parsoid\SingleLineContext0%
Parsoid\SelectiveSerializer0%
Parsoid\DiffUtils0%
Parsoid\DOMNormalizer0%
Parsoid\DOMDiff0%
Parsoid\LanguageVariantText0%
Parsoid\MagicLinkText0%
Parsoid\AutoURLLinkText0%
Parsoid\ExtLinkText0%
Parsoid\RegExpConstrainedText0%
Parsoid\WTSUtils0%
Parsoid\ConstrainedText0%
Parsoid\FromHTML0%
Parsoid\PackedOverlay0%
Parsoid\PackedHover0%
Parsoid\Packed0%
Parsoid\Slideshow0%
Parsoid\NoLines0%
Parsoid\Traditional0%
Parsoid\Gallery0%
Parsoid\SerializerState0%
Parsoid\WikitextEscapeHandlers0%
Parsoid\Tokens\NlTk0%
Parsoid\LanguageKu0%
Parsoid\Tokens\KV0%
Parsoid\Tokens\EndTagTk0%
Parsoid\Tokens\EOFTk0%
Parsoid\Tokens\CommentTk0%
Parsoid\LanguageZh0%
Parsoid\ZhConverter0%
Parsoid\ZhReplacementMachine0%
Parsoid\LanguageSr0%
Parsoid\SrConverter0%
Parsoid\KuConverter0%
Parsoid\WikitextSerializer0%
Parsoid\LanguageEn0%
Parsoid\EnConverter0%
Parsoid\LanguageCrh0%
Parsoid\CrhConverter0%
Parsoid\LanguageConverter0%
Parsoid\ConversionTraverser0%
Parsoid\MachineLanguageGuesser0%
Parsoid\ConstantLanguageGuesser0%
Parsoid\LanguageGuesser0%
Parsoid\Language0%
Parsoid\Frame0%

Project Risks

Class CRAP
Parsoid\WikiLinkHandler76452
Parsoid\WikitextEscapeHandlers72630
Parsoid\Linter57840
Parsoid\TemplateHandler50400
Parsoid\WrapTemplates34782
Parsoid\ComputeDSR32942
Parsoid\Utils\DOMUtils17822
Parsoid\DOMNormalizer17822
Parsoid\Utils\WTUtils13572
Parsoid\DOMDiff11556
Parsoid\AttributeExpander11130
Parsoid\Wt2Html\TT\ParagraphWrapper10302
Parsoid\Wt2Html\TT\QuoteTransformer9702
Parsoid\PreHandler8742
Parsoid\ContentUtils6806
Parsoid\AsyncTokenTransformManager6162
Parsoid\WTSUtils6006
Parsoid\WrapSections5700
Parsoid\ProcessTreeBuilderFixups5402
Parsoid\LanguageVariantHandler5256
Parsoid\ListHandler5112
Parsoid\TokenStreamPatcher4830
Parsoid\Utils\DOMDataUtils4830
Parsoid\SerializerState4556
Parsoid\DiffUtils3660
Parsoid\Gallery3422
Parsoid\Tokens\Token2652
Parsoid\MigrateTrailingNLs2256
Parsoid\Utils\Util1980
Parsoid\ConstrainedText1980
Parsoid\PWrap1806
Parsoid\Utils\TokenUtils1640
Parsoid\ExtensionHandler1482
Parsoid\MarkFosteredContent1482
Parsoid\ConversionTraverser1406
Parsoid\ExternalLinkHandler1406
Parsoid\TokenTransformManager1406
Parsoid\Wt2html\TT\TokenHandler1122
Parsoid\TokenAccumulator1056
Parsoid\SyncTokenTransformManager930
Parsoid\LanguageConverter812
Parsoid\OnlyInclude756
Parsoid\FromHTML756
Parsoid\Traditional756
Parsoid\TokenCollector702
Parsoid\AttributeTransformManager650
Parsoid\HandlePres650
Parsoid\MachineLanguageGuesser552
Parsoid\Params506
Parsoid\Frame462
Parsoid\MigrateTemplateMarkerMetas420
Parsoid\DOMFragmentBuilder420
Parsoid\NoInclude420
Parsoid\SelectiveSerializer342
Parsoid\IncludeOnly306
Parsoid\RegExpConstrainedText306
Parsoid\AutoURLLinkText240
Parsoid\WikiLinkText182
Parsoid\ZhReplacementMachine182
Parsoid\SrConverter182
Parsoid\AddExtLinkClasses182
Parsoid\Opts156
Parsoid\Tokens\KV156
Parsoid\Utils\PHPUtils132
Parsoid\Config\WikitextConstants90
Parsoid\Packed72
Parsoid\AccumChain72
Parsoid\Language42
Parsoid\SingleLineContext42
Parsoid\ExtLinkText42
Parsoid\EnConverter20
Parsoid\WikitextSerializer20
Parsoid\KuConverter20
Parsoid\ZhConverter20
Parsoid\Tokens\NlTk20
Parsoid\Slideshow20
Parsoid\CrhConverter20
Parsoid\LanguageVariantText12
Parsoid\MagicLinkText12
Parsoid\BehaviorSwitchHandler12

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
init0%
anonymousFunction:178#14070%
buildDOMFragment0%
anonymousFunction:107#7140%
wrapDOMFragment0%
__construct0%
anonymousFunction:25#1280%
rank0%
parseExtensionHTML0%
fetchExpandedExtension0%
normalizeExtOptions0%
onExtension0%
anonymousFunction:157#12170%
_onDocument0%
scopeRank0%
__construct0%
anonymousFunction:31#2010%
anonymousFunction:37#2560%
anonymousFunction:43#3150%
rank0%
_reset0%
_imageExtensions0%
_hasImageLink0%
anonymousFunction:104#6520%
onUrlLink0%
onExtLink0%
subpipelineUnnecessary0%
anonymousFunction:24#1260%
__construct0%
onToken0%
wrapTemplatesInTree0%
run0%
__construct0%
dict0%
named0%
getSlice0%
anonymousFunction:88#7100%
__construct0%
anonymousFunction:35#1840%
rank0%
skipRank0%
anonymousFunction:83#4870%
__construct0%
anonymousFunction:86#5390%
nlTkIndex0%
metaTypeMatcher0%
splitTokens0%
stripMetaTags0%
buildExpandedAttrsG0%
anonymousFunction:397#26170%
anonymousFunction:404#26740%
anonymousFunction:418#28370%
anonymousFunction:518#35190%
onBehaviorSwitch0%
onTag0%
onEnd0%
rank0%
anonymousFunction:826#61820%
anonymousFunction:201#17500%
__construct0%
onAny0%
onTag0%
onOnlyInclude0%
onAnyInclude0%
anonymousFunction:130#11210%
TYPE0%
NAME0%
TOEND0%
ACKEND0%
transformation0%
TYPE0%
anonymousFunction:300#24960%
NAME0%
TOEND0%
ACKEND0%
transformation0%
__construct0%
onNewline0%
onEnd0%
reset0%
resetBuffers0%
resetCurrLine0%
processBuffers0%
anonymousFunction:152#8240%
anonymousFunction:441#36940%
anonymousFunction:283#23270%
onLanguageVariantG0%
resetCurrListFrame0%
anonymousFunction:67#3620%
anonymousFunction:91#6080%
anonymousFunction:97#6590%
anonymousFunction:123#8810%
anonymousFunction:152#12340%
anonymousFunction:176#15740%
anonymousFunction:195#17830%
anonymousFunction:234#21700%
BULLET_CHARS_MAP0%
__construct0%
reset0%
onTag0%
anonymousFunction:275#22470%
onAny0%
anonymousFunction:59#4070%
newListFrame0%
onEnd0%
anonymousFunction:173#13400%
closeLists0%
onListItem0%
commonPrefixLength0%
pushList0%
popTags0%
isDtDd0%
doListItem0%
findWrappableTemplateRanges0%
anonymousFunction:817#61140%
anonymousFunction:172#9770%
findMatchingChild0%
endTagOptional0%
getHeadingAncestor0%
matchedOpenTagPairExists0%
logTreeBuilderFixup0%
logFosteredContent0%
logObsoleteHTMLTags0%
anonymousFunction:442#28130%
logBogusMediaOptions0%
anonymousFunction:530#34110%
logDeletableTables0%
anonymousFunction:571#36840%
hasNoWrapCSS0%
hasIdenticalNestedTag0%
logBadPWrapping0%
anonymousFunction:618#40650%
logTidyDivSpanFlip0%
logTidyWhitespaceBug0%
anonymousFunction:735#50370%
anonymousFunction:776#53590%
detectMultipleUnclosedFormattingTags0%
anonymousFunction:809#56050%
postProcessLints0%
getWikitextListItemAncestor0%
logPHPParserBug0%
logWikitextFixups0%
hasMisnestableContent0%
findLintDSR0%
anonymousFunction:927#67130%
anonymousFunction:502#35350%
insertAfter0%
run0%
anonymousFunction:49#3300%
tsrSpansTagDOM0%
acceptableInconsistency0%
computeListEltWidth0%
computeATagWidth0%
computeTagWidths0%
trace0%
anonymousFunction:229#12820%
anonymousFunction:307#18840%
anonymousFunction:551#39920%
findEnclosingTemplateName0%
anonymousFunction:596#44680%
run0%
fixedIndentPreText0%
reinsertLeadingSpace0%
findAndHandlePres0%
deleteIndentPreFromDOM0%
run0%
__construct0%
getTagsWithChangedMisnestingBehavior0%
anonymousFunction:69#1710%
leftMostDescendent0%
getNextMatchingNode0%
findLints0%
run0%
encapsulateTemplates0%
getRangeEndDSR0%
removeAutoInsertedEmptyTags0%
run0%
createNewSection0%
wrapSectionsInDOM0%
getDSR0%
resolveTplExtSectionConflicts0%
anonymousFunction:214#14730%
run0%
anonymousFunction:343#27570%
expandRangeToAvoidSpanWrapping0%
updateDSRForFirstTplNode0%
getDOMRange0%
findDeletedStartTags0%
anonymousFunction:263#18170%
stripStartMeta0%
findToplevelEnclosingRange0%
recordTemplateInfo0%
anonymousFunction:337#26030%
introducesCycle0%
rangesOverlap0%
findTopLevelNonOverlappingRanges0%
anonymousFunction:431#33230%
anonymousFunction:487#37570%
anonymousFunction:517#39580%
findFirstTemplatedNode0%
findAutoInsertedTags0%
findMetaShadowNode0%
createNodeWithAttributes0%
migrateTrailingNLs0%
removeTransclusionShadows0%
insertTransclusionMetas0%
getFosterContentHolder0%
markFosteredContent0%
run0%
migrateTemplateMarkerMetas0%
run0%
nodeEndsLineInWT0%
getTableParent0%
canMigrateNLOutOfNode0%
hasZeroWidthWT0%
run0%
addPlaceholderMeta0%
isSplittableTag0%
flatten0%
hasBlockTag0%
mergeRuns0%
anonymousFunction:58#4100%
split0%
anonymousFunction:94#8890%
pWrap0%
anonymousFunction:144#10870%
pWrapInsideTag0%
run0%
deleteShadowMeta0%
flushBuffers0%
discardOneNlTk0%
decodedCommentLength0%
__construct0%
getOptionInfo0%
stringifyOptionTokens0%
anonymousFunction:897#72280%
anonymousFunction:903#73090%
getFormat0%
getUsed0%
renderFileG0%
anonymousFunction:1092#85490%
anonymousFunction:1135#88950%
linkToMedia0%
renderMediaG0%
tkConstructorToTkTypeMap0%
renderInterwikiLinkG0%
tokenTransformersKey0%
addListenersOn0%
_cmpTransformations0%
timeTracer0%
anonymousFunction:129#6580%
addTransform0%
anonymousFunction:191#10180%
anonymousFunction:208#11440%
anonymousFunction:213#11910%
removeMatchingTransform0%
removeTransform0%
getWrapperInfo0%
renderLanguageLinkG0%
__construct0%
getWikiLinkTargetInfo0%
processTokensSync0%
__construct0%
reset0%
anonymousFunction:61#3010%
onEnd0%
clearSOL0%
_convertTokenToString0%
anonymousFunction:141#10030%
__construct0%
rank0%
_hrefParts0%
anonymousFunction:93#5250%
renderCategoryG0%
onRedirectG0%
bailTokens0%
anonymousFunction:259#21800%
onWikiLinkG0%
anonymousFunction:340#28930%
_wikiLinkHandler0%
buildLinkAttrs0%
addLinkAttributesAndGetContent0%
anonymousFunction:498#42010%
anonymousFunction:500#42340%
anonymousFunction:521#44250%
renderWikiLinkG0%
_getTransforms0%
anonymousFunction:316#19000%
onAny0%
concatTokens0%
__construct0%
_toType0%
process0%
getNewKVs0%
anonymousFunction:1099#68380%
anonymousFunction:1104#69090%
_processOne0%
anonymousFunction:1137#72370%
anonymousFunction:1153#74270%
__construct0%
setParentCB0%
emitTokens0%
anonymousFunction:1002#63140%
receiveToksFromChild0%
receiveToksFromSibling0%
siblingDone0%
_callParentCB0%
push0%
append0%
__construct0%
newChild0%
expand0%
anonymousFunction:1448#91470%
onThunkEvent0%
loopAndDepthCheck0%
onEndEvent0%
anonymousFunction:990#62200%
initRes0%
onEndEvent0%
addNode0%
push0%
append0%
__construct0%
setPipelineId0%
reset0%
setFrame0%
checkForEOFTkErrors0%
emitChunk0%
process0%
onChunk0%
transformTokens0%
anonymousFunction:985#61850%
anonymousFunction:601#36210%
anonymousFunction:630#38320%
anonymousFunction:714#43560%
maybeSyncReturn0%
__construct0%
setPipelineId0%
process0%
generateTest0%
computeTraceNames0%
anonymousFunction:943#58890%
onChunk0%
anonymousFunction:982#61410%
resetState0%
onTag0%
openPTag0%
onTag0%
anonymousFunction:264#20280%
anonymousFunction:294#22510%
onSyncTTMEnd0%
getUpdatedPreTSR0%
onAny0%
anonymousFunction:334#26750%
anonymousFunction:339#27250%
anonymousFunction:452#37140%
__construct0%
reset0%
startNewChunk0%
onNewline0%
anonymousFunction:251#19120%
onEnd0%
onAny0%
anonymousFunction:119#5360%
onQuote0%
anonymousFunction:147#6860%
processQuotes0%
anonymousFunction:182#8760%
anonymousFunction:276#17340%
convertBold0%
convertQuotesToTags0%
quoteToTag0%
__construct0%
onEnd0%
anonymousFunction:200#15280%
__construct0%
STATE_PRE_COLLECT0%
closeOpenPTag0%
onNewLineOrEOF0%
anonymousFunction:289#18320%
anonymousFunction:312#21290%
processPendingNLs0%
onAny0%
anonymousFunction:390#26690%
anonymousFunction:421#30040%
anonymousFunction:430#31120%
STATE_SOL0%
STATE_PRE0%
STATE_MULTILINE_PRE0%
initPreTSR0%
STATE_IGNORE0%
STATE_STR0%
__construct0%
resetState0%
reset0%
moveToIgnoreState0%
popLastNL0%
resetPreCollectCurrentLine0%
encounteredBlockWhileCollecting0%
getResultAndReset0%
processPre0%
onNewline0%
RANK0%
anonymousFunction:61#3700%
onNewline0%
lookupArg0%
_onChunk0%
_onEnd0%
getArgInfo0%
_fetchTemplateAndTitle0%
anonymousFunction:1222#93310%
fetchExpandedTpl0%
onTemplateArg0%
anonymousFunction:1261#96500%
anonymousFunction:1275#98000%
fetchArg0%
anonymousFunction:1287#99640%
__construct0%
anonymousFunction:988#73490%
onTag0%
onEnd0%
onAny0%
TYPE0%
NAME0%
TOEND0%
ACKEND0%
transformation0%
_onDelimiterToken0%
_onAnyToken0%
__construct0%
onEnd0%
anonymousFunction:993#73850%
_encapsulateTemplate0%
anonymousFunction:67#4270%
convertAttribsToString0%
onTemplate0%
hasTemplateToken0%
anonymousFunction:89#5840%
anonymousFunction:97#6760%
anonymousFunction:241#16330%
_parserFunctionsWrapper0%
anonymousFunction:265#18560%
encapTokens0%
processSpecialMagicWord0%
toStringOrNull0%
anonymousFunction:503#36150%
anonymousFunction:609#44600%
anonymousFunction:906#67370%
anonymousFunction:630#46420%
anonymousFunction:658#48280%
checkRes0%
_expandTemplate0%
anonymousFunction:742#54150%
_startTokenPipeline0%
anonymousFunction:818#59760%
anonymousFunction:820#60230%
getEncapsulationInfo0%
getEncapsulationInfoEndTag0%
anonymousFunction:865#64000%
getParamHTMLG0%
escapeNowikiTags0%
anonymousFunction:700#31040%
__construct0%
isValidSep0%
emitSep0%
anonymousFunction:287#12160%
emitSepForNode0%
emitChunk0%
anonymousFunction:477#22630%
serializeChildrenG0%
_kickOffSerializeG0%
_serializeChildrenToStringG0%
_serializeLinkChildrenToString0%
_serializeCaptionChildrenToString0%
_serializeIndentPreChildrenToString0%
hasValidTagWidths0%
sepIntroducedSOL0%
getAttributeKVArray0%
mkTagTk0%
mkEndTagTk0%
getShadowInfo0%
getAttributeShadowInfo0%
commentWT0%
emitStartTag0%
emitEndTag0%
nextToDeletedBlockNodeInWT0%
precedingSpaceSuppressesIndentPre0%
traceNodeName0%
pushToCurrLine0%
updateModificationFlags0%
getMediaType0%
arrayToHash0%
hasInsertedDiffMark0%
maybeDeletedNode0%
isDeletedBlockNode0%
directChildrenChanged0%
onlySubtreeChanged0%
/* subTreechangeMarker */0%
addDiffMark0%
setDiffMark0%
storeDiffMark0%
prependTypedMeta0%
attribsEquals0%
__construct0%
getOrigSrc0%
serializeDOMG0%
__construct0%
enforce0%
enforced0%
disable0%
pop0%
__construct0%
initMode0%
appendSep0%
updateSep0%
resetCurrLine0%
flushLine0%
origSrcValidInEditedContext0%
getAttrFromDataMw0%
hasDiffMarkers0%
__construct0%
guessLang0%
__construct0%
anonymousFunction:80#2480%
anonymousFunction:84#3050%
anonymousFunction:94#4370%
anonymousFunction:103#5440%
anonymousFunction:109#6130%
anonymousFunction:121#6940%
anonymousFunction:138#8340%
anonymousFunction:144#8810%
guessLang0%
noConvertHandler0%
guessLang0%
anyHandler0%
langContextHandler0%
textHandler0%
aHandler0%
attrHandler0%
lcHandler0%
__construct0%
loadDefaultTables0%
getMachine0%
classFromCode0%
anonymousFunction:406#28180%
loadLanguage0%
__construct0%
fetchLanguageNamesUncached0%
anonymousFunction:328#20940%
anonymousFunction:373#25580%
__construct0%
isFirstContentNode0%
liHandler0%
thHandler0%
mediaOptionHandler0%
wikilinkHandler0%
aHandler0%
tdHandler0%
anonymousFunction:254#15680%
tokenizeStr0%
anonymousFunction:269#17500%
anonymousFunction:395#27340%
fetchLanguageNames0%
escapedText0%
anonymousFunction:571#39090%
anonymousFunction:688#47930%
anonymousFunction:779#55650%
anonymousFunction:807#57750%
escapeTplArgWT0%
appendStr0%
anonymousFunction:1062#78450%
escapeLinkContent0%
__construct0%
getConverter0%
isValidCode0%
hasDiffMark0%
getDiffMark0%
translate0%
__construct0%
thumbStyle0%
boxWidth0%
boxStyle0%
galleryText0%
line0%
render0%
anonymousFunction:168#14890%
__construct0%
__construct0%
setAdditionalOptions0%
perRow0%
perRow0%
thumbWidth0%
dimensions0%
scaleMedia0%
galleryText0%
__construct0%
__construct0%
fetchSelser0%
anonymousFunction:33#2140%
anonymousFunction:36#2740%
anonymousFunction:44#3400%
anonymousFunction:51#4100%
anonymousFunction:55#4720%
serializeDOM0%
thumbHeight0%
scaleMedia0%
anonymousFunction:100#7080%
contentHandler0%
anonymousFunction:69#4740%
anonymousFunction:71#5010%
__construct0%
pCaption0%
anonymousFunction:115#7670%
pLine0%
toDOM0%
anonymousFunction:250#18110%
anonymousFunction:259#18800%
anonymousFunction:266#19930%
anonymousFunction:271#20790%
serialHandler0%
dimensions0%
anonymousFunction:364#28190%
modifyArgDict0%
__construct0%
MODE0%
SCALE0%
PADDING0%
appendAttr0%
ul0%
anonymousFunction:52#3800%
perRow0%
setAdditionalOptions0%
caption0%
anonymousFunction:91#6270%
escapeLine0%
normalize0%
addDiffMarks0%
anonymousFunction:49#2990%
diff0%
dataMWEquals0%
_dataMWEquals0%
treeEquals0%
doDOMDiff0%
debugOut0%
anonymousFunction:263#18860%
anonymousFunction:267#19740%
markNode0%
__construct0%
merge0%
anonymousFunction:44#1980%
swap0%
hoistLinks0%
stripIfEmpty0%
moveTrailingSpacesOut0%
stripBRs0%
stripBidiCharsAroundCategories0%
moveFormatTagOutsideATag0%
anonymousFunction:426#31690%
normalizeNode0%
normalizeSiblingPair0%
processSubtree0%
processNode0%
anonymousFunction:47#2530%
__construct0%
anonymousFunction:65#1330%
escape0%
__construct0%
cast0%
escape0%
equals0%
match0%
fromSelSer0%
anonymousFunction:202#8710%
_fromSelSer0%
anonymousFunction:278#14920%
__construct0%
anonymousFunction:309#16610%
__construct0%
_fromSelSer0%
escape0%
_fromSelSer0%
__construct0%
_fromSelSer0%
__construct0%
badSuffix0%
anonymousFunction:457#28320%
_fromSelSer0%
escape0%
__construct0%
_fromSelSer0%
__construct0%
findVariantLink0%
guessVariant0%
decodeComment0%
isHTMLTag0%
jsonEncode0%
jsonDecode0%
makeSet0%
makeMap0%
lastItem0%
getTokenType0%
isOfType0%
isBlockTag0%
tagOpensBlockScope0%
tagClosesBlockScope0%
isTemplateToken0%
isDOMFragmentType0%
getStartHRTime0%
isTableTag0%
isSolTransparentLinkTag0%
isBehaviorSwitch0%
isSolTransparent0%
isEmptyLineMetaToken0%
internalExtend0%
extendProps0%
stripParsoidIdPrefix0%
isParsoidObjectId0%
isVoidElement0%
recursiveClone0%
clone0%
getHRTimeDifferential0%
counterToBase640%
unFreeze0%
previousNonSepSibling0%
isNestedListOrListItem0%
isMarkerMeta0%
isDiffMarker0%
hasElementChild0%
hasBlockElementDescendant0%
isIEW0%
isDocumentFragment0%
atTheTop0%
isContentNode0%
firstNonSepChild0%
lastNonSepChild0%
nextNonSepSibling0%
extractInlinedContentVersion0%
numNonDeletedChildNodes0%
firstNonDeletedChild0%
lastNonDeletedChild0%
nextNonDeletedSibling0%
previousNonDeletedSibling0%
allChildrenAreTextOrComments0%
allChildrenAreText0%
nodeEssentiallyEmpty0%
treeHasElement0%
isTableTag0%
selectMediaElt0%
findHttpEquivHeaders0%
recursiveUnfreeze0%
phpURLEncode0%
isListOrListItem0%
emitsSolTransparentSingleLineWT0%
isTplEndMarkerMeta0%
findFirstEncapsulationWrapperNode0%
isNewElt0%
isIndentPre0%
isInlineMedia0%
isGeneratedFigure0%
indentPreDSRCorrection0%
hasParsoidAboutId0%
isRedirectLink0%
isCategoryLink0%
isSolTransparentLink0%
isFallbackIdSpan0%
isTplMarkerMeta0%
isRenderingTransparentNode0%
inHTMLTableTag0%
isFirstEncapsulationWrapperNode0%
isEncapsulationWrapper0%
isDOMFragmentWrapper0%
isSealedFragmentOfType0%
isParsoidSectionTag0%
fromExtensionContent0%
getWTSource0%
getAboutSiblings0%
skipOverEncapsulatedContent0%
encodeComment0%
isTplStartMarkerMeta0%
hasExpandedAttrsType0%
anonymousFunction:264#4880%
getExtArgInfo0%
anonymousFunction:282#5740%
extractExtBody0%
isValidOffset0%
isValidDSR0%
makeHash0%
normalizeNamespaceName0%
decodeWtEntities0%
escapeWtEntities0%
escapeHtml0%
entityEncodeAll0%
isProtocolValid0%
parseMediaDimensions0%
isTplMetaType0%
validateMediaParam0%
getStar0%
isLinkTrail0%
bcp47n0%
hasLiteralHTMLMarker0%
isLiteralHTMLNode0%
isZeroWidthWikitextElt0%
isBlockNodeWithVisibleWT0%
usesWikiLinkSyntax0%
usesExtLinkSyntax0%
usesURLLinkSyntax0%
usesMagicLinkSyntax0%
isNestedInListItem0%
isListItem0%
maybeConvert0%
addNormalizedAttribute0%
lookupKV0%
lookup0%
jsonSerialize0%
__construct0%
jsonSerialize0%
__construct0%
jsonSerialize0%
__construct0%
jsonSerialize0%
getType0%
addAttribute0%
getAttribute0%
jsonSerialize0%
setAttribute0%
setShadowInfo0%
getAttributeShadowInfo0%
removeAttribute0%
addSpaceSeparatedAttribute0%
getWTSource0%
kvsFromArray0%
rebuildNestedTokens0%
getToken0%
serializedDataAttribs0%
toXML0%
ppToXML0%
__construct0%
__construct0%
extractDpAndSerialize0%
findVariantLink0%
baseToVariant0%
loadDefaultTables0%
findVariantLink0%
__construct0%
loadDefaultTables0%
findVariantLink0%
__construct0%
loadDefaultTables0%
findVariantLink0%
__construct0%
loadDefaultTables0%
guessVariant0%
jsonSerialize0%
guessVariantParsoid0%
anonymousFunction:52#3640%
guessVariantPHP0%
__construct0%
__construct0%
validCodePair0%
loadDefaultTables0%
findVariantLink0%
__construct0%
__construct0%
jsonSerialize0%
__construct0%
ppToDOM0%
anonymousFunction:87#4460%
isList0%
isComment0%
applyPageBundle0%
visitAndLoadDataAttribs0%
loadDataAttribs0%
visitAndStoreDataAttribs0%
storeDataAttribs0%
parseHTML0%
visitDOM0%
migrateChildren0%
migrateChildrenBetweenDocs0%
isElt0%
isText0%
isBlockNode0%
injectPageBundle0%
isFormattingElt0%
isQuoteElt0%
isBody0%
hasNChildren0%
pathToAncestor0%
pathToRoot0%
pathToSibling0%
inSiblingOrder0%
isAncestorOf0%
hasAncestorOfName0%
isNodeOfType0%
isFosterablePosition0%
extractPageBundle0%
storeInPageBundle0%
stripSectionTagsAndFallbackIds0%
getDataMw0%
dumpDOM0%
cloneData0%
emit0%
anonymousFunction:178#13070%
anonymousFunction:205#15560%
anonymousFunction:217#16770%
anonymousFunction:236#18630%
anonymousFunction:243#19390%
anonymousFunction:258#21590%
getNodeData0%
getDataParsoid0%
validDataMw0%
anonymousFunction:273#14110%
setDataParsoid0%
setDataMw0%
setNodeData0%
getJSONAttribute0%
setJSONAttribute0%
setShadowInfo0%
setShadowInfoIfModified0%
addAttributes0%
addNormalizedAttribute0%
hasTypeOf0%
addTypeOf0%
removeTypeOf0%
_getID0%

Project Risks

Method CRAP
renderFileG3422
escapeTplArgWT2550
buildExpandedAttrsG2352
onLanguageVariantG2070
encapsulateTemplates1980
doDOMDiff1332
normalizeNode1260
onAny1190
findTopLevelNonOverlappingRanges1122
logTidyWhitespaceBug930
_dataMWEquals930
transformTokens930
escapedText870
logTreeBuilderFixup870
processQuotes812
getDOMRange756
stringifyOptionTokens756
processTokensSync702
getWrapperInfo702
convertQuotesToTags702
onAny650
emitChunk600
onAny552
getWikiLinkTargetInfo552
appendStr552
findDeletedStartTags552
wrapSectionsInDOM506
migrateTrailingNLs462
findAutoInsertedTags462
findWrappableTemplateRanges420
migrateTemplateMarkerMetas380
addLinkAttributesAndGetContent380
_fromSelSer342
_convertTokenToString342
logObsoleteHTMLTags342
toStringOrNull342
markFosteredContent342
maybeSyncReturn342
contentHandler306
attribsEquals306
quoteToTag306
onTemplate272
getArgInfo272
origSrcValidInEditedContext272
doListItem272
onAnyInclude272
getToken240
resolveTplExtSectionConflicts240
transformation240
anonymousFunction:214#1473240
bailTokens240
findLints240
treeEquals240
onExtLink240
computeTagWidths240
storeDataAttribs210
serializeDOMG210
dumpDOM210
_onDelimiterToken210
anonymousFunction:243#1939210
transformation182
moveFormatTagOutsideATag182
buildLinkAttrs182
addDiffMarks182
processSpecialMagicWord156
hoistLinks156
logFosteredContent156
markNode156
aHandler156
_processOne156
validCodePair156
processNode156
removeAutoInsertedEmptyTags132
splitTokens132
computeATagWidth132
_onChunk132
canMigrateNLOutOfNode132
getRangeEndDSR132
openPTag132
createNewSection132
closeOpenPTag132
emitSepForNode132
pLine132
_wikiLinkHandler132
subpipelineUnnecessary132
onChunk132
checkForEOFTkErrors110
tdHandler110
receiveToksFromChild110
getAboutSiblings110
insertTransclusionMetas110
_encapsulateTemplate110
nextToDeletedBlockNodeInWT110
processPendingNLs110
expandRangeToAvoidSpanWrapping110
deleteIndentPreFromDOM90
_expandTemplate90
baseToVariant90
stripMetaTags90
addPlaceholderMeta90
onExtension90
nlTkIndex90
_onDocument90
onToken90
init90
onNewline90
encounteredBlockWhileCollecting90
__construct90
getOptionInfo90
onNewLineOrEOF90
getDSR90
attrHandler72
findAndHandlePres72
logTidyDivSpanFlip72
stripBidiCharsAroundCategories72
moveTrailingSpacesOut72
anonymousFunction:500#423472
lcHandler72
__construct72
lookupArg72
onWikiLinkG72
tkConstructorToTkTypeMap72
isRenderingTransparentNode72
leftMostDescendent72
__construct72
isSolTransparent72
fetchSelser72
findEnclosingTemplateName72
nodeEssentiallyEmpty72
hasMisnestableContent72
getTagsWithChangedMisnestingBehavior56
expand56
convertBold56
matchedOpenTagPairExists56
pWrap56
anonymousFunction:123#88156
_getTransforms56
findMetaShadowNode56
stripIfEmpty56
arrayToHash56
serializeChildrenG56
hasZeroWidthWT56
detectMultipleUnclosedFormattingTags56
anonymousFunction:1062#784556
named56
removeTransclusionShadows42
findFirstTemplatedNode42
acceptableInconsistency42
computeListEltWidth42
isValidDSR42
getWikitextListItemAncestor42
setShadowInfoIfModified42
mergeRuns42
anonymousFunction:809#560542
split42
findFirstEncapsulationWrapperNode42
normalizeExtOptions42
isHTMLTag42
logDeletableTables42
precedingSpaceSuppressesIndentPre42
maybeConvert42
convertAttribsToString42
_fromSelSer42
getShadowInfo42
addDiffMark42
getAttributeShadowInfo42
_fetchTemplateAndTitle42
generateTest42
processSubtree42
getMediaType42
__construct42
getAttrFromDataMw42
anonymousFunction:364#281942
serialHandler42
receiveToksFromSibling42
onRedirectG42
getUpdatedPreTSR42
linkToMedia42
onEnd42
liHandler42
renderCategoryG42
hasDiffMark30
recordTemplateInfo30
usesExtLinkSyntax30
usesWikiLinkSyntax30
hasValidTagWidths30
processPre30
normalizeSiblingPair30
traceNodeName30
isSolTransparentLinkTag30
anonymousFunction:93#52530
anonymousFunction:144#108730
_fromSelSer30
anonymousFunction:58#41030
reinsertLeadingSpace30
logBadPWrapping30
logBogusMediaOptions30
loopAndDepthCheck30
concatTokens30
hasIdenticalNestedTag30
findLintDSR30
anonymousFunction:69#17130
serializeDOM30
escapeLine30
merge30
anonymousFunction:307#188430
onChunk30
logPHPParserBug30
fromSelSer30
insertAfter30
escape30
_fromSelSer30
getTableParent30
addTransform30
treeHasElement30
cloneData30
allChildrenAreTextOrComments30
_imageExtensions30
_parserFunctionsWrapper30
lookupKV30
setShadowInfo30
hasNChildren30
storeInPageBundle30
onListItem30
anonymousFunction:404#267430
_hasImageLink30
onTag30
anonymousFunction:88#71030
stripSectionTagsAndFallbackIds30
getSlice30
anonymousFunction:91#60830
hasBlockElementDescendant30
inHTMLTableTag20
allChildrenAreText20
hasBlockTag20
pathToSibling20
escape20
fromExtensionContent20
anonymousFunction:176#157420
jsonSerialize20
setAttribute20
run20
anonymousFunction:49#33020
equals20
run20
anonymousFunction:100#70820
loadDataAttribs20
serializedDataAttribs20
anonymousFunction:776#535920
resetCurrLine20
onQuote20
emitTokens20
extractDpAndSerialize20
toDOM20
stripBRs20
debugOut20
guessVariantParsoid20
__construct20
anonymousFunction:84#30520
anonymousFunction:826#618220
anonymousFunction:103#54420
_startTokenPipeline20
isBehaviorSwitch20
buildDOMFragment20
parseExtensionHTML20
emitEndTag20
pWrapInsideTag20
emitStartTag20
updateDSRForFirstTplNode20
anonymousFunction:609#446020
isDiffMarker20
initPreTSR20
renderLanguageLinkG20
getDiffMark20
anonymousFunction:178#140720
anonymousFunction:503#361520
usesURLLinkSyntax20
usesMagicLinkSyntax20
setDiffMark20
anonymousFunction:1104#690912
encapTokens12
discardOneNlTk12
anonymousFunction:865#640012
getParamHTMLG12
dict12
anonymousFunction:97#65912
getNewKVs12
onUrlLink12
findMatchingChild12
resetState12
getResultAndReset12
rangesOverlap12
anonymousFunction:630#464212
getFormat12
anonymousFunction:1002#631412
__construct12
closeLists12
introducesCycle12
renderInterwikiLinkG12
findToplevelEnclosingRange12
removeMatchingTransform12
onOnlyInclude12
onTag12
anonymousFunction:152#123412
setFrame12
logWikitextFixups12
removeTransform12
commonPrefixLength12
emitChunk12
_getID12
setShadowInfo12
initMode12
anonymousFunction:254#156812
pathToAncestor12
inSiblingOrder12
isAncestorOf12
hasAncestorOfName12
isNestedInListItem12
hasElementChild12
emitSep12
isContentNode12
firstNonSepChild12
escapeLinkContent12
lastNonSepChild12
addSpaceSeparatedAttribute12
nextNonSepSibling12
numNonDeletedChildNodes12
firstNonDeletedChild12
lastNonDeletedChild12
nextNonDeletedSibling12
previousNonDeletedSibling12
onlySubtreeChanged12
maybeDeletedNode12
anonymousFunction:571#390912
__construct12
isTableTag12
findVariantLink12
ppToXML12
removeAttribute12
ppToDOM12
emit12
__construct12
findVariantLink12
anonymousFunction:258#215912
guessVariantPHP12
getDataParsoid12
findVariantLink12
__construct12
findVariantLink12
findVariantLink12
getJSONAttribute12
loadLanguage12
addAttributes12
hasTypeOf12
addTypeOf12
classFromCode12
removeTypeOf12
anyHandler12
isTemplateToken12
previousNonSepSibling12
isEmptyLineMetaToken12
anonymousFunction:259#188012
emitsSolTransparentSingleLineWT12
__construct12
hasParsoidAboutId12
indentPreDSRCorrection12
cast12
galleryText12
isTplStartMarkerMeta12
getWTSource12
badSuffix12
isLiteralHTMLNode12
appendAttr12
isTplEndMarkerMeta12
trace12
getHeadingAncestor12
pCaption12
getNextMatchingNode12
anonymousFunction:229#128212
getStar12
anonymousFunction:1222#93316
anonymousFunction:71#5016
anonymousFunction:44#3406
_onEnd6
onThunkEvent6
scaleMedia6
hasTemplateToken6
fetchExpandedTpl6
isValidCode6
fetchLanguageNames6
anonymousFunction:906#67376
anonymousFunction:97#6766
setAdditionalOptions6
getEncapsulationInfoEndTag6
getEncapsulationInfo6
onEndEvent6
process6
render6
galleryText6
thumbStyle6
fetchArg6
checkRes6
lookup6
__construct6
perRow6
_callParentCB6
modifyArgDict6
onTemplateArg6
resetState6
anonymousFunction:779#55656
/* subTreechangeMarker */6
anonymousFunction:457#28326
_fromSelSer6
_fromSelSer6
enforced6
tokenTransformersKey6
anonymousFunction:263#18866
storeDiffMark6
renderMediaG6
addNode6
isDeletedBlockNode6
anonymousFunction:267#19746
anonymousFunction:897#72286
anonymousFunction:903#73096
hasDiffMarkers6
getUsed6
anonymousFunction:1092#85496
renderWikiLinkG6
appendSep6
onTag6
thHandler6
onEnd6
anonymousFunction:91#6276
swap6
onEndEvent6
mediaOptionHandler6
__construct6
_hrefParts6
isFirstContentNode6
sepIntroducedSOL6
anonymousFunction:328#20946
getAttributeKVArray6
anonymousFunction:278#14926
anonymousFunction:259#21806
anonymousFunction:309#16616
anonymousFunction:477#22636
push6
__construct6
anonymousFunction:571#36846
getWTSource6
anonymousFunction:264#4886
isTplMarkerMeta6
isBlockNodeWithVisibleWT6
isZeroWidthWikitextElt6
hasLiteralHTMLMarker6
run6
isLinkTrail6
isValidOffset6
anonymousFunction:282#5746
stripStartMeta6
isVoidElement6
isIndentPre6
anonymousFunction:431#33236
isBlockTag6
getTokenType6
anonymousFunction:817#61146
makeMap6
makeSet6
wrapTemplatesInTree6
__construct6
counterToBase646
isNewElt6
isInlineMedia6
anonymousFunction:397#26176
getFosterContentHolder6
anonymousFunction:530#34116
anonymousFunction:442#28136
anonymousFunction:735#50376
fixedIndentPreText6
anonymousFunction:596#44686
tsrSpansTagDOM6
anonymousFunction:700#31046
run6
skipOverEncapsulatedContent6
isParsoidSectionTag6
isGeneratedFigure6
isSealedFragmentOfType6
nodeEndsLineInWT6
isDOMFragmentWrapper6
isEncapsulationWrapper6
isFirstEncapsulationWrapperNode6
isFallbackIdSpan6
flatten6
isSolTransparentLink6
isCategoryLink6
isRedirectLink6
__construct6
onTag6
kvsFromArray6
getDataMw6
migrateChildren6
visitDOM6
extractPageBundle6
injectPageBundle6
onNewline6
processBuffers6
flushBuffers6
hasNoWrapCSS6
setJSONAttribute6
reset6
isElt6
popLastNL6
resetPreCollectCurrentLine6
getNodeData6
anonymousFunction:217#16776
anonymousFunction:205#15566
anonymousFunction:178#13076
onSyncTTMEnd6
anonymousFunction:87#4466
onAny6
rebuildNestedTokens6
migrateChildrenBetweenDocs6
onAny6
atTheTop6
isNodeOfType6
isDocumentFragment6
fetchExpandedExtension6
isIEW6
isNestedListOrListItem6
__construct6
isListOrListItem6
isListItem6
isList6
isFosterablePosition6
isBody6
__construct6
onTag6
isQuoteElt6
onEnd6
isFormattingElt6
isBlockNode6
isComment6
popTags6
isDtDd6
isText6
anonymousFunction:283#23276
decodeComment6