Project dom4j [9/6/06 2:52 PM]
 
Class Summary - org. dom4j. io. XMLWriter
Risk Complexity Usage Methods Coverage Test Points Failures Owners
Methods Outcomes
2931 293 10 93 60.5 % 17.2 % -- 0 Not Owned
Methods
Method Complexity Coverage Outcomes with Test Points Test Status Outcome Status
<init>() 1 100.0 % -- Passed --
<init>(OutputFormat) 1 100.0 % -- Passed --
<init>(OutputStream, OutputFormat) 1 100.0 % -- Passed --
<init>(OutputStream) 1 100.0 % -- Passed --
<init>(Writer, OutputFormat) 1 100.0 % -- Passed --
<init>(Writer) 1 100.0 % -- Passed --
characters(char[], int, int) 16 85.4 % -- Passed --
close() 1 100.0 % -- Passed --
comment(char[], int, int) 5 0.0 % -- -- --
createWriter(OutputStream, String) 1 100.0 % -- -- --
defaultMaximumAllowedCharacter() 3 57.1 % -- -- --
endCDATA() 3 0.0 % -- -- --
endDocument() 3 42.9 % -- Passed --
endDTD() 2 0.0 % -- -- --
endElement(String, String, String) 4 77.8 % -- Passed --
endEntity(String) 2 0.0 % -- -- --
endPrefixMapping(String) 1 0.0 % -- -- --
escapeAttributeEntities(String) 17 31.9 % -- -- --
escapeElementEntities(String) 14 92.9 % -- -- --
flush() 1 100.0 % -- -- --
getLexicalHandler() 1 0.0 % -- -- --
getMaximumAllowedCharacter() 2 100.0 % -- -- --
getOutputFormat() 1 100.0 % -- -- --
getProperty(String) 3 0.0 % -- -- --
handleException(IOException) 1 0.0 % -- -- --
ignorableWhitespace(char[], int, int) 1 0.0 % -- -- --
indent() 4 100.0 % -- -- --
installLexicalHandler() 5 0.0 % -- -- --
isElementSpacePreserved(Element) 4 90.9 % -- -- --
isEscapeText() 1 0.0 % -- -- --
isExpandEmptyElements() 1 0.0 % -- -- --
isNamespaceDeclaration(Namespace) 5 72.7 % -- -- --
notationDecl(String, String, String) 1 0.0 % -- -- --
parse(InputSource) 1 0.0 % -- -- --
println() 1 100.0 % -- -- --
processingInstruction(String, String) 2 0.0 % -- -- --
resolveEntityRefs() 1 0.0 % -- -- --
setDocumentLocator(Locator) 1 100.0 % -- -- --
setEscapeText(boolean) 1 100.0 % -- Passed --
setIndentLevel(int) 1 0.0 % -- -- --
setLexicalHandler(LexicalHandler) 2 0.0 % -- -- --
setMaximumAllowedCharacter(int) 1 100.0 % -- Passed --
setOutputStream(OutputStream) 1 100.0 % -- Passed --
setProperty(String, Object) 3 0.0 % -- -- --
setResolveEntityRefs(boolean) 1 0.0 % -- -- --
setWriter(Writer) 1 100.0 % -- Passed --
shouldEncodeChar(char) 3 100.0 % -- -- --
startCDATA() 3 0.0 % -- -- --
startDocument() 2 66.7 % -- Passed --
startDTD(String, String, String) 3 0.0 % -- -- --
startElement(String, String, String, Attributes) 2 87.5 % -- Passed --
startEntity(String) 3 0.0 % -- -- --
startPrefixMapping(String, String) 2 0.0 % -- -- --
unparsedEntityDecl(String, String, String, String) 1 0.0 % -- -- --
write(Attribute) 2 0.0 % -- -- --
write(CDATA) 2 0.0 % -- -- --
write(Comment) 2 0.0 % -- -- --
write(Document) 4 100.0 % -- Passed --
write(DocumentType) 2 0.0 % -- -- --
write(Element) 2 100.0 % -- Passed --
write(Entity) 2 0.0 % -- -- --
write(Namespace) 2 0.0 % -- -- --
write(Node) 2 60.0 % -- -- --
write(Object) 6 18.8 % -- Passed --
write(ProcessingInstruction) 2 0.0 % -- -- --
write(String) 2 0.0 % -- -- --
write(Text) 2 0.0 % -- -- --
writeAttribute(Attribute) 1 0.0 % -- -- --
writeAttribute(Attributes, int) 1 100.0 % -- -- --
writeAttributes(Attributes) 2 100.0 % -- -- --
writeAttributes(Element) 10 80.0 % -- -- --
writeCDATA(String) 2 100.0 % -- -- --
writeClose(Element) 1 0.0 % -- -- --
writeClose(String) 1 100.0 % -- -- --
writeComment(String) 2 100.0 % -- -- --
writeDeclaration() 6 57.9 % -- -- --
writeDocType(DocumentType) 2 80.0 % -- -- --
writeDocType(String, String, String) 6 0.0 % -- -- --
writeElement(Element) 10 100.0 % -- -- --
writeElementContent(Element) 30 83.2 % -- -- --
writeEmptyElementClose(String) 2 100.0 % -- -- --
writeEntity(Entity) 2 0.0 % -- -- --
writeEntityRef(String) 1 0.0 % -- -- --
writeEscapeAttributeEntities(String) 2 80.0 % -- -- --
writeNamespace(Namespace) 2 75.0 % -- -- --
writeNamespace(String, String) 3 90.9 % -- -- --
writeNamespaces() 3 18.2 % -- -- --
writeNode(Node) 11 69.6 % -- -- --
writeNodeText(Node) 4 72.7 % -- -- --
writeOpen(Element) 1 0.0 % -- -- --
writePrintln() 2 100.0 % -- -- --
writeProcessingInstruction(ProcessingInstruction) 1 100.0 % -- -- --
writeString(String) 8 73.1 % -- -- --
Test Classes
Test Class Status
org. dom4j. XMLResultTest Passed
org. dom4j. XMLSpaceAttributeTest Passed
org. dom4j. LineFeedTest Passed
org. dom4j. RoundTripTest Passed
org. dom4j. BackedListTest Passed
org. dom4j. io. WriteUnmergedTextTest Passed
org. dom4j. XMLWriterTest Passed
Failure Details
There are no failures associated with this class
Rule Violations
There are no rule violations for this class
Agitation Notes
There are no agitation notes for this class