Project dom4j 1.5.2 [5/2/05 10:13 PM]
 
Class Summary - org. dom4j. tree. DefaultElement
Risk Complexity Usage Methods Coverage Test Points Failures Owners
Methods Outcomes
1213 202 6 49 60.6 % 4.1 % -- 4 Not Owned
Methods
Method Complexity Coverage Outcomes with Test Points Test Status Outcome Status
<init>(QName, int) 2 0.0 % -- -- --
<init>(QName) 1 100.0 % -- Failed --
<init>(String, Namespace) 1 0.0 % -- -- --
<init>(String) 1 100.0 % -- Passed --
add(Attribute) 5 81.2 % -- -- --
additionalNamespaces() 7 87.5 % -- -- --
additionalNamespaces(String) 7 0.0 % -- -- --
addNewNode(Node) 3 100.0 % -- -- --
attribute(int) 4 72.7 % -- -- --
attribute(QName) 6 100.0 % -- -- --
attribute(String, Namespace) 1 0.0 % -- -- --
attribute(String) 6 100.0 % -- -- --
attributeCount() 3 100.0 % -- -- --
attributeIterator() 3 77.8 % -- -- --
attributeList() 3 100.0 % -- -- --
attributeList(int) 3 46.2 % -- -- --
attributes() 1 100.0 % -- -- --
clearContent() 2 0.0 % -- -- --
clone() 2 87.5 % -- -- --
contentList() 3 100.0 % -- -- --
declaredNamespaces() 5 75.0 % -- -- --
element(QName) 7 95.2 % -- -- --
element(String, Namespace) 1 0.0 % -- -- --
element(String) 7 90.5 % -- -- --
getDocument() 3 100.0 % -- -- --
getDocumentFactory() 2 66.7 % -- -- --
getNamespaceForPrefix(String) 14 69.0 % -- -- --
getNamespaceForURI(String) 11 42.4 % -- -- --
getParent() 2 100.0 % -- -- --
getQName() 1 100.0 % -- -- --
getStringValue() 7 82.6 % -- -- --
getText() 3 75.0 % -- -- --
indexOf(Node) 4 0.0 % -- -- --
node(int) 7 57.9 % -- -- --
nodeCount() 3 100.0 % -- -- --
nodeIterator() 3 100.0 % -- -- --
processingInstruction(String) 7 0.0 % -- -- --
processingInstructions() 5 0.0 % -- -- --
processingInstructions(String) 7 0.0 % -- -- --
remove(Attribute) 8 50.0 % -- -- --
removeNode(Node) 5 81.2 % -- -- --
removeProcessingInstruction(String) 7 0.0 % -- -- --
setAttributeList(List) 1 0.0 % -- -- --
setAttributes(List) 2 0.0 % -- -- --
setContent(List) 8 61.3 % -- -- --
setDocument(Document) 3 100.0 % -- -- --
setParent(Element) 3 100.0 % -- -- --
setQName(QName) 1 100.0 % -- -- --
supportsParent() 1 100.0 % -- -- --
Test Classes
Test Class Status
org. dom4j. XMLWriterTest Failed
org. dom4j. XPathTest Passed
org. dom4j. BackedListTest Passed
org. dom4j. LineFeedTest Passed
org. dom4j. ParentTest Passed
org. dom4j. tree. DefaultElementTest Passed
org. dom4j. datatype. SetDataTest Failed
org. dom4j. dom. DOMTest Passed
org. dom4j. io. StaxTest Failed
org. dom4j. ContentTest Passed
org. dom4j. ThreadingTest Passed
org. dom4j. IsTextOnlyTest Passed
Failure Details
Test Class Failures
Test Method Status Failure Message
org. dom4j. datatype. SetDataTest. testAttribute() Failed java.lang.NullPointerException:
org. dom4j. io. StaxTest. testEncoding() Failed junit.framework.AssertionFailedError
org. dom4j. datatype. SetDataTest. testAttributeWithNamespace() Failed java.lang.NullPointerException:
org. dom4j. datatype. SetDataTest. testElement() Failed java.lang.NullPointerException:
Rule Violations
There are no rule violations for this class
Agitation Notes
There are no agitation notes for this class