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% 9.882

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.179
net.sourceforge.pmd.jaxen 4 0 0 0 100% 0.002
net.sourceforge.pmd.util.database 43 0 0 1 97.674% 0.171
net.sourceforge.pmd.renderers 58 0 0 0 100% 0.589
net.sourceforge.pmd 158 0 0 0 100% 6.566
net.sourceforge.pmd.util 18 0 0 0 100% 0.028
net.sourceforge.pmd.properties 87 0 0 4 95.402% 0.024
net.sourceforge.pmd.cli 4 0 0 0 100% 0.061
net.sourceforge.pmd.util.designer 1 0 0 0 100% 0.075
net.sourceforge.pmd.util.filter 5 0 0 0 100% 0.001
net.sourceforge.pmd.ant 7 0 0 0 100% 1.935
net.sourceforge.pmd.lang.dfa.report 7 0 0 0 100% 0.204
net.sourceforge.pmd.lang.ast.xpath 2 0 0 0 100% 0
net.sourceforge.pmd.cpd 20 0 0 0 100% 0.047

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.179

net.sourceforge.pmd.jaxen

Class Tests Errors Failures Skipped Success Rate Time
AttributeAxisIteratorTest 1 0 0 0 100% 0.002
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.028
DBURITest 36 0 0 0 100% 0.064
ResourceLoaderTest 1 0 0 0 100% 0.079
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.002
EmacsRendererTest 5 0 0 0 100% 0
HTMLRendererTest 5 0 0 0 100% 0
IDEAJRendererTest 5 0 0 0 100% 0.004
PapariTextRendererTest 5 0 0 0 100% 0.003
SummaryHTMLRendererTest 7 0 0 0 100% 0.001
TextPadRendererTest 5 0 0 0 100% 0.001
TextRendererTest 5 0 0 0 100% 0.001
VBHTMLRendererTest 5 0 0 0 100% 0.002
XMLRendererTest 5 0 0 0 100% 0.001
XSLTRendererTest 1 0 0 0 100% 0.551
YAHTMLRendererTest 5 0 0 0 100% 0.023

net.sourceforge.pmd

Class Tests Errors Failures Skipped Success Rate Time
AbstractRuleTest 14 0 0 0 100% 0.076
ConfigurationTest 16 0 0 0 100% 0.033
FileSelectorTest 3 0 0 0 100% 0
ReadableDurationTest 4 0 0 0 100% 0
ReportTest 7 0 0 0 100% 0.002
RuleContextTest 5 0 0 0 100% 0.005
RuleReferenceTest 3 0 0 0 100% 0.029
RuleSetFactoryTest 45 0 0 0 100% 0.596
RuleSetReferenceIdTest 28 0 0 0 100% 5.66
RuleSetTest 26 0 0 0 100% 0.028
RuleSetWriterTest 2 0 0 0 100% 0.137
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.028

net.sourceforge.pmd.properties

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

net.sourceforge.pmd.cli

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

net.sourceforge.pmd.util.designer

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

net.sourceforge.pmd.util.filter

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

net.sourceforge.pmd.ant

Class Tests Errors Failures Skipped Success Rate Time
CPDTaskTest 1 0 0 0 100% 1.433
FormatterTest 2 0 0 0 100% 0.003
PMDTaskTest 4 0 0 0 100% 0.499

net.sourceforge.pmd.lang.dfa.report

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

net.sourceforge.pmd.lang.ast.xpath

Class Tests Errors Failures Skipped Success Rate Time
AttributeAxisIteratorTest 1 0 0 0 100% 0
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.001
CPDConfigurationTest 1 0 0 0 100% 0.004
CPDTest 3 0 0 0 100% 0.025
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
SourceCodeTest 1 0 0 0 100% 0
TokenEntryTest 1 0 0 0 100% 0
XMLRendererTest 4 0 0 0 100% 0.017

Test Cases

[Summary] [Package List] [Test Cases]

AbstractRuleTest

testEquals1 0.035
testEquals2 0.001
testEquals3 0.001
testEquals4 0
testEquals5 0.001
testEquals6 0.001
testEquals7 0.001
testEquals8 0.001
testEquals9 0
testCreateRV 0.007
testRuleWithVariableInMessage 0.024
testRuleSuppress 0.002
testCreateRV2 0.001
testEquals10 0.001

ConfigurationTest

testThreads 0
testReportShortNames 0
testClassLoader 0.007
testStressTest 0
testDebug 0
testSourceEncoding 0
testCreateRenderer 0.023
testSuppressMarker 0
testReportProperties 0.001
testInputPaths 0.001
testReportFile 0
testReportFormat 0
testBenchmark 0.001
testRuleSets 0
testMinimumPriority 0
testShowSuppressedViolations 0

FileSelectorTest

testUnwantedFile 0
testUnwantedJavaFile 0
testWantedFile 0

ReadableDurationTest

test[0] 0
test[1] 0
test[2] 0
test[3] 0

ReportTest

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

RuleContextTest

testSourceCodeFilename 0
testAttributes 0
testSharedAttributes 0.005
testSourceCodeFile 0
testReport 0

RuleReferenceTest

testRuleSetReference 0.027
testNotOverride 0.001
testOverride 0.001

RuleSetFactoryTest

testRuleSetFileName 0.06
testOverrideMessage 0.007
testWrongRuleNameReferenced 0.007
testWrongRuleNameExcluded 0.015
testReferenceInternalToInternal 0.013
testRuleSetReferenceWithDeprecatedRule 0.016
testSingleRuleWithPriority 0.003
testRuleReferenceWithNameOverridden 0.007
testProps 0.03
testXPath 0.003
testRefs 0.008
testMinimumLanugageVersion 0.002
testIncorrectMaximumLanugageVersion 0.004
testReferenceInternalToExternalChain 0.025
testLanguage 0.002
testExtendedReferences 0.049
testExternalReferenceOverride 0.006
testIncorrectLanguage 0.002
testStringMultiPropertyDefaultDelimiter 0.021
testOverrideMessageOneElem 0.004
testBug1202 0.009
testRuleSetWithDeprecatedRule 0.005
testSetPriority 0.005
testSingleRule 0.002
testInvertedMinimumMaximumLanugageVersions 0.002
testReferenceInternalToExternal 0.011
testDFAFlag 0
testRuleSetNotFound 0
testIncludeExcludePatterns 0.003
testIncorrectMinimumLanugageVersion 0.003
testRuleSetWithDeprecatedButRenamedRule 0.009
testFacadesOffByDefault 0.003
testExternalReferences 0.006
testReferenceInternalToInternalChain 0.035
testRuleSetReferencesADeprecatedRenamedRule 0.032
testReferencePriority 0.163
testEmptyRuleSetFile 0.003
testStringMultiPropertyDelimiter 0.003
testNoRuleSetFileName 0.001
testMultipleRules 0.002
testDirectDeprecatedRule 0.002
testCreateEmptyRuleSet 0.004
testReferenceToDeprecatedRule 0.004
testMaximumLanugageVersion 0.002
testIncorrectExternalRef 0.003

RuleSetReferenceIdTest

testInternalRuleSetAndRule 0.184
testEmptyRuleSet 0.107
constructor_GivenHttpUrl_SingleRule_InputStream 1.325
testOneFullRuleSet 0.111
testNullRulesetString 0.108
constructor_GivenHttpUrl_InputStream 0.344
testRelativePathRuleSet 0.111
testExternalWithExternal 0.114
testUnknownRuleSet 0.109
testUnknownAndSimpleRuleSet 0.105
constructor_GivenHttpUrlId_SucceedsAndProcessesIdCorrectly 0.105
testMultipleSimpleRuleSet 0.11
testOneFullRuleSetURL 1.412
testInternalWithInternal 0.105
testSimpleRuleSetAndRule 0.106
testFullRuleSetURLAndRule 0.11
testMultipleFullRuleSet 0.112
testMixRuleSet 0.112
testInternalWithExternalRuleSet 0.105
testFullRuleSetAndRule 0.105
testOneReleaseRuleSet 0.105
testMultipleRulesWithSpaces 0.104
testFooRules 0.106
testAbsolutePathRuleSet 0.114
testOneSimpleRuleSet 0.106
testExternalWithInternal 0.007
testInteralWithExternal 0.113
testCommaInSingleId 0.005

RuleSetTest

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

RuleSetWriterTest

testWrite 0.127
testRuleReferenceOverriddenName 0.01

RuleViolationComparatorTest

testComparator 0

RuleViolationTest

testConstructor1 0
testConstructor2 0
testComparatorWithDifferentFilenames 0
testComparatorWithSameFileDifferentLines 0

CPDTaskTest

testBasic 1.433

FormatterTest

testNull 0.003
testType 0

PMDTaskTest

testBasic 0.183
testFormatterWithNoToFileAttribute 0.123
testInvalidLanguageVersion 0.096
testNoRuleSets 0.097

PMDCommandLineInterfaceTest

testSetStatusCodeOrExit_DoExit 0.009
testProperties 0.042
testSetStatusCodeOrExit_SetStatus 0
testMultipleProperties 0.01

AnyTokenizerTest

testMultiLineMacros 0.001

CPDConfigurationTest

testRenderers 0.004

CPDTest

testFileAddedWithRelativePath 0.019
testFileSectionWithBrokenSymlinks 0.002
testFileAddedAsSymlinkAndReal 0.004

CSVRendererTest

testLineCountPerFile 0

FileReporterTest

testCreation 0
testInvalidFile 0
testEmptyReport 0
testReport 0

LanguageFactoryTest

testSimple 0

MarkTest

testSimple 0

MatchTest

testCompareTo 0
testSimple 0

SourceCodeTest

testSimple 0

TokenEntryTest

testSimple 0

XMLRendererTest

testRendererEncodedPath 0.009
testRenderWithMultipleMatch 0.004
testWithNoDuplication 0.002
testWithOneDuplication 0.002

AttributeAxisIteratorTest

testRemove 0.002

AttributeTest

testConstructor 0

MatchesFunctionTest

testMatch 0
testNoMatch 0

AttributeAxisIteratorTest

testAttributeAxisIterator 0

DocumentNavigatorTest

getDocumentNode 0

ViolationNodeTest

testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn 0.196
testEqualsNodeWithTwoDifferentViolationsDifferentVariableName 0.002
testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn 0
testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine 0.002
testEqualsNodeWithTwoEqualViolations 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentFilename 0.001
testEqualsNodeWithTwoDifferentViolationsDifferentEndLine 0.002

BooleanPropertyTest

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

CharacterPropertyTest

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

DoublePropertyTest

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

EnumeratedPropertyTest

testFactoryMultiValueCustomDelimiter 0
skipped
testFactoryMultiValueDefaultDelimiter 0
skipped
testFactorySingleValue 0
skipped
testType 0
testConstructors 0
testValueFrom 0
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.001
testFactorySingleValue 0
testErrorFor 0

MethodPropertyTest

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

PropertyAccessorTest

testBooleans 0.013
testIntegers 0
testFloats 0
skipped
testStrings 0.004

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

CSVRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0.001
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.002
testError 0.002
testRendererMultiple 0
testRenderer 0
testRendererEmpty 0

PapariTextRendererTest

testNullPassedIn 0.001
testError 0.001
testRendererMultiple 0.001
testRenderer 0
testRendererEmpty 0

SummaryHTMLRendererTest

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

TextPadRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0.001
testRendererEmpty 0

TextRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0.001
testRenderer 0
testRendererEmpty 0

VBHTMLRendererTest

testNullPassedIn 0
testError 0.001
testRendererMultiple 0
testRenderer 0.001
testRendererEmpty 0

XMLRendererTest

testNullPassedIn 0
testError 0
testRendererMultiple 0
testRenderer 0.001
testRendererEmpty 0

XSLTRendererTest

testDefaultStylesheet 0.551

YAHTMLRendererTest

testNullPassedIn 0.016
testError 0.001
testRendererMultiple 0.001
testRenderer 0.005
testRendererEmpty 0

MetricTest

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

StatisticalRuleTest

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

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.028
testContainsClassOfQ 0

DBTypeTest

testGetPropertiesFromFile 0.005
testGetIncludeProperties 0.014
testGetProperties 0.002
testAsProperties 0.007

DBURITest

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

ResourceLoaderTest

testGetResourceStream 0.079

ResourceResolverTest

testResolve 0

DesignerTest

testCopyXmlToClipboard 0.075

RegexStringFilterTest

testEndsWith 0.001
testFilterAbsoluteWithExtension 0
testFilterRelativeWithoutExtension 0
testFilterAbsoluteWithoutExtension 0
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