/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\Sanitizer
5%
Project Risks
Class
CRAP
Wikimedia\Parsoid\Core\Sanitizer
19288
Wikimedia\Parsoid\Core\TOCData
650
Wikimedia\Parsoid\Core\MediaStructure
462
Wikimedia\Parsoid\Core\DomSourceRange
420
Wikimedia\Parsoid\Core\PageBundle
240
Wikimedia\Parsoid\Core\SectionMetadata
210
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
armorFrenchSpaces
0%
normalizeSectionNameWhiteSpace
0%
escapeIdReferenceList
0%
escapeIdInternal
0%
escapeIdInternalUrl
0%
escapeIdForExternalInterwiki
0%
escapeIdForLink
0%
escapeIdForAttribute
0%
sanitizeTitleURI
0%
setExtensionData
0%
cssDecodeCallback
0%
applySanitizedArgs
0%
sanitizeTagAttrs
0%
isParsoidAttr
0%
delimiterReplace
0%
delimiterReplaceCallback
0%
normalizeCss
0%
__construct
0%
appendExtensionData
0%
fromDOM
0%
getSections
0%
jsonSerialize
0%
processHeading
0%
fromLegacy
0%
toLegacy
0%
getExtensionData
0%
appendExtensionData
0%
setExtensionData
0%
addSection
0%
getExtensionData
0%
getCurrentTOCLevel
0%
__construct
0%
__construct
0%
jsonSerialize
0%
toLegacy
0%
fromLegacy
0%
fromArray
0%
toArray
0%
decodeChar
0%
decodeEntity
0%
cleanUrl
0%
hasValidTagWidths
0%
getResource
0%
hasResource
0%
isRedLink
0%
__construct
0%
jsonSerialize
0%
fromArray
0%
fromTsr
0%
offset
0%
getAlt
0%
stripTags
0%
closeSubstr
0%
openSubstr
0%
innerLength
0%
innerEnd
0%
innerStart
0%
innerSubstr
0%
__construct
0%
hasAlt
0%
hasMediaUrl
0%
stripIDNs
0%
getMediaUrl
0%
utf8ToCodepoint
0%
codepointToUtf8
0%
validateCodepoint
0%
hexCharReference
0%
decCharReference
0%
normalizeEntity
0%
normalizeCharReferencesCallback
0%
normalizeCharReferences
0%
setupAttributesAllowedInternal
0%
attributesAllowedInternal
0%
apply
0%
responseData
0%
validate
0%
toHtml
0%
__construct
0%
parse
0%
setTOCData
0%
isReservedDataAttribute
66%
checkCss
85%
Project Risks
Method
CRAP
sanitizeTagAttrs
2070
delimiterReplaceCallback
182
processHeading
156
validateCodepoint
110
parse
90
cssDecodeCallback
72
cleanUrl
42
validate
42
isParsoidAttr
42
apply
30
normalizeCharReferencesCallback
30
setExtensionData
20
setExtensionData
20
escapeIdInternal
20
sanitizeTitleURI
20
normalizeCss
20
hasValidTagWidths
20
normalizeEntity
20
hexCharReference
12
jsonSerialize
12
applySanitizedArgs
12
__construct
12
fromArray
12
decodeEntity
6
hasMediaUrl
6
toLegacy
6
fromLegacy
6
escapeIdReferenceList
6
getMediaUrl
6
escapeIdInternalUrl
6
escapeIdForAttribute
6
responseData
6
setupAttributesAllowedInternal
6
decCharReference
6
decodeChar
6
checkCss
4
isReservedDataAttribute
2