Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
_unimplemented0%
__unsafe_appendChild0%
removeNamedItem0%
removeNamedItemNS0%
getNodeValue0%
setNodeValue0%
getTextContent0%
setTextContent0%
getParentElement0%
getPreviousSibling0%
getChildNodes0%
getLastChild0%
hasChildNodes0%
replaceChild0%
getNamedItemNS0%
removeChild0%
normalize0%
compareDocumentPosition0%
contains0%
isSameNode0%
isEqualNode0%
cloneNode0%
lookupPrefix0%
lookupNamespaceURI0%
isDefaultNamespace0%
__set_owner0%
setNamedItemNS0%
_hasNamedItemNS0%
__uproot0%
set0%
hasAttributes0%
getAttributeNames0%
classList0%
matches0%
closest0%
getNodeType0%
get0%
set0%
get0%
set0%
get0%
get0%
_hasNamedItem0%
get0%
set0%
ll_remove0%
ll_replace0%
__construct0%
add0%
del0%
get_first0%
downgrade0%
_replace0%
_remove0%
__root0%
__sibling_index0%
getAttributeNodeNS0%
_remove0%
ensure_replace_valid0%
is_valid_xml_qname0%
validate_and_extract0%
__construct0%
_run0%
onload0%
getComputedStyle0%
_fragment_from_arguments0%
after0%
before0%
remove0%
replaceWith0%
locate_namespace0%
hasChildNodes0%
getFirstChild0%
getLastChild0%
insertBefore0%
replaceChild0%
removeChild0%
__remove_children0%
getChildNodes0%
getNextElementSibling0%
getPreviousElementSibling0%
querySelectorAll0%
locate_prefix0%
compare_document_position0%
__remove_children0%
wholeText0%
__construct0%
item0%
__construct0%
getNodeType0%
getNodeName0%
_subclass_cloneNodeShallow0%
_subclass_isEqualNode0%
getNodeName0%
_subclass_isEqualNode0%
_subclass_cloneNodeShallow0%
splitText0%
percent_encode0%
ascii_to_uppercase0%
merge0%
remove_dot_segments0%
__construct0%
isAbsolute0%
isAuthorityBased0%
isHierarchical0%
toString0%
resolve0%
__construct0%
error0%
ascii_to_lowercase0%
setAttributeNodeNS0%
_nextElement0%
removeAttributeNode0%
getURL0%
isValidQName0%
checkEncoding0%
createDocument0%
createHTMLDocument0%
_templateDoc0%
getNodeName0%
getCharacterSet0%
getCharset0%
getInputEncoding0%
getImplementation0%
getDocumentURI0%
getCompatMode0%
hasFeature0%
getContentType0%
getDoctype0%
getDocumentElement0%
createDocumentFragment0%
createProcessingInstruction0%
createAttribute0%
createAttributeNS0%
createElementNS0%
_createElementNS0%
importNode0%
setAttributeNode0%
removeChild0%
createDocumentType0%
__toString0%
_isHTMLDocument0%
setNodeValue0%
getNodeName0%
getNodeValue0%
setNodeValue0%
getSpecified0%
getPrefix0%
getTextContent0%
setTextContent0%
_subclass_cloneNodeShallow0%
_subclass_isEqualNode0%
getNodeType0%
getNodeName0%
getNodeValue0%
getTextContent0%
__construct0%
setTextContent0%
substringData0%
appendData0%
insertData0%
deleteData0%
replaceData0%
getLength0%
setData0%
getNodeName0%
_subclass_cloneNodeShallow0%
_subclass_isEqualNode0%
clone0%
cloneNode0%
replaceChild0%
_subclass_cloneNodeShallow0%
getTextContent0%
getNodeType0%
getNodeName0%
_subclass_isEqualNode0%
getPublicId0%
getSystemId0%
_subclass_cloneNodeShallow0%
_subclass_isEqualNode0%
getPrefix0%
getLocalName0%
id0%
setTextContent0%
outerHTML0%
_subclass_cloneNodeShallow0%
_subclass_isEqualNode0%
removeAttribute0%
hasAttribute0%
toggleAttribute0%
getAttributeNS0%
setAttributeNS0%
removeAttributeNS0%
hasAttributeNS0%
getAttributeNode0%
__construct0%
getName0%
innerHTML0%
getNodeName0%
__add_to_id_table0%
__remove_from_id_table0%
__mutate_value0%
__mutate_attr0%
__mutate_remove_attr0%
__mutate_remove0%
__mutate_insert0%
__construct0%
getNodeType0%
__mutate_move0%
getTextContent0%
setTextContent0%
querySelector0%
_subclass_isEqualNode0%
_subclass_cloneNodeShallow0%
querySelectorAll0%
is_valid_xml_name15%
_helper_attrname25%
get29%
ensure_insert_valid30%
set36%
getFirstChild40%
insert_before_or_replace41%
getNamedItem42%
getElementById50%
adoptNode55%
_append61%
__construct61%
__construct63%
serialize_node63%
assert66%
__get66%
set66%
setNamedItem70%
createElement75%
setValue78%
setAttribute80%
_isHTMLElement80%
getNextSibling80%
insertBefore83%
__construct83%
__rereference_doctype_and_documentElement87%

Project Risks

Method CRAP
ensure_replace_valid1980
ensure_insert_valid1047
compare_document_position756
locate_namespace600
locate_prefix420
validate_and_extract306
insert_before_or_replace238
__construct210
remove_dot_segments182
toString156
_subclass_isEqualNode72
_nextElement72
isEqualNode72
toggleAttribute72
get62
_subclass_cloneNodeShallow56
is_valid_xml_qname56
createDocument56
serialize_node55
set55
normalize42
__sibling_index42
replaceData42
is_valid_xml_name36
__remove_children30
setNamedItemNS30
get_first30
replaceWith30
resolve30
before30
__root30
closest30
_helper_attrname21
_remove20
getLastChild20
getAttributeNS20
getPreviousElementSibling20
_isHTMLDocument20
merge20
getNextElementSibling20
_remove20
remove20
after20
substringData20
createElementNS20
__uproot20
splitText20
__remove_from_id_table20
__construct16
__construct15
getChildNodes12
contains12
get12
get12
lookupPrefix12
cloneNode12
ll_replace12
downgrade12
_fragment_from_arguments12
getPreviousSibling12
_replace12
lookupNamespaceURI12
_hasNamedItem12
wholeText12
removeNamedItemNS12
getParentElement12
__set_owner12
get12
setTextContent12
_subclass_isEqualNode12
setAttributeNS12
hasFeature12
id12
createHTMLDocument12
_subclass_isEqualNode12
createProcessingInstruction12
createAttribute12
__construct12
createAttributeNS12
getAttributeNodeNS12
_createElementNS12
cloneNode12
__add_to_id_table12
setTextContent12
getNamedItem9
__construct7
adoptNode7
_subclass_cloneNodeShallow6
setNodeValue6
isDefaultNamespace6
__mutate_attr6
__mutate_value6
getChildNodes6
getPrefix6
item6
_subclass_cloneNodeShallow6
_subclass_isEqualNode6
_subclass_cloneNodeShallow6
getTextContent6
setTextContent6
setTextContent6
_subclass_cloneNodeShallow6
__construct6
getNodeValue6
getCompatMode6
error6
_templateDoc6
setNodeValue6
__mutate_remove6
createDocumentType6
getTextContent6
__mutate_remove_attr6
__mutate_move6
__mutate_insert6
ll_remove6
getNamedItemNS6
_hasNamedItemNS6
getTextContent6
del6
add6
removeAttributeNS6
getNodeValue6
getNodeValue6
hasAttributeNS6
getAttributeNode6
getAttributeNames6
set6
classList6
set6
removeNamedItem6
getPrefix6
setNodeValue6
querySelector6
getTextContent6
removeChild6
replaceChild6
setTextContent6
_subclass_cloneNodeShallow6
hasChildNodes6
outerHTML6
getTextContent6
_subclass_cloneNodeShallow6
setNamedItem5
setValue5
setAttribute5
getFirstChild4
_isHTMLElement4
getElementById4
__rereference_doctype_and_documentElement4
_append3
set3
assert3
getNextSibling3
__get2
createElement2
insertBefore2