/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\SelserData
0%
Wikimedia\Parsoid\Core\TOCData
0%
Wikimedia\Parsoid\Core\ContentMetadataCollectorCompat
0%
Wikimedia\Parsoid\Core\LinkTargetTrait
0%
Wikimedia\Parsoid\Core\Sanitizer
5%
Project Risks
Class
CRAP
Wikimedia\Parsoid\Core\Sanitizer
18896
Wikimedia\Parsoid\Core\TOCData
1260
Wikimedia\Parsoid\Core\SectionMetadata
930
Wikimedia\Parsoid\Core\DomSourceRange
420
Wikimedia\Parsoid\Core\PageBundle
342
Wikimedia\Parsoid\Core\MediaStructure
306
Wikimedia\Parsoid\Core\LinkTargetTrait
210
Wikimedia\Parsoid\Core\ContentMetadataCollectorCompat
12
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
fromDOM
0%
__construct
0%
innerSubstr
0%
innerStart
0%
innerEnd
0%
innerLength
0%
openSubstr
0%
closeSubstr
0%
stripTags
0%
offset
0%
hasValidTagWidths
0%
fromTsr
0%
fromArray
0%
jsonSerialize
0%
__construct
0%
isRedLink
0%
getResource
0%
getAlt
0%
getMediaUrl
0%
parse
0%
__construct
0%
toDom
0%
toHtml
0%
validate
0%
responseData
0%
apply
0%
encodeForHeadElement
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%
setNumericPageProperty
0%
setUnsortedPageProperty
0%
inNamespace
0%
hasFragment
0%
getText
0%
isExternal
0%
isSameLinkAs
0%
getNamespaceName
0%
__toString
0%
isReservedDataAttribute
66%
checkCss
85%
Project Risks
Method
CRAP
sanitizeTagAttrs
1980
delimiterReplaceCallback
182
processHeading
156
toJsonArray
132
validateCodepoint
110
parse
90
cssDecodeCallback
72
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
fromArray
12
jsonSerialize
12
__construct
12
hexCharReference
12
applySanitizedArgs
12
prettyPrint
12
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
setNumericPageProperty
6
getNamespaceName
6
checkCss
4
isReservedDataAttribute
2