Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
496 0 0 5 98.992% 6.71

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.stat 82 0 0 0 100% 0.15
net.sourceforge.pmd.jaxen 4 0 0 0 100% 0
net.sourceforge.pmd.util.database 43 0 0 1 97.674% 0.12
net.sourceforge.pmd.renderers 58 0 0 0 100% 0.346
net.sourceforge.pmd 158 0 0 0 100% 4.412
net.sourceforge.pmd.util 18 0 0 0 100% 0
net.sourceforge.pmd.properties 87 0 0 4 95.402% 0.009
net.sourceforge.pmd.cli 4 0 0 0 100% 0.052
net.sourceforge.pmd.util.designer 1 0 0 0 100% 0.02
net.sourceforge.pmd.util.filter 5 0 0 0 100% 0.003
net.sourceforge.pmd.ant 7 0 0 0 100% 1.474
net.sourceforge.pmd.lang.dfa.report 7 0 0 0 100% 0.101
net.sourceforge.pmd.lang.ast.xpath 2 0 0 0 100% 0.001
net.sourceforge.pmd.cpd 20 0 0 0 100% 0.022

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

net.sourceforge.pmd.stat

Class Tests Errors Failures Skipped Success Rate Time
MetricTest 7 0 0 0 100% 0
StatisticalRuleTest 75 0 0 0 100% 0.15

net.sourceforge.pmd.jaxen

Class Tests Errors Failures Skipped Success Rate Time
AttributeAxisIteratorTest 1 0 0 0 100% 0
AttributeTest 1 0 0 0 100% 0
MatchesFunctionTest 2 0 0 0 100% 0

net.sourceforge.pmd.util.database

Class Tests Errors Failures Skipped Success Rate Time
DBMSMetadataTest 1 0 0 1 0% 0
DBTypeTest 4 0 0 0 100% 0.001
DBURITest 36 0 0 0 100% 0.076
ResourceLoaderTest 1 0 0 0 100% 0.043
ResourceResolverTest 1 0 0 0 100% 0

net.sourceforge.pmd.renderers

Class Tests Errors Failures Skipped Success Rate Time
CSVRendererTest 5 0 0 0 100% 0.001
EmacsRendererTest 5 0 0 0 100% 0
HTMLRendererTest 5 0 0 0 100% 0
IDEAJRendererTest 5 0 0 0 100% 0
PapariTextRendererTest 5 0 0 0 100% 0
SummaryHTMLRendererTest 7 0 0 0 100% 0
TextPadRendererTest 5 0 0 0 100% 0
TextRendererTest 5 0 0 0 100% 0
VBHTMLRendererTest 5 0 0 0 100% 0
XMLRendererTest 5 0 0 0 100% 0
XSLTRendererTest 1 0 0 0 100% 0.341
YAHTMLRendererTest 5 0 0 0 100% 0.004

net.sourceforge.pmd

Class Tests Errors Failures Skipped Success Rate Time
AbstractRuleTest 14 0 0 0 100% 0.019
ConfigurationTest 16 0 0 0 100% 0.029
FileSelectorTest 3 0 0 0 100% 0
ReadableDurationTest 4 0 0 0 100% 0.003
ReportTest 7 0 0 0 100% 0.023
RuleContextTest 5 0 0 0 100% 0
RuleReferenceTest 3 0 0 0 100% 0.003
RuleSetFactoryTest 45 0 0 0 100% 0.372
RuleSetReferenceIdTest 28 0 0 0 100% 3.859
RuleSetTest 26 0 0 0 100% 0.008
RuleSetWriterTest 2 0 0 0 100% 0.096
RuleViolationComparatorTest 1 0 0 0 100% 0
RuleViolationTest 4 0 0 0 100% 0

net.sourceforge.pmd.util

Class Tests Errors Failures Skipped Success Rate Time
CompoundListTest 5 0 0 0 100% 0
DateTimeUtilTest 1 0 0 0 100% 0
StringUtilTest 7 0 0 0 100% 0
TypeMapTest 5 0 0 0 100% 0

net.sourceforge.pmd.properties

Class Tests Errors Failures Skipped Success Rate Time
BooleanPropertyTest 9 0 0 0 100% 0
CharacterPropertyTest 9 0 0 0 100% 0.001
DoublePropertyTest 9 0 0 0 100% 0.002
EnumeratedPropertyTest 9 0 0 3 66.667% 0.001
FloatPropertyTest 9 0 0 0 100% 0
IntegerPropertyTest 9 0 0 0 100% 0
MethodPropertyTest 11 0 0 0 100% 0.004
PropertyAccessorTest 4 0 0 1 75% 0
StringPropertyTest 9 0 0 0 100% 0
TypePropertyTest 9 0 0 0 100% 0.001

net.sourceforge.pmd.cli

Class Tests Errors Failures Skipped Success Rate Time
PMDCommandLineInterfaceTest 4 0 0 0 100% 0.052

net.sourceforge.pmd.util.designer

Class Tests Errors Failures Skipped Success Rate Time
DesignerTest 1 0 0 0 100% 0.02

net.sourceforge.pmd.util.filter

Class Tests Errors Failures Skipped Success Rate Time
RegexStringFilterTest 5 0 0 0 100% 0.003

net.sourceforge.pmd.ant

Class Tests Errors Failures Skipped Success Rate Time
CPDTaskTest 1 0 0 0 100% 1.09
FormatterTest 2 0 0 0 100% 0.001
PMDTaskTest 4 0 0 0 100% 0.383

net.sourceforge.pmd.lang.dfa.report

Class Tests Errors Failures Skipped Success Rate Time
ViolationNodeTest 7 0 0 0 100% 0.101

net.sourceforge.pmd.lang.ast.xpath

Class Tests Errors Failures Skipped Success Rate Time
AttributeAxisIteratorTest 1 0 0 0 100% 0.001
DocumentNavigatorTest 1 0 0 0 100% 0

net.sourceforge.pmd.cpd

Class Tests Errors Failures Skipped Success Rate Time
AnyTokenizerTest 1 0 0 0 100% 0
CPDConfigurationTest 1 0 0 0 100% 0.001
CPDTest 3 0 0 0 100% 0.02
CSVRendererTest 1 0 0 0 100% 0
FileReporterTest 4 0 0 0 100% 0
LanguageFactoryTest 1 0 0 0 100% 0
MarkTest 1 0 0 0 100% 0
MatchTest 2 0 0 0 100% 0.001
SourceCodeTest 1 0 0 0 100% 0
TokenEntryTest 1 0 0 0 100% 0
XMLRendererTest 4 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractRuleTest

testEquals1 0.011
testEquals2 0
testEquals3 0
testEquals4 0
testEquals5 0
testEquals6 0
testEquals7 0
testEquals8 0
testEquals9 0
testCreateRV 0
testRuleWithVariableInMessage 0.005
testRuleSuppress 0.001
testCreateRV2 0.001
testEquals10 0.001

ConfigurationTest

testThreads 0
testReportShortNames 0
testClassLoader 0.004
testStressTest 0
testDebug 0
testSourceEncoding 0
testCreateRenderer 0.015
testSuppressMarker 0.001
testReportProperties 0
testInputPaths 0.001
testReportFile 0
testReportFormat 0.001
testBenchmark 0
testRuleSets 0.001
testMinimumPriority 0.006
testShowSuppressedViolations 0

FileSelectorTest

testUnwantedFile 0
testUnwantedJavaFile 0
testWantedFile 0

ReadableDurationTest

test[0] 0.002
test[1] 0.001
test[2] 0
test[3] 0

ReportTest

testMetric0 0
testMetric1 0
testTreeIterator 0.001
testSortedReport_File 0.019
testSortedReport_Line 0.001
testSummary 0.001
testListener 0.001

RuleContextTest

testSourceCodeFilename 0
testAttributes 0
testSharedAttributes 0
testSourceCodeFile 0
testReport 0

RuleReferenceTest

testRuleSetReference 0.002
testNotOverride 0.001
testOverride 0

RuleSetFactoryTest

testRuleSetFileName 0.041
testOverrideMessage 0.004
testWrongRuleNameReferenced 0.006
testWrongRuleNameExcluded 0.01
testReferenceInternalToInternal 0.008
testRuleSetReferenceWithDeprecatedRule 0.014
testSingleRuleWithPriority 0.003
testRuleReferenceWithNameOverridden 0.005
testProps 0.013
testXPath 0.004
testRefs 0.007
testMinimumLanugageVersion 0.002
testIncorrectMaximumLanugageVersion 0.003
testReferenceInternalToExternalChain 0.018
testLanguage 0.001
testExtendedReferences 0.036
testExternalReferenceOverride 0.004
testIncorrectLanguage 0.001
testStringMultiPropertyDefaultDelimiter 0.005
testOverrideMessageOneElem 0.005
testBug1202 0.005
testRuleSetWithDeprecatedRule 0.003
testSetPriority 0.002
testSingleRule 0.001
testInvertedMinimumMaximumLanugageVersions 0.002
testReferenceInternalToExternal 0.013
testDFAFlag 0.003
testRuleSetNotFound 0.001
testIncludeExcludePatterns 0.002
testIncorrectMinimumLanugageVersion 0.002
testRuleSetWithDeprecatedButRenamedRule 0.007
testFacadesOffByDefault 0.003
testExternalReferences 0.005
testReferenceInternalToInternalChain 0.01
testRuleSetReferencesADeprecatedRenamedRule 0.009
testReferencePriority 0.098
testEmptyRuleSetFile 0.002
testStringMultiPropertyDelimiter 0.001
testNoRuleSetFileName 0.001
testMultipleRules 0.002
testDirectDeprecatedRule 0.001
testCreateEmptyRuleSet 0.002
testReferenceToDeprecatedRule 0.004
testMaximumLanugageVersion 0.001
testIncorrectExternalRef 0.002

RuleSetReferenceIdTest

testInternalRuleSetAndRule 0.119
testEmptyRuleSet 0.107
constructor_GivenHttpUrl_SingleRule_InputStream 0.836
testOneFullRuleSet 0.104
testNullRulesetString 0.108
constructor_GivenHttpUrl_InputStream 0.245
testRelativePathRuleSet 0.106
testExternalWithExternal 0.107
testUnknownRuleSet 0.105
testUnknownAndSimpleRuleSet 0.104
constructor_GivenHttpUrlId_SucceedsAndProcessesIdCorrectly 0.106
testMultipleSimpleRuleSet 0.106
testOneFullRuleSetURL 0.103
testInternalWithInternal 0.105
testSimpleRuleSetAndRule 0.107
testFullRuleSetURLAndRule 0.106
testMultipleFullRuleSet 0.107
testMixRuleSet 0.106
testInternalWithExternalRuleSet 0.115
testFullRuleSetAndRule 0.105
testOneReleaseRuleSet 0.108
testMultipleRulesWithSpaces 0.106
testFooRules 0.108
testAbsolutePathRuleSet 0.104
testOneSimpleRuleSet 0.108
testExternalWithInternal 0.104
testInteralWithExternal 0.106
testCommaInSingleId 0.108

RuleSetTest

testGetRuleByName2 0
testIncludeExcludeMultipleRuleSetWithRuleChainApplies 0.006
testAddExcludePatterns 0
testEquals1 0
testEquals2 0
testEquals3 0
testEquals4 0
testEquals5 0
testEquals6 0
testAddRuleSet 0.001
testAccessors 0
testAddIncludePattern 0
testNoDFA 0
testSetExcludePatterns 0
testIncludeExcludeApplies 0.001
testAddRuleSetByReferenceBad 0
testAddRuleSetByReferenceAllRule 0
testGetRuleByName 0
testAddIncludePatterns 0
testAddRuleSetByReferenceSingleRule 0
testApply0Rules 0
testIncludesRuleWithDFA 0
testRuleList 0
testSetIncludePatterns 0
testAddExcludePattern 0
testLanguageApplies 0

RuleSetWriterTest

testWrite 0.09
testRuleReferenceOverriddenName 0.006

RuleViolationComparatorTest

testComparator 0

RuleViolationTest

testConstructor1 0
testConstructor2 0
testComparatorWithDifferentFilenames 0
testComparatorWithSameFileDifferentLines 0

CPDTaskTest

testBasic 1.09

FormatterTest

testNull 0
testType 0.001

PMDTaskTest

testBasic 0.112
testFormatterWithNoToFileAttribute 0.098
testInvalidLanguageVersion 0.1
testNoRuleSets 0.073

PMDCommandLineInterfaceTest

testSetStatusCodeOrExit_DoExit 0.008
testProperties 0.034
testSetStatusCodeOrExit_SetStatus 0
testMultipleProperties 0.01

AnyTokenizerTest

testMultiLineMacros 0

CPDConfigurationTest

testRenderers 0.001

CPDTest

testFileAddedWithRelativePath 0.016
testFileSectionWithBrokenSymlinks 0.002
testFileAddedAsSymlinkAndReal 0.002

CSVRendererTest

testLineCountPerFile 0

FileReporterTest

testCreation 0
testInvalidFile 0
testEmptyReport 0
testReport 0

LanguageFactoryTest

testSimple 0

MarkTest

testSimple 0

MatchTest

testCompareTo 0
testSimple 0.001

SourceCodeTest

testSimple 0

TokenEntryTest

testSimple 0

XMLRendererTest

testRendererEncodedPath 0
testRenderWithMultipleMatch 0
testWithNoDuplication 0
testWithOneDuplication 0

AttributeAxisIteratorTest

testRemove 0

AttributeTest

testConstructor 0

MatchesFunctionTest

testMatch 0
testNoMatch 0

AttributeAxisIteratorTest

testAttributeAxisIterator 0.001

DocumentNavigatorTest

getDocumentNode 0

ViolationNodeTest

testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn 0.095
testEqualsNodeWithTwoDifferentViolationsDifferentVariableName 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine 0.001
testEqualsNodeWithTwoEqualViolations 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentFilename 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentEndLine 0.001

BooleanPropertyTest

testErrorForBad 0
testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0
testFactorySingleValue 0
testErrorFor 0

CharacterPropertyTest

testErrorForBad 0
testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0.001
testFactorySingleValue 0
testErrorFor 0

DoublePropertyTest

testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0.001
testAsDelimitedString 0
testFactorySingleValue 0
testErrorForBad 0.001
testErrorFor 0

EnumeratedPropertyTest

testFactoryMultiValueCustomDelimiter 0
skipped
testFactoryMultiValueDefaultDelimiter 0
skipped
testFactorySingleValue 0
skipped
testType 0
testConstructors 0
testValueFrom 0.001
testAsDelimitedString 0
testErrorForBad 0
testErrorFor 0

FloatPropertyTest

testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0
testFactorySingleValue 0
testErrorForBad 0
testErrorFor 0

IntegerPropertyTest

testErrorForBad 0
testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0
testFactorySingleValue 0
testErrorFor 0

MethodPropertyTest

testAsMethodOn 0
testAsStringOn 0
testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0.004
testAsDelimitedString 0
testFactorySingleValue 0
testErrorForBad 0
testErrorFor 0

PropertyAccessorTest

testBooleans 0
testIntegers 0
testFloats 0
skipped
testStrings 0

StringPropertyTest

testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0
testFactorySingleValue 0
testErrorForBad 0
testErrorFor 0

TypePropertyTest

testType 0
testConstructors 0
testFactoryMultiValueCustomDelimiter 0
testValueFrom 0
testFactoryMultiValueDefaultDelimiter 0
testAsDelimitedString 0
testFactorySingleValue 0
testErrorForBad 0
testErrorFor 0.001

CSVRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0.001

EmacsRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

HTMLRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

IDEAJRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

PapariTextRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

SummaryHTMLRendererTest

testShowSuppressions 0
testHideSuppressions 0
testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

TextPadRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

TextRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

VBHTMLRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

XMLRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

XSLTRendererTest

testDefaultStylesheet 0.341

YAHTMLRendererTest

testNullPassedIn 0.003
testError 0
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0.001

MetricTest

testGetCount 0
testGetTotal 0
testGetStandardDeviation 0
testGetLowValue 0
testGetAverage 0
testGetHighValue 0
testGetMetricName 0

StatisticalRuleTest

testExpectedMinimum 0.001
testMS1 0.005
testMS2 0.006
testMS3 0.009
testMS4 0.002
testMS5 0.003
testMT1 0.004
testMT2 0.002
testMT3 0.003
testMT4 0.002
testMT5 0.003
testSM1 0.002
testSM2 0.002
testSM3 0.002
testSM4 0.001
testSM5 0.001
testSMT 0.002
testST1 0.003
testST2 0.002
testST3 0.002
testST4 0.002
testST5 0.002
testSTM 0.001
testTM1 0.002
testTM2 0.001
testTM3 0.002
testTM4 0.002
testTM5 0.002
testTMS 0.001
testTS1 0.002
testTS2 0.001
testTS3 0.001
testTS4 0.001
testTS5 0.002
testSMT1 0.001
testSMT2 0.002
testSMT3 0.001
testSMT4 0.002
testSMT5 0.001
testSTM1 0.001
testSTM2 0.002
testSTM3 0.001
testSTM4 0.001
testSTM5 0.001
testTMS1 0.001
testTMS2 0.001
testTMS3 0.002
testTMS4 0.002
testTMS5 0.002
testM1 0.002
testM2 0.004
testM3 0.002
testM4 0.002
testM5 0.002
testMS 0.002
testMT 0.001
testS1 0.002
testS2 0.003
testS3 0.002
testS4 0.001
testS5 0.001
testSM 0.001
testT1 0.002
testT2 0.001
testT3 0.002
testT4 0.002
testST 0.001
testT5 0.002
testTM 0.002
testTS 0.003
testM 0.002
testS 0.002
testT 0.002
testSingleDatapoint 0.001
testMetrics 0.003

CompoundListTest

testHappyPath 0
testEmpty 0
testHappyPathRemove 0
testEmptyBadNext 0
testEmptyBadRemove 0

DateTimeUtilTest

testConversions 0

StringUtilTest

testReplaceStringWithString 0
testUTF8Supported 0
testReplaceWithOneChar 0
testReplaceWithNull 0
testReplaceWithMultipleChars 0
testReplaceStringWithString2 0
testUTF8NotSupported 0

TypeMapTest

testContainsString 0
testTypeFor 0
testSize 0
testAddClassOfQ 0
testContainsClassOfQ 0

DBTypeTest

testGetPropertiesFromFile 0.001
testGetIncludeProperties 0
testGetProperties 0
testAsProperties 0

DBURITest

testSetSourceCodeNamesList 0.007
testSetSubnamePrefix 0.002
testDefaultLanguagesList 0.013
testExplicitSourceCodeNamesList 0.002
testGetSubprotocol 0.002
testDefaultSchemasList 0.001
testDefaultSourceCodeTypesList 0.001
testSetParameters 0
testSetSourceCodeType 0.002
testDump 0.001
testGetThinDriverClass 0.001
testDefaultSourceCodeNamesList 0.001
testGetDriverClass 0.003
testGetSourceCodeType 0
testSetSchemasList 0
testGetSubnamePrefix 0.001
testSetLanguagesList 0.002
testGetCharacterSet 0.002
testExplicitSchemasList 0.002
testGetSourceCodeTypesList 0.002
testExplicitLanguagesList 0.005
testExplicitCharacterSet 0.001
testSetDbType 0.005
testGetSourceCodeNamesList 0.004
testSetCharacterSet 0
testDefaultCharacterSet 0.002
testGetDbType 0.001
testGetUri 0.001
testGetSchemasList 0.002
testSetSourceCodeTypesList 0.001
testSetUri 0.001
testGetLanguagesList 0.002
testGetDbType2 0.001
testSetDriverClass 0.001
testExplicitSourceCodeTypesList 0.003
testGetParameters 0.001

ResourceLoaderTest

testGetResourceStream 0.043

ResourceResolverTest

testResolve 0

DesignerTest

testCopyXmlToClipboard 0.02

RegexStringFilterTest

testEndsWith 0.001
testFilterAbsoluteWithExtension 0.001
testFilterRelativeWithoutExtension 0
testFilterAbsoluteWithoutExtension 0.001
testFilterRelativeWithExtension 0

Failure Details

[Summary] [Package List] [Test Cases]


testFactoryMultiValueCustomDelimiter
skipped: skipped
testFactoryMultiValueDefaultDelimiter
skipped: skipped
testFactorySingleValue
skipped: skipped
testFloats
skipped: skipped
net.sourceforge.pmd.util.database.DBMSMetadataTest
skipped: skipped