Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
36 0 0 0 100% 1.594

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
net.sourceforge.pmd.lang.xml 13 0 0 0 100% 0.105
net.sourceforge.pmd.lang.xml.rule 4 0 0 0 100% 0.021
net.sourceforge.pmd.lang.xsl.rule.xpath 5 0 0 0 100% 0.077
net.sourceforge.pmd.ant 1 0 0 0 100% 0.646
net.sourceforge.pmd 8 0 0 0 100% 0.677
net.sourceforge.pmd.lang.xml.rule.basic 5 0 0 0 100% 0.068

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.sourceforge.pmd.lang.xml

Class Tests Errors Failures Skipped Success Rate Time
XmlParserOptionsTest 4 0 0 0 100% 0.007
XmlParserTest 9 0 0 0 100% 0.098

net.sourceforge.pmd.lang.xml.rule

Class Tests Errors Failures Skipped Success Rate Time
AbstractDomXmlRuleTest 3 0 0 0 100% 0.018
AbstractXmlRuleTest 1 0 0 0 100% 0.003

net.sourceforge.pmd.lang.xsl.rule.xpath

Class Tests Errors Failures Skipped Success Rate Time
XPathRulesTest 5 0 0 0 100% 0.077

net.sourceforge.pmd.ant

Class Tests Errors Failures Skipped Success Rate Time
PMDTaskTest 1 0 0 0 100% 0.646

net.sourceforge.pmd

Class Tests Errors Failures Skipped Success Rate Time
RuleSetFactoryTest 4 0 0 0 100% 0.674
LanguageVersionTest 4 0 0 0 100% 0.003

net.sourceforge.pmd.lang.xml.rule.basic

Class Tests Errors Failures Skipped Success Rate Time
BasicRulesTest 5 0 0 0 100% 0.068

Test Cases

[Summary] [Package List] [Test Cases]

RuleSetFactoryTest

testDtd 0.23
testXmlSchema 0.091
testReadWriteRoundTrip 0.337
testAllPMDBuiltInRulesMeetConventions 0.016

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.002
testGetLanguageVersionForTerseName[0] 0.001
testFindVersionsForLanguageNameAndVersion[1] 0
testGetLanguageVersionForTerseName[1] 0

XPathRulesTest

AvoidAxisNavigation::0 Basic scenario 0.026
AvoidAxisNavigation::1 using an axis name as an node name 0.015
AvoidAxisNavigation::2 using an axis descendant::self abreviation with checkSelfDescendantAbreviation @true 0.014
UseConcatOnce::0 Basic scenario 0.01
UseConcatOnce::1 Valid use of concat() 0.012

AbstractDomXmlRuleTest

dtdIsNotLookedUp 0.002
testVisit 0.012
xsdIsNotLookedUp 0.004

XmlParserOptionsTest

testEqualsHashcode 0.004
testDefaults 0.002
testSetters 0.001
testConstructor 0

BasicRulesTest

MistypedCDATASection::0 No CDATASection 0.011
MistypedCDATASection::1 Valid CDATASection 0.014
MistypedCDATASection::2 CDATASection with [ and ] in it, but not at the ends 0.01
MistypedCDATASection::3 CDATASection with [ at the beginning 0.013
MistypedCDATASection::4 CDATASection with ] at the end 0.02

XmlParserTest

testParsingDoNotExpandEntities 0.045
testParsingIgnoreComments 0.006
testParsingNotNamespaceAware 0.008
testDefaultParsing 0.004
testParsingIgnoreElementContentWhitespace 0.003
testParsingWithValidation 0.011
testDefaultParsingNamespaces 0.007
testParsingCoalescingEnabled 0.007
testLineNumbers 0.007

AbstractXmlRuleTest

testVisit 0.003

PMDTaskTest

testXML 0.646