/src/src
Core
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
Wikimedia\Parsoid\Core\ClientError
0%
Wikimedia\Parsoid\Core\ContentModelHandler
0%
Wikimedia\Parsoid\Core\DomSourceRange
0%
Wikimedia\Parsoid\Core\MediaStructure
0%
Wikimedia\Parsoid\Core\PageBundle
0%
Wikimedia\Parsoid\Core\SectionMetadata
0%
Wikimedia\Parsoid\Core\SelectiveUpdateData
0%
Wikimedia\Parsoid\Core\TOCData
0%
Wikimedia\Parsoid\Core\LinkTargetTrait
0%
Wikimedia\Parsoid\Core\Sanitizer
5%
Wikimedia\Parsoid\Core\DomPageBundle
36%
Project Risks
Class
CRAP
Wikimedia\Parsoid\Core\Sanitizer
19172
Wikimedia\Parsoid\Core\TOCData
1260
Wikimedia\Parsoid\Core\SectionMetadata
930
Wikimedia\Parsoid\Core\DomSourceRange
870
Wikimedia\Parsoid\Core\PageBundle
756
Wikimedia\Parsoid\Core\MediaStructure
306
Wikimedia\Parsoid\Core\LinkTargetTrait
210
Wikimedia\Parsoid\Core\DomPageBundle
147
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
toDOM
0%
fromDOM
0%
__construct
0%
newEmpty
0%
toDom
0%
apply
0%
isSingleDocument
0%
encodeForHeadElement
0%
decodeFromHeadElement
0%
toJsonArray
0%
newFromJsonArray
0%
__construct
0%
innerSubstr
0%
innerStart
0%
innerEnd
0%
innerLength
0%
openSubstr
0%
closeSubstr
0%
openRange
0%
closeRange
0%
innerRange
0%
stripTags
0%
offset
0%
hasValidTagWidths
0%
hasTrimmedWS
0%
hasValidLeadingWS
0%
hasValidTrailingWS
0%
fromTsr
0%
newFromJsonArray
0%
toJsonArray
0%
hint
0%
__construct
0%
isRedLink
0%
getResource
0%
getAlt
0%
getMediaUrl
0%
parse
0%
__construct
0%
newEmpty
0%
toDom
0%
toHtml
0%
validate
0%
responseData
0%
apply
0%
encodeForHeadElement
0%
decodeFromHeadElement
0%
fromDomPageBundle
0%
toSingleDocumentHtml
0%
toInlineAttributeHtml
0%
toJsonArray
0%
newFromJsonArray
0%
attributesAllowedInternal
0%
setupAttributesAllowedInternal
0%
normalizeCharReferences
0%
normalizeCharReferencesCallback
0%
normalizeEntity
0%
decCharReference
0%
hexCharReference
0%
validateCodepoint
0%
codepointToUtf8
0%
utf8ToCodepoint
0%
stripIDNs
0%
cleanUrl
0%
decodeEntity
0%
decodeChar
0%
normalizeCss
0%
delimiterReplaceCallback
0%
delimiterReplace
0%
isParsoidAttr
0%
sanitizeTagAttrs
0%
applySanitizedArgs
0%
cssDecodeCallback
0%
sanitizeTitleURI
0%
armorFrenchSpaces
0%
escapeIdForAttribute
0%
escapeIdForLink
0%
escapeIdForExternalInterwiki
0%
escapeIdInternalUrl
0%
escapeIdInternal
0%
escapeIdReferenceList
0%
normalizeSectionNameWhiteSpace
0%
__construct
0%
setExtensionData
0%
appendExtensionData
0%
getExtensionData
0%
toArray
0%
fromArray
0%
fromLegacy
0%
toLegacy
0%
jsonSerialize
0%
toJsonArray
0%
newFromJsonArray
0%
prettyPrint
0%
__construct
0%
__construct
0%
getCurrentTOCLevel
0%
addSection
0%
getSections
0%
setExtensionData
0%
appendExtensionData
0%
getExtensionData
0%
toLegacy
0%
fromLegacy
0%
processHeading
0%
jsonSerialize
0%
toJsonArray
0%
newFromJsonArray
0%
jsonClassHintFor
0%
prettyPrint
0%
__clone
0%
inNamespace
0%
hasFragment
0%
getText
0%
isExternal
0%
isSameLinkAs
0%
getNamespaceName
0%
__toString
0%
toInlineAttributeHtml
66%
isReservedDataAttribute
66%
checkCss
85%
Project Risks
Method
CRAP
sanitizeTagAttrs
2070
delimiterReplaceCallback
182
processHeading
156
toJsonArray
132
validateCodepoint
110
parse
90
cssDecodeCallback
72
apply
42
validate
42
apply
42
cleanUrl
42
isParsoidAttr
42
normalizeCharReferencesCallback
30
hasValidTagWidths
20
normalizeEntity
20
normalizeCss
20
sanitizeTitleURI
20
escapeIdInternal
20
setExtensionData
20
prettyPrint
20
setExtensionData
20
isSameLinkAs
20
__toString
20
newFromJsonArray
12
toJsonArray
12
__construct
12
fromDomPageBundle
12
hexCharReference
12
applySanitizedArgs
12
prettyPrint
12
toDom
6
hasTrimmedWS
6
fromTsr
6
getMediaUrl
6
responseData
6
setupAttributesAllowedInternal
6
decCharReference
6
decodeEntity
6
decodeChar
6
escapeIdForAttribute
6
escapeIdInternalUrl
6
escapeIdReferenceList
6
fromLegacy
6
toLegacy
6
newFromJsonArray
6
jsonClassHintFor
6
__clone
6
getNamespaceName
6
checkCss
4
toInlineAttributeHtml
2
isReservedDataAttribute
2