Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
103000699.417%51.192

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
net.sourceforge.pmd.lang.java.rule.strings6000100%0.335
net.sourceforge.pmd.symboltable82000100%0.022
net.sourceforge.pmd.lang.java.rule.naming1000100%0.206
net.sourceforge.pmd.lang.jsp1000100%0.004
net.sourceforge.pmd.renderers56000100%0.174
net.sourceforge.pmd.lang.plsql5000100%0.106
net.sourceforge.pmd.lang.java.rule.unnecessary1000100%0.093
net.sourceforge.pmd.lang.ecmascript.ast14000100%0.01
net.sourceforge.pmd.lang.plsql.rule.codesize1000100%2.223
net.sourceforge.pmd.lang.java.rule.migrating1000100%0.067
net.sourceforge.pmd.lang.jsp.rule.basic1000100%0.06
net.sourceforge.pmd.lang.java.rule.unusedcode1000100%0.116
net.sourceforge.pmd.lang.java.rule.strictexception1000100%0.074
net.sourceforge.pmd.ast137000100%0.194
net.sourceforge.pmd.lang.ecmascript4000100%0.001
net.sourceforge.pmd.ant19000100%7.117
net.sourceforge.pmd.lang.java.rule.imports1000100%0.081
net.sourceforge.pmd.lang.ecmascript.rule.controversial1000100%0.004
net.sourceforge.pmd.lang.java.rule.typeresolution.xml10010%0
net.sourceforge.pmd.lang.jsp.rule.basicjsf1000100%0.002
net.sourceforge.pmd.lang.xsl.rule.xpath1000100%0.016
net.sourceforge.pmd.util.database4400197.727%0.095
net.sourceforge.pmd.util19000100%0.003
net.sourceforge.pmd.lang.vm3000100%0.01
net.sourceforge.pmd.lang.xml.rule4000100%0.012
net.sourceforge.pmd.util.filter5000100%0.001
net.sourceforge.pmd.lang.ecmascript.rule.basic1000100%0.146
net.sourceforge.pmd.lang.ast.xpath2000100%0
net.sourceforge.pmd.typeresolution18000100%0.039
net.sourceforge.pmd.testframework20020%0
net.sourceforge.pmd.lang.java.rule.clone1000100%0.02
net.sourceforge.pmd.lang.java.rule.optimizations1000100%0.166
net.sourceforge.pmd.lang.java.rule.loggingjakartacommons1000100%0.034
net.sourceforge.pmd.jaxen17000100%0.016
net.sourceforge.pmd.lang.java.rule.comments3000100%0.011
net.sourceforge.pmd.lang.jsp.ast50000100%0.041
net.sourceforge.pmd.properties6100198.361%0.018
net.sourceforge.pmd.lang.java.rule3000100%0
net.sourceforge.pmd.cli6000100%0.405
net.sourceforge.pmd.lang.java.rule.braces1000100%0.021
net.sourceforge.pmd.lang.xml13000100%0.044
net.sourceforge.pmd.lang.java.rule.android1000100%0.012
net.sourceforge.pmd.lang.ecmascript.rule.braces1000100%0.04
net.sourceforge.pmd.lang.java.rule.empty1000100%0.065
net.sourceforge.pmd.util.designer1000100%0.005
net.sourceforge.pmd.lang.cpp1000100%0
net.sourceforge.pmd.lang.java.rule.codesize8000100%0.104
net.sourceforge.pmd.lang.dfa.report7000100%0.118
net.sourceforge.pmd.lang.java.rule.junit1000100%0.138
xml.java-design.UseVarargs:method, do not varargs as the signature is dictated by an interface // TODO Once this is implemented, perhaps it should be optional? The compiler will technically let you use varargs.(net.sourceforge.pmd.testframework10010%0
net.sourceforge.pmd.lang.ecmascript.rule.unnecessary1000100%0.04
net.sourceforge.pmd.stat82000100%0.145
net.sourceforge.pmd.lang.java.rule.controversial1000100%0.258
net.sourceforge.pmd.dfa46000100%0.088
net.sourceforge.pmd207000100%5.073
net.sourceforge.pmd.lang.java.rule.finalizers1000100%0.027
net.sourceforge.pmd.lang.plsql.dfa8000100%0.03
net.sourceforge.pmd.lang.java.rule.javabeans1000100%0.025
net.sourceforge.pmd.coverage2000100%27.773
net.sourceforge.pmd.lang2000100%0
net.sourceforge.pmd.lang.java.rule.loggingjava1000100%0.02
net.sourceforge.pmd.lang.java.rule.coupling1000100%0.055
net.sourceforge.pmd.lang.java.rule.sunsecure1000100%0.029
net.sourceforge.pmd.lang.java.rule.typeresolution4000100%0.039
net.sourceforge.pmd.lang.java.rule.basic1000100%2.573
net.sourceforge.pmd.lang.java.rule.j2ee1000100%0.037
net.sourceforge.pmd.lang.xml.rule.basic1000100%0.012
net.sourceforge.pmd.lang.vm.rule.basic1000100%0.077
net.sourceforge.pmd.lang.java.rule.design1000100%2.291
net.sourceforge.pmd.cpd54000100%0.131

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

net.sourceforge.pmd.lang.java.rule.strings

ClassTestsErrors FailuresSkippedSuccess RateTime
AvoidDuplicateLiteralsRuleTest5000100%0.02
StringsRulesTest1000100%0.315

net.sourceforge.pmd.symboltable

ClassTestsErrors FailuresSkippedSuccess RateTime
SourceFileScopeTest4000100%0
AcceptanceTest8000100%0
TypeSetTest18000100%0.011
ClassScopeTest19000100%0.002
ScopeCreationVisitorTest1000100%0
ImageFinderFunctionTest2000100%0
GlobalScopeTest2000100%0
VariableNameDeclarationTest8000100%0.003
NameOccurrencesTest7000100%0.003
LocalScopeTest8000100%0.002
VariableUsageFinderFunctionTest1000100%0
MethodNameDeclarationTest1000100%0
MethodScopeTest3000100%0.001

net.sourceforge.pmd.lang.java.rule.naming

ClassTestsErrors FailuresSkippedSuccess RateTime
NamingRulesTest1000100%0.206

net.sourceforge.pmd.lang.jsp

ClassTestsErrors FailuresSkippedSuccess RateTime
JspParserTest1000100%0.004

net.sourceforge.pmd.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
TextRendererTest5000100%0
SummaryHTMLRendererTest5000100%0
YAHTMLRendererTest5000100%0.003
IDEAJRendererTest5000100%0.002
XSLTRendererTest1000100%0.153
CSVRendererTest5000100%0.002
EmacsRendererTest5000100%0.001
HTMLRendererTest5000100%0.001
PapariTextRendererTest5000100%0.003
VBHTMLRendererTest5000100%0
TextPadRendererTest5000100%0
XMLRendererTest5000100%0.009

net.sourceforge.pmd.lang.plsql

ClassTestsErrors FailuresSkippedSuccess RateTime
PLSQLParserTest2000100%0.022
PLSQLXPathRuleTest3000100%0.084

net.sourceforge.pmd.lang.java.rule.unnecessary

ClassTestsErrors FailuresSkippedSuccess RateTime
UnnecessaryRulesTest1000100%0.093

net.sourceforge.pmd.lang.ecmascript.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
EcmascriptParserTest7000100%0.007
ASTTryStatementTest4000100%0.002
ASTFunctionNodeTest2000100%0.001
SourceCodePositionerTest1000100%0

net.sourceforge.pmd.lang.plsql.rule.codesize

ClassTestsErrors FailuresSkippedSuccess RateTime
CodesizeRulesTest1000100%2.223

net.sourceforge.pmd.lang.java.rule.migrating

ClassTestsErrors FailuresSkippedSuccess RateTime
MigratingRulesTest1000100%0.067

net.sourceforge.pmd.lang.jsp.rule.basic

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.06

net.sourceforge.pmd.lang.java.rule.unusedcode

ClassTestsErrors FailuresSkippedSuccess RateTime
UnusedCodeRulesTest1000100%0.116

net.sourceforge.pmd.lang.java.rule.strictexception

ClassTestsErrors FailuresSkippedSuccess RateTime
StrictExceptionRulesTest1000100%0.074

net.sourceforge.pmd.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
ASTFormalParameterTest1000100%0.002
ASTAssignmentOperatorTest3000100%0.007
ASTLiteralTest7000100%0.016
AccessNodeTest13000100%0.012
ASTFieldDeclarationTest5000100%0.005
ClassDeclTest5000100%0.005
ASTMethodDeclarationTest1000100%0
ASTThrowStatementTest2000100%0.005
ASTImportDeclarationTest4000100%0.005
ASTVariableDeclaratorIdTest5000100%0.004
SimpleNodeTest21000100%0.027
ASTBlockStatementTest2000100%0
ASTAnnotationTest3000100%0.003
EncodingTest1000100%0
ParserCornersTest6000100%0.034
FieldDeclTest7000100%0.005
JDKVersionTest33000100%0.046
MethodDeclTest8000100%0.003
ASTBooleanLiteralTest2000100%0.002
ASTPrimarySuffixTest2000100%0.004
ASTInitializerTest1000100%0.004
ASTLocalVariableDeclarationTest3000100%0.003
ASTSwitchLabelTest2000100%0.002

net.sourceforge.pmd.lang.ecmascript

ClassTestsErrors FailuresSkippedSuccess RateTime
EcmascriptParserOptionsTest4000100%0.001

net.sourceforge.pmd.ant

ClassTestsErrors FailuresSkippedSuccess RateTime
CPDTaskTest1000100%2.908
FormatterTest2000100%0.002
PMDTaskTest16000100%4.207

net.sourceforge.pmd.lang.java.rule.imports

ClassTestsErrors FailuresSkippedSuccess RateTime
ImportsRulesTest1000100%0.081

net.sourceforge.pmd.lang.ecmascript.rule.controversial

ClassTestsErrors FailuresSkippedSuccess RateTime
ControversialRulesTest1000100%0.004

net.sourceforge.pmd.lang.java.rule.typeresolution.xml

ClassTestsErrors FailuresSkippedSuccess RateTime
MyTestCase10010%0

net.sourceforge.pmd.lang.jsp.rule.basicjsf

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicJsfRulesTest1000100%0.002

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

ClassTestsErrors FailuresSkippedSuccess RateTime
XPathRulesTest1000100%0.016

net.sourceforge.pmd.util.database

ClassTestsErrors FailuresSkippedSuccess RateTime
DBURITest37000100%0.046
DBMSMetadataTest10010%0
DBTypeTest4000100%0.005
ResourceLoaderTest1000100%0.044
ResourceResolverTest1000100%0

net.sourceforge.pmd.util

ClassTestsErrors FailuresSkippedSuccess RateTime
StringUtilTest7000100%0.001
CompoundListTest5000100%0.001
DateTimeUtilTest1000100%0
TypeMapTest5000100%0.001
ApplierTest1000100%0

net.sourceforge.pmd.lang.vm

ClassTestsErrors FailuresSkippedSuccess RateTime
VmParserTest3000100%0.01

net.sourceforge.pmd.lang.xml.rule

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractDomXmlRuleTest3000100%0.011
AbstractXmlRuleTest1000100%0.001

net.sourceforge.pmd.util.filter

ClassTestsErrors FailuresSkippedSuccess RateTime
RegexStringFilterTest5000100%0.001

net.sourceforge.pmd.lang.ecmascript.rule.basic

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.146

net.sourceforge.pmd.lang.ast.xpath

ClassTestsErrors FailuresSkippedSuccess RateTime
AttributeAxisIteratorTest1000100%0
DocumentNavigatorTest1000100%0

net.sourceforge.pmd.typeresolution

ClassTestsErrors FailuresSkippedSuccess RateTime
ClassTypeResolverTest15000100%0.039
PMDASMClassLoaderTest3000100%0

net.sourceforge.pmd.testframework

ClassTestsErrors FailuresSkippedSuccess RateTime
SimpleAggregatorTst10010%0
SimpleAggregatorTst10010%0

net.sourceforge.pmd.lang.java.rule.clone

ClassTestsErrors FailuresSkippedSuccess RateTime
CloneRulesTest1000100%0.02

net.sourceforge.pmd.lang.java.rule.optimizations

ClassTestsErrors FailuresSkippedSuccess RateTime
OptimizationsRulesTest1000100%0.166

net.sourceforge.pmd.lang.java.rule.loggingjakartacommons

ClassTestsErrors FailuresSkippedSuccess RateTime
LoggingJakartaCommonsRulesTest1000100%0.034

net.sourceforge.pmd.jaxen

ClassTestsErrors FailuresSkippedSuccess RateTime
RegexpAcceptanceTest2000100%0.004
MatchesFunctionTest2000100%0
AttributeAxisIteratorTest1000100%0
AttributeTest1000100%0
DocumentNavigatorTest11000100%0.012

net.sourceforge.pmd.lang.java.rule.comments

ClassTestsErrors FailuresSkippedSuccess RateTime
CommentRulesTest1000100%0.011
AbstractCommentRuleTest2000100%0

net.sourceforge.pmd.lang.jsp.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
JspPageStyleTest9000100%0.002
OpenTagRegisterTest5000100%0.001
JspDocStyleTest35000100%0.037
XPathJspRuleTest1000100%0.001

net.sourceforge.pmd.properties

ClassTestsErrors FailuresSkippedSuccess RateTime
CharacterPropertyTest6000100%0.001
BooleanPropertyTest6000100%0.002
DoublePropertyTest6000100%0.001
PropertyAccessorTest500180%0.002
StringPropertyTest6000100%0.002
IntegerPropertyTest6000100%0.001
FloatPropertyTest6000100%0.001
MethodPropertyTest8000100%0.004
EnumeratedPropertyTest6000100%0.002
TypePropertyTest6000100%0.002

net.sourceforge.pmd.lang.java.rule

ClassTestsErrors FailuresSkippedSuccess RateTime
JavaRuleViolationTest1000100%0
XPathRuleTest2000100%0

net.sourceforge.pmd.cli

ClassTestsErrors FailuresSkippedSuccess RateTime
XPathCLITest1000100%0.004
CLITest5000100%0.401

net.sourceforge.pmd.lang.java.rule.braces

ClassTestsErrors FailuresSkippedSuccess RateTime
BracesRulesTest1000100%0.021

net.sourceforge.pmd.lang.xml

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlParserOptionsTest4000100%0
XmlParserTest9000100%0.044

net.sourceforge.pmd.lang.java.rule.android

ClassTestsErrors FailuresSkippedSuccess RateTime
AndroidRulesTest1000100%0.012

net.sourceforge.pmd.lang.ecmascript.rule.braces

ClassTestsErrors FailuresSkippedSuccess RateTime
BracesRulesTest1000100%0.04

net.sourceforge.pmd.lang.java.rule.empty

ClassTestsErrors FailuresSkippedSuccess RateTime
EmptyRulesTest1000100%0.065

net.sourceforge.pmd.util.designer

ClassTestsErrors FailuresSkippedSuccess RateTime
DesignerTest1000100%0.005

net.sourceforge.pmd.lang.cpp

ClassTestsErrors FailuresSkippedSuccess RateTime
ContinuationReaderTest1000100%0

net.sourceforge.pmd.lang.java.rule.codesize

ClassTestsErrors FailuresSkippedSuccess RateTime
NPathComplexityTest2000100%0.006
CyclomaticComplexityTest5000100%0.025
CodesizeRulesTest1000100%0.073

net.sourceforge.pmd.lang.dfa.report

ClassTestsErrors FailuresSkippedSuccess RateTime
ViolationNodeTest7000100%0.118

net.sourceforge.pmd.lang.java.rule.junit

ClassTestsErrors FailuresSkippedSuccess RateTime
JunitRulesTest1000100%0.138

xml.java-design.UseVarargs:method, do not varargs as the signature is dictated by an interface // TODO Once this is implemented, perhaps it should be optional? The compiler will technically let you use varargs.(net.sourceforge.pmd.testframework

ClassTestsErrors FailuresSkippedSuccess RateTime
SimpleAggregatorTst)10010%0

net.sourceforge.pmd.lang.ecmascript.rule.unnecessary

ClassTestsErrors FailuresSkippedSuccess RateTime
UnnecessaryRulesTest1000100%0.04

net.sourceforge.pmd.stat

ClassTestsErrors FailuresSkippedSuccess RateTime
MetricTest7000100%0.002
StatisticalRuleTest75000100%0.143

net.sourceforge.pmd.lang.java.rule.controversial

ClassTestsErrors FailuresSkippedSuccess RateTime
ControversialRulesTest1000100%0.258

net.sourceforge.pmd.dfa

ClassTestsErrors FailuresSkippedSuccess RateTime
AcceptanceTest31000100%0.082
DAAPathFinderTest1000100%0
StructureTest1000100%0.001
VariableAccessTest1000100%0
DataFlowNodeTest5000100%0.001
StatementAndBraceFinderTest6000100%0.004
GeneralFiddlingTest1000100%0

net.sourceforge.pmd

ClassTestsErrors FailuresSkippedSuccess RateTime
RuleSetFactoryTest39000100%4.124
LanguageVersionDiscovererTest4000100%0.001
RuleSetReferenceIdTest24000100%0.056
FileSelectorTest3000100%0.001
ExcludeLinesTest2000100%0.294
LanguageVersionTest32000100%0.025
ASTPackageDeclarationTest1000100%0.12
ReportTest14000100%0.174
AbstractRuleTest14000100%0.071
RuleSetTest26000100%0.072
RuleReferenceTest3000100%0.003
ReadableDurationTest4000100%0.002
ConfigurationTest17000100%0.061
RuleViolationTest00000%0
SuppressWarningsTest17000100%0.064
RuleSetWriterTest1000100%0.002
RuleViolationComparatorTest1000100%0
RuleContextTest5000100%0.003

net.sourceforge.pmd.lang.java.rule.finalizers

ClassTestsErrors FailuresSkippedSuccess RateTime
FinalizersRulesTest1000100%0.027

net.sourceforge.pmd.lang.plsql.dfa

ClassTestsErrors FailuresSkippedSuccess RateTime
StatementAndBraceFinderTest8000100%0.03

net.sourceforge.pmd.lang.java.rule.javabeans

ClassTestsErrors FailuresSkippedSuccess RateTime
JavabeansRulesTest1000100%0.025

net.sourceforge.pmd.coverage

ClassTestsErrors FailuresSkippedSuccess RateTime
PMDCoverageTest2000100%27.773

net.sourceforge.pmd.lang

ClassTestsErrors FailuresSkippedSuccess RateTime
ParserOptionsTest2000100%0

net.sourceforge.pmd.lang.java.rule.loggingjava

ClassTestsErrors FailuresSkippedSuccess RateTime
LoggingJavaRulesTest1000100%0.02

net.sourceforge.pmd.lang.java.rule.coupling

ClassTestsErrors FailuresSkippedSuccess RateTime
CouplingRulesTest1000100%0.055

net.sourceforge.pmd.lang.java.rule.sunsecure

ClassTestsErrors FailuresSkippedSuccess RateTime
SunSecureRulesTest1000100%0.029

net.sourceforge.pmd.lang.java.rule.typeresolution

ClassTestsErrors FailuresSkippedSuccess RateTime
UnusedImportsTest1000100%0.016
CloneMethodMustImplementCloneableTest1000100%0
LooseCouplingTest1000100%0.012
SignatureDeclareThrowsExceptionTest1000100%0.011

net.sourceforge.pmd.lang.java.rule.basic

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%2.573

net.sourceforge.pmd.lang.java.rule.j2ee

ClassTestsErrors FailuresSkippedSuccess RateTime
J2EERulesTest1000100%0.037

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.012

net.sourceforge.pmd.lang.vm.rule.basic

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.077

net.sourceforge.pmd.lang.java.rule.design

ClassTestsErrors FailuresSkippedSuccess RateTime
DesignRulesTest1000100%2.291

net.sourceforge.pmd.cpd

ClassTestsErrors FailuresSkippedSuccess RateTime
CPPTokenizerTest6000100%0.005
EcmascriptTokenizerTest2000100%0.002
LanguageFactoryTest1000100%0.002
CPDTest3000100%0.01
FortranTokenizerTest1000100%0.005
FileReporterTest4000100%0.003
XMLRendererTest4000100%0.018
AnyTokenizerTest1000100%0.001
CsTokenizerTest9000100%0.005
JavaTokensTokenizerTest11000100%0.008
RubyTokenizerTest1000100%0
MatchTest2000100%0.001
MatchAlgorithmTest2000100%0.002
PLSQLTokenizerTest1000100%0.047
CPDCommandLineInterfaceTest4000100%0.021
SourceCodeTest1000100%0.001
TokenEntryTest1000100%0

Test Cases

[Summary] [Package List] [Test Cases]

DBURITest

testDump0.003
testGetUri0.004
testSetUri0.001
testGetDbType0.003
testGetDbType20.001
testSetDbType0.001
testGetSchemasList0.001
testSetSchemasList0.001
testGetSourceCodeTypesList0.001
testSetSourceCodeTypesList0.001
testGetSourceCodeNamesList0.001
testSetSourceCodeNamesList0.001
testGetLanguagesList0.002
testSetLanguagesList0.001
testGetDriverClass0
testGetThinDriverClass0.003
testSetDriverClass0.001
testGetCharacterSet0.001
testSetCharacterSet0
testGetSourceCodeType0.001
testSetSourceCodeType0.001
testGetSubprotocol0.001
testSetSubprotocol0.001
testGetSubnamePrefix0.001
testSetSubnamePrefix0.001
testGetParameters0.001
testSetParameters0
testDefaultLanguagesList0.003
testDefaultCharacterSet0
testDefaultSchemasList0.001
testDefaultSourceCodeTypesList0.001
testDefaultSourceCodeNamesList0.001
testExplicitLanguagesList0.001
testExplicitCharacterSet0.001
testExplicitSchemasList0.001
testExplicitSourceCodeTypesList0.002
testExplicitSourceCodeNamesList0.001

TextRendererTest

testError0
testNullPassedIn0
testRenderer0
testRendererEmpty0
testRendererMultiple0

J2EERulesTest

testAll0.037

SummaryHTMLRendererTest

testError0
testNullPassedIn0
testRenderer0
testRendererEmpty0
testRendererMultiple0

RuleSetFactoryTest

testXPath0.015
testRuleSetFileName0.14
testNoRuleSetFileName0.009
testRefs0.034
testExtendedReferences0.171
testRuleSetNotFound0.008
testCreateEmptyRuleSet0.022
testSingleRule0.007
testMultipleRules0.007
testSingleRuleWithPriority0.006
testProps0.007
testFacadesOffByDefault0.006
testDFAFlag0.007
testExternalReferenceOverride0.01
testReferenceInternalToInternal0.007
testReferenceInternalToInternalChain0.016
testReferenceInternalToExternal0.015
testReferenceInternalToExternalChain0.022
testReferencePriority0.079
testOverrideMessage0.01
testOverrideMessageOneElem0.009
testIncorrectExternalRef0.009
testSetPriority0.008
testLanguage0.007
testIncorrectLanguage0.006
testMinimumLanugageVersion0.006
testIncorrectMinimumLanugageVersion0.006
testMaximumLanugageVersion0.006
testIncorrectMaximumLanugageVersion0.007
testInvertedMinimumMaximumLanugageVersions0.007
testDirectDeprecatedRule0.007
testReferenceToDeprecatedRule0.015
testRuleSetReferenceWithDeprecatedRule0.069
testExternalReferences0.007
testIncludeExcludePatterns0.005
testAllPMDBuiltInRulesMeetConventions0.586
testXmlSchema0.56
testDtd0.325
testReadWriteRoundTrip1.881

YAHTMLRendererTest

testError0.001
testNullPassedIn0
testRenderer0
testRendererEmpty0.001
testRendererMultiple0.001

CodesizeRulesTest

testAll2.223

SourceFileScopeTest

testClassDeclAppears0
testPackageIsEmptyString0
testPackageNameFound0
testNestedClasses0

AcceptanceTest

testInnerOuterClass0
testClashingSymbols0
testInitializer0
testCatchBlocks0
testEq0
testFieldFinder0
testDemo0
testEnum0

LanguageVersionDiscovererTest

testJspFile0
testJavaFileUsingDefaults0
testJavaFileUsing140
testPlsql0.001

BasicRulesTest

testAll0.077

CPPTokenizerTest

testMultiLineMacros0.002
testDollarSignInIdentifier0.001
testDollarSignStartingIdentifier0
testWideCharacters0.001
testContinuation_IntraToken0
testContinuation_InterToken0.001

ParserOptionsTest

testSuppressMarker0
testEqualsHashcode0

EcmascriptTokenizerTest

test20.001
test10.001

RuleSetReferenceIdTest

testCommaInSingleId0.002
testInternalWithInternal0.002
testExternalWithExternal0.008
testExternalWithInternal0
testInteralWithExternal0.002
testEmptyRuleSet0.002
testInternalWithExternalRuleSet0.002
testOneSimpleRuleSet0.002
testMultipleSimpleRuleSet0.004
testOneReleaseRuleSet0.003
testOneFullRuleSet0.002
testOneFullRuleSetURL0.002
testMultipleFullRuleSet0.002
testMixRuleSet0.003
testUnknownRuleSet0.001
testUnknownAndSimpleRuleSet0.002
testSimpleRuleSetAndRule0.002
testFullRuleSetAndRule0.002
testFullRuleSetURLAndRule0.002
testInternalRuleSetAndRule0.003
testRelativePathRuleSet0.002
testAbsolutePathRuleSet0.001
testFooRules0.003
testNullRulesetString0.002

LanguageFactoryTest

testSimple0.002

JavabeansRulesTest

testAll0.025

RegexpAcceptanceTest

testSimple0.003
testAll0.001

FileSelectorTest

testWantedFile0.001
testUnwantedFile0
testUnwantedJavaFile0

AcceptanceTest

testbook0.002
testLabelledBreakLockup0.002
test_10.002
test_20.003
test_30.003
test_40.002
test_60.003
test_70.003
test_80.003
test_90.002
test_100.002
test_110.003
test_120.002
test_130.003
test_140.004
test_150.004
test_160.004
test_170.004
test_180.002
test_190.002
test_200.002
test_210.002
test_220.003
test_230.003
test_240.002
test_250.002
test_260.002
test_270.002
test_280.004
test_290.002
test_300.003

NPathComplexityTest

testViolationMessage0.003
testReturnValueComplexity0.003

ASTFormalParameterTest

testVarargs0.002

TypeSetTest

testASTCompilationUnitPackage0.001
testFindClassImplicitImport0
testFindClassSamePackage0.004
testFindClassExplicitImport0
testFindClassImportOnDemand0
testFindClassPrimitive0
testFindClassVoid0
testFindFullyQualified0.001
testPrimitiveTypeResolver0
testVoidTypeResolver0
testExplicitImportResolver0.001
testImplicitImportResolverPass0
testImplicitImportResolverPassFail0
testCurrentPackageResolverPass0.001
testImportOnDemandResolverPass0.001
importOnDemandResolverFail10.001
importOnDemandResolverFail20.001
testAddImport0

BasicRulesTest

testAll0.06

ExcludeLinesTest

testAcceptance0.287
testAlternateMarker0.007

BracesRulesTest

testAll0.04

IDEAJRendererTest

testError0
testNullPassedIn0.001
testRenderer0
testRendererEmpty0
testRendererMultiple0.001

ContinuationReaderTest

testHappyPath0

ClassScopeTest

testEnumsClassScope0
testAnonymousInnerClassName0
testContains0
testCantContainsSuperToString0
testContainsStaticVariablePrefixedWithClassName0
testClassName0
testMethodDeclarationRecorded0
testTwoMethodsSameNameDiffArgs0
testOneParam0
testTwoParams0
testNoParams0
testOneParamVararg0
testTwoParamsVararg0
testNestedClassDeclFound0
testbuz0
testMethodUsageSeen0.001
testMethodUsageSeenWithThis0.001
testMethodUsageSeen20
testNestedClassFieldAndParameter0

CharacterPropertyTest

testErrorForBad0
testType0
testConstructors0
testAsDelimitedString0.001
testValueFrom0
testErrorFor0

LanguageVersionTest

testGetLanguageVersionForTerseName[0]0
testFindVersionsForLanguageTerseName[0]0.001
testGetLanguageVersionForTerseName[1]0.001
testFindVersionsForLanguageTerseName[1]0.003
testGetLanguageVersionForTerseName[2]0
testFindVersionsForLanguageTerseName[2]0.001
testGetLanguageVersionForTerseName[3]0.001
testFindVersionsForLanguageTerseName[3]0.004
testGetLanguageVersionForTerseName[4]0
testFindVersionsForLanguageTerseName[4]0
testGetLanguageVersionForTerseName[5]0.004
testFindVersionsForLanguageTerseName[5]0
testGetLanguageVersionForTerseName[6]0
testFindVersionsForLanguageTerseName[6]0
testGetLanguageVersionForTerseName[7]0
testFindVersionsForLanguageTerseName[7]0.001
testGetLanguageVersionForTerseName[8]0
testFindVersionsForLanguageTerseName[8]0.001
testGetLanguageVersionForTerseName[9]0.001
testFindVersionsForLanguageTerseName[9]0.001
testGetLanguageVersionForTerseName[10]0
testFindVersionsForLanguageTerseName[10]0.001
testGetLanguageVersionForTerseName[11]0
testFindVersionsForLanguageTerseName[11]0
testGetLanguageVersionForTerseName[12]0.001
testFindVersionsForLanguageTerseName[12]0
testGetLanguageVersionForTerseName[13]0
testFindVersionsForLanguageTerseName[13]0.001
testGetLanguageVersionForTerseName[14]0
testFindVersionsForLanguageTerseName[14]0
testGetLanguageVersionForTerseName[15]0.002
testFindVersionsForLanguageTerseName[15]0.001

ScopeCreationVisitorTest

testScopesAreCreated0

StringUtilTest

testReplaceWithOneChar0
testReplaceWithMultipleChars0
testReplaceStringWithString0
testReplaceStringWithString20
testReplaceWithNull0
testUTF8NotSupported0
testUTF8Supported0.001

ASTAssignmentOperatorTest

testSimpleAssignmentRecognized0.002
testCompoundAssignmentPlusRecognized0.002
testCompoundAssignmentMultRecognized0.003

DAAPathFinderTest

testTwoUpdateDefs0

XSLTRendererTest

testDefaultStylesheet0.153

CompoundListTest

testHappyPath0
testHappyPathRemove0
testEmpty0.001
testEmptyBadNext0
testEmptyBadRemove0

BooleanPropertyTest

testErrorForBad0
testType0
testConstructors0.001
testAsDelimitedString0
testValueFrom0.001
testErrorFor0

XPathRulesTest

testAll0.016

ASTLiteralTest

testIsStringLiteral0.005
testIsNotStringLiteral0.002
testIsIntIntLiteral0.002
testIsIntLongLiteral0.002
testIsFloatFloatLiteral0.002
testIsFloatDoubleLiteral0.001
testIsCharLiteral0.002

DateTimeUtilTest

testConversions0

CPDTest

testFileSectionWithBrokenSymlinks0.007
testFileAddedAsSymlinkAndReal0.002
testFileAddedWithRelativePath0.001

UnnecessaryRulesTest

testAll0.04

FortranTokenizerTest

tokenizeTest0.005

DesignRulesTest

testAll2.291

StructureTest

testAddResultsinDFANodeContainingAddedNode0.001

CSVRendererTest

testError0
testNullPassedIn0.001
testRenderer0.001
testRendererEmpty0
testRendererMultiple0

ImageFinderFunctionTest

testSingleImage0
testSeveralImages0

LoggingJakartaCommonsRulesTest

testAll0.034

MatchesFunctionTest

testMatch0
testNoMatch0

ASTPackageDeclarationTest

testPackageName0.12

FinalizersRulesTest

testAll0.027

AccessNodeTest

testPublic0.001
testPrivate0
testProtected0.001
testFinal0.001
testSynchronized0.001
testAbstract0.001
testNative0.001
testStrict0.001
testModifiersOnClassDecl0.002
testStatic0
testVolatile0.002
testTransient0
testPackagePrivate0.001

AvoidDuplicateLiteralsRuleTest

testAll0.02
testStringParserEmptyString0
testStringParserSimple0
testStringParserEscapedChar0
testStringParserEscapedEscapedChar0

ControversialRulesTest

testAll0.258

ReportTest

testBasic0.003
testMetric00.004
testMetric10.001
testExclusionsInReportWithRuleViolationSuppressRegex0.003
testExclusionsInReportWithRuleViolationSuppressXPath0.041
testExclusionsInReportWithAnnotations0.005
testExclusionsInReportWithAnnotationsFullName0.003
testExclusionsInReportWithNOPMD0.002
testExclusionsInReportWithNOPMDEcmascript0.09
testSortedReport_File0.015
testSortedReport_Line0.002
testListener0.002
testSummary0.002
testTreeIterator0.001

UnusedImportsTest

testAll0.016

CPDTaskTest

testBasic2.908

PLSQLParserTest

testBOM0.022
testExceptions0

ControversialRulesTest

testAll0.004

TypeMapTest

testTypeFor0
testAddClassOfQ0
testSize0.001
testContainsClassOfQ0
testContainsString0

StatementAndBraceFinderTest

testIfStmtHasCorrectTypes0.022
testWhileStmtHasCorrectTypes0.002
testForStmtHasCorrectTypes0.001
testOnlyWorksForMethodsAndConstructors0
testExpressionParentChildLinks0.001
testVariableOrConstantDeclaratorParentChildLinks0.001
testSimpleCaseStmtHasCorrectTypes0.002
testLabelledStmtHasCorrectTypes0.001

DoublePropertyTest

testType0
testErrorForBad0
testConstructors0
testAsDelimitedString0.001
testValueFrom0
testErrorFor0

ApplierTest

testSimple0

FormatterTest

testType0.001
testNull0.001

ASTFieldDeclarationTest

testGetVariableName0.001
testIsArray0.001
testMultiDimensionalArray0.001
testIsSyntacticallyPublic0.001
testWithEnum0.001

CyclomaticComplexityTest

testConstructor0.002
testOneMethod0.002
testNastyComplicatedMethod0.003
testLessComplicatedThanReportLevel0.002
testRemainingTestCases0.016

EmptyRulesTest

testAll0.065

AttributeAxisIteratorTest

testRemove0

VariableAccessTest

testGetVariableName0

EcmascriptParserTest

testLineNumbers0.001
testLineNumbersWithinEcmascriptRules0.001
testArrayAccess0.001
testArrayMethod0.001
testCaseAsIdentifier0.001
testSuppresionComment0.001
testVoidKeyword0.001

GlobalScopeTest

testClassDeclAppears0
testEnums0

ClassDeclTest

testPublic0.001
testFinal0.001
testAbstract0.001
testStrict0.001
testPublicFinal0.001

BasicJsfRulesTest

testAll0.002

ASTMethodDeclarationTest

testGetVariableName0

XPathCLITest

runXPath0.004

JspParserTest

testParseDollar0.004

JavaRuleViolationTest

testASTFormalParameterVariableName0

MetricTest

testGetAverage0.001
testGetStandardDeviation0
testGetCount0
testGetMetricName0
testGetLowValue0
testGetHighValue0.001
testGetTotal0

EmacsRendererTest

testError0
testNullPassedIn0.001
testRenderer0
testRendererEmpty0
testRendererMultiple0

AttributeTest

testConstructor0

FileReporterTest

testEmptyReport0.001
testReport0.001
testCreation0
testInvalidFile0.001

DataFlowNodeTest

testAddPathToChild0
testRemovePathToChild0
testRemovePathWithNonChild0.001
testReverseParentPathsTo0
testSetType0

ClassTypeResolverTest

testClassNameExists0
acceptanceTest0.001
testEnumAnonymousInnerClass0.001
testExtraTopLevelClass0.001
testInnerClass0
testAnonymousInnerClass0.001
testLiterals0.002
testUnaryNumericPromotion0.008
testBinaryNumericPromotion0.006
testBinaryStringPromotion0.005
testUnaryLogicalOperators0.002
testBinaryLogicalOperators0.002
testUnaryNumericOperators0.005
testBinaryNumericOperators0.003
testAssignmentOperators0.002

CLITest

minimumPriority0.144
usingDebug0.091
changeJavaVersion0.086
useEcmaScript0.016
minimalArgs0.064

ASTThrowStatementTest

testGetFirstASTNameImageNull0.005
testGetFirstASTNameImageNew0

StringsRulesTest

testAll0.315

DBTypeTest

testGetPropertiesFromFile0
testGetProperties0.002
testGetIncludeProperties0.003
testAsProperties0

VariableNameDeclarationTest

testConstructor0.001
testIsArray0
testExceptionBlkParam0
testPrimitiveType0
testArrayIsReferenceType0
testPrimitiveTypeImage0.001
testRefTypeImage0
testParamTypeImage0.001

ASTImportDeclarationTest

testImportOnDemand0.002
testGetImportedNameNode0.001
testStaticImport0.001
testStaticImportFailsWithJDK140.001

PLSQLXPathRuleTest

testXPathRule10.001
testXPathRule1Compatibility0.082
testXPathRule20.001

AbstractDomXmlRuleTest

dtdIsNotLookedUp0.001
xsdIsNotLookedUp0.002
testVisit0.008

ResourceLoaderTest

testGetResourceStream0.044

PropertyAccessorTest

testStrings0.001
testIntegers0
testBooleans0.001
testFloats0
skipped
testAll0

StringPropertyTest

testType0.001
testErrorForBad0
testConstructors0
testAsDelimitedString0.001
testValueFrom0
testErrorFor0

XPathRuleTest

testVariables0
testPluginname0

CloneMethodMustImplementCloneableTest

testAll0

CodesizeRulesTest

testAll0.073

VmParserTest

testParser0.008
testParser20.002
testParser30

JunitRulesTest

testAll0.138

IntegerPropertyTest

testErrorForBad0
testType0
testConstructors0.001
testAsDelimitedString0
testValueFrom0
testErrorFor0

ASTVariableDeclaratorIdTest

testIsExceptionBlockParameter0
testTypeNameNode0.001
testAnnotations0.001
testLambdaWithType0.001
testLambdaWithoutType0.001

BracesRulesTest

testAll0.021

StrictExceptionRulesTest

testAll0.074

ASTTryStatementTest

testFinallyBlockOnly0
testCatchBlockOnly0.001
testCatchAndFinallyBlock0
testMultipleCatchAndFinallyBlock0.001

DocumentNavigatorTest

testChildAxisIterator0.001
testParentAxisIterator0.002
testParentAxisIterator20.001
testDescendantAxisIterator0.001
testDescendantAxisIterator20.001
testFollowingSiblingAxisIterator0.001
testFollowingSiblingAxisIterator20.001
testPrecedingSiblingAxisIterator0.001
testPrecedingSiblingAxisIterator20
testXPath0.002
testXPath20.001

MigratingRulesTest

testAll0.067

XMLRendererTest

testWithNoDuplication0.005
testWithOneDuplication0.006
testRenderWithMultipleMatch0.004
testRendererEncodedPath0.003

AnyTokenizerTest

testMultiLineMacros0.001

SunSecureRulesTest

testAll0.029

SimpleNodeTest

testMethodDiffLines0.001
testMethodSameLine0.001
testNoLookahead0.001
testHasExplicitExtends0.001
testNoExplicitExtends0.001
testHasExplicitImplements0.001
testNoExplicitImplements0.001
testColumnsOnQualifiedName0.001
testLineNumbersForNameSplitOverTwoLines0.001
testLineNumbersAreSetOnAllSiblings0.007
testFindDescendantsOfType0
testFindDescendantsOfTypeMultiple0
testFindDescendantsOfTypeRecurse0
testGetFirstChild0.002
testGetFirstChildNested0
testGetFirstChildNestedDeeper0.001
testParentMethods0.002
testContainsNoInnerWithAnonInner0.002
testContainsChildOfType0.001
testXPathNodeSelect0.002
testUserData0.001

AttributeAxisIteratorTest

testAttributeAxisIterator0

ASTFunctionNodeTest

testGetBody0
testGetBodyFunctionClosureExpression0.001

AbstractRuleTest

testEquals10.026
testEquals20.002
testEquals30.005
testEquals40.002
testEquals50.003
testEquals60.003
testEquals90.002
testEquals100.003
testCreateRV0.006
testCreateRV20.002
testRuleWithVariableInMessage0.006
testRuleSuppress0.003
testEquals70.004
testEquals80.004

FloatPropertyTest

testType0
testErrorForBad0.001
testConstructors0
testAsDelimitedString0
testValueFrom0
testErrorFor0

CsTokenizerTest

testSimpleClass0.001
testSimpleClassDuplicatedTokens0.001
testSimpleClassMethodMultipleLines0
testStrings0
testOpenString0.001
testCommentsIgnored10.001
testCommentsIgnored20.001
testCommentsIgnored30
testMoreTokens0

LoggingJavaRulesTest

testAll0.02

RuleSetTest

testNoDFA0
testIncludesRuleWithDFA0
testAccessors0.002
testGetRuleByName0.003
testGetRuleByName20.009
testRuleList0
testAddRuleSet0.001
testAddRuleSetByReferenceBad0.003
testAddRuleSetByReferenceAllRule0.002
testAddRuleSetByReferenceSingleRule0.002
testApply0Rules0.002
testEquals10.002
testEquals20.002
testEquals30.002
testEquals40.002
testEquals50.002
testEquals60.002
testLanguageApplies0.003
testAddExcludePattern0.002
testAddExcludePatterns0.002
testSetExcludePatterns0.002
testAddIncludePattern0.002
testAddIncludePatterns0.002
testSetIncludePatterns0.002
testIncludeExcludeApplies0.003
testIncludeExcludeMultipleRuleSetWithRuleChainApplies0.018

CommentRulesTest

testAll0.011

LooseCouplingTest

testAll0.012

JavaTokensTokenizerTest

test20.001
test10.001
testCommentsIgnored0.001
testIgnoreComments0.001
testDiscardOneLineAnnotationWithParams0.001
testIgnoreBetweenSpecialAnnotation0.001
testIgnoreBetweenSpecialAnnotationAndIgnoreAnnotations0
testDiscardSemicolons0
testDiscardImports0
testDiscardPkgStmts0.001
testDiscardSimpleOneLineAnnotation0.001

NameOccurrencesTest

testSuper0
testThis0.001
testNameLinkage0
testSimpleVariableOccurrence0
testQualifiedOccurrence0.001
testIsSelfAssignment0
testEnumStaticUsage0.001

MethodPropertyTest

testAsStringOn0.001
testAsMethodOn0.001
testType0
testErrorForBad0
testConstructors0.001
testAsDelimitedString0
testValueFrom0
testErrorFor0.001

RubyTokenizerTest

tokenizeTest0

UnusedCodeRulesTest

testAll0.116

JspPageStyleTest

testComment0
testDirective0.001
testDeclaration0
testScriptlet0
testExpression0
testExpressionInAttribute0
testElExpression0
testElExpressionInAttribute0
testJsfValueBinding0.001

MatchTest

testSimple0.001
testCompareTo0

RuleReferenceTest

testOverride0.002
testNotOverride0.001
testRuleSetReference0

OpenTagRegisterTest

testSimpleNesting0.001
doubleNesting0
unopenedTags0
interleavedTags0
openedIsolatedTag0

MatchAlgorithmTest

testSimple0.001
testIgnore0.001

EnumeratedPropertyTest

testType0
testErrorForBad0.001
testConstructors0
testAsDelimitedString0
testValueFrom0.001
testErrorFor0

ImportsRulesTest

testAll0.081

XmlParserOptionsTest

testConstructor0
testSetters0
testEqualsHashcode0
testDefaults0

ReadableDurationTest

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

HTMLRendererTest

testError0
testNullPassedIn0
testRenderer0.001
testRendererEmpty0
testRendererMultiple0

BasicRulesTest

testAll0.012

ASTBlockStatementTest

testIsAllocation0
testIsAllocation20

NamingRulesTest

testAll0.206

RegexStringFilterTest

testFilterAbsoluteWithExtension0
testFilterAbsoluteWithoutExtension0
testFilterRelativeWithExtension0
testFilterRelativeWithoutExtension0.001
testEndsWith0

JspDocStyleTest

testComment0.001
mixedExpressions0.002
unclosedTagsWithJspExpressionWithin0.001
textAfterOpenAndClosedTag0.002
quoteEL0.001
quoteExpression0.001
noQuoteAttrValue0.001
noQuoteAttrWithJspEL0.001
noQuoteAttrWithJspExpression0.001
noQuoteAttrEmpty0.001
noQuoteAttrCrLf0.002
noQuoteAttrTab0.001
noQuoteAttrWithMalformedJspExpression0.001
unclosedTag0.002
unclosedTagAndNoQuotesForAttribute0.001
unclosedTagMultipleLevels0.002
nestedEmptyTags0.002
nestedMultipleTags0.001
unclosedParentTagClosedBeforeChild0.001
unmatchedTagDoesNotInfluenceStructure0.001
unclosedStartTagWithUnmatchedCloseOfDifferentTag0.001
testDoctype0.001
testHtmlScript0.001
testImportHtmlScript0
testHtmlScriptWithAttribute0
testComplexHtmlScript0.002
testInlineCss0
testTextInTag0
noSpacesBetweenTags0.001
unclosedTagsWithDollar0.001
unclosedTagsWithELWithin0.001
testSimplestJsp0.001
testElementAttributeAndNamespace0
testAttributeValueContainingHash0.001
testCData0.001

PMDASMClassLoaderTest

testLoadClassWithImportOnDemand0
testClassWithImportInnerOnDemand0
testCachingOfNotFoundClasses0

EcmascriptParserOptionsTest

testConstructor0
testSetters0
testEqualsHashcode0
testDefaults0.001

SignatureDeclareThrowsExceptionTest

testAll0.011

PLSQLTokenizerTest

tokenizeTest0.047

LocalScopeTest

testNameWithSuperIsNotFlaggedAsUnused0
testLocalVariableDeclarationFound0
testQualifiedNameOccurrence0
testPostfixUsageIsRecorded0.001
testLocalVariableTypesAreRecorded0
testMethodArgumentTypesAreRecorded0
testgetEnclosingMethodScope0.001
testNameWithThisOrSuperIsNotFlaggedAsUnused0

BasicRulesTest

testAll0.146

VariableUsageFinderFunctionTest

testLookingForUsed0

ConfigurationTest

testClassLoader0.006
testRuleSets0.002
testMinimumPriority0.002
testSourceEncoding0.003
testInputPaths0.003
testReportShortNames0.004
testReportFormat0.004
testCreateRenderer0.013
testReportFile0.003
testShowSuppressedViolations0.004
testReportProperties0.002
testDebug0.003
testStressTest0.002
testBenchmark0.002
testThreads0.002
testLanguageVersionDiscoverer0.003
testSuppressMarker0.003

DocumentNavigatorTest

getDocumentNode0

UnnecessaryRulesTest

testAll0.093

ResourceResolverTest

testResolve0

TypePropertyTest

testType0
testErrorForBad0
testConstructors0.001
testAsDelimitedString0
testValueFrom0
testErrorFor0.001

ASTAnnotationTest

testAnnotationSucceedsWithDefaultMode0.001
testAnnotationFailsWithJDK140.001
testAnnotationSucceedsWithJDK150.001

EncodingTest

testDecodingOfUTF80

CPDCommandLineInterfaceTest

testIgnoreIdentifiers0.006
testExcludes0.008
testEncodingOption0.004
testBrokenAndValidFile0.003

CouplingRulesTest

testAll0.055

MethodNameDeclarationTest

testEquality0

XmlParserTest

testLineNumbers0.02
testDefaultParsing0.003
testParsingCoalescingEnabled0.002
testParsingDoNotExpandEntities0.008
testParsingIgnoreComments0.003
testParsingIgnoreElementContentWhitespace0.002
testDefaultParsingNamespaces0.001
testParsingNotNamespaceAware0.001
testParsingWithValidation0.004

ParserCornersTest

testInnerOuterClass0.001
testGetFirstASTNameImageNull0
testCastLookaheadProblem0.001
testGenericsProblem0.001
testParsersCases0.029
testMultipleExceptionCatching0.002

MethodScopeTest

testMethodParameterOccurrenceRecorded0.001
testMethodName0
testGenerics0

FieldDeclTest

testPublic0.001
testPrivate0
testProtected0.001
testFinal0.001
testStatic0.001
testVolatile0
testTransient0.001

SourceCodeTest

testSimple0.001

StatementAndBraceFinderTest

testIfStmtHasCorrectTypes0.001
testStatementExpressionParentChildLinks0.001
testVariableDeclaratorParentChildLinks0
testWhileStmtHasCorrectTypes0
testForStmtHasCorrectTypes0.001
testOnlyWorksForMethodsAndConstructors0.001

PMDCoverageTest

testResourceFileCommands26.651
testPmdOptions1.122

GeneralFiddlingTest

test10

SuppressWarningsTest

testClassLevelSuppression0.005
testInheritedSuppression0.006
testMethodLevelSuppression0.004
testConstructorLevelSuppression0.008
testFieldLevelSuppression0
testParameterLevelSuppression0.004
testLocalVariableLevelSuppression0.004
testSpecificSuppression0.004
testSpecificSuppressionValue10.004
testSpecificSuppressionValue20.004
testSpecificSuppressionValue30.004
testSpecificSuppressionMulitpleValues10.004
testSpecificSuppressionMulitpleValues20.003
testNoSuppressionBlank0.003
testNoSuppressionSomethingElseS0.002
testSuppressAll0.002
testSpecificSuppressionAtTopLevel0.003

JDKVersionTest

testEnumAsKeywordShouldFailWith140.001
testEnumAsIdentifierShouldPassWith140.001
testEnumAsKeywordShouldPassWith150.002
testEnumAsIdentifierShouldFailWith150.002
testAssertAsKeywordVariantsSucceedWith1_40.003
testAssertAsVariableDeclIdentifierFailsWith1_40.001
testAssertAsMethodNameIdentifierFailsWith1_40.002
testAssertAsIdentifierSucceedsWith1_30.002
testAssertAsKeywordFailsWith1_30.002
testVarargsShouldPassWith150.002
testVarargsShouldFailWith140.001
testJDK15ForLoopSyntaxShouldPassWith150.002
testJDK15ForLoopSyntaxWithModifiers0.001
testJDK15ForLoopShouldFailWith140.001
testJDK15GenericsSyntaxShouldPassWith150.004
testVariousParserBugs0.001
testNestedClassInMethodBug0.001
testGenericsInMethodCall0.001
testGenericINAnnotation0.001
testGenericReturnType0.001
testMultipleGenerics0.002
testAnnotatedParams0
testAnnotatedLocals0.001
testAssertAsIdentifierSucceedsWith1_3_test20.001
testBinaryAndUnderscoresInNumericalLiterals0.004
testStringInSwitch0.001
testGenericDiamond0.001
testTryWithResources0.001
testTryWithResourcesSemi0.001
testTryWithResourcesMulti0
testTryWithResourcesWithAnnotations0
testMulticatch0.001
testMulticatchWithAnnotations0.001

RuleSetWriterTest

testWrite0.002

AbstractXmlRuleTest

testVisit0.001

ViolationNodeTest

testEqualsNodeWithTwoEqualViolations0.11
testEqualsNodeWithTwoDifferentViolationsDifferentFilename0.001
testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine0.001
testEqualsNodeWithTwoDifferentViolationsDifferentEndLine0.002
testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn0.001
testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn0.002
testEqualsNodeWithTwoDifferentViolationsDifferentVariableName0.001

MethodDeclTest

testPublic0
testPrivate0
testProtected0.001
testFinal0
testSynchronized0.001
testAbstract0
testNative0.001
testStrict0

StatisticalRuleTest

testMetrics0.004
testExpectedMinimum0.002
testSingleDatapoint0.002
testS0.002
testS10.002
testS20.002
testS30.002
testS40.002
testS50.002
testT0.002
testT10.001
testT20.003
testT30.002
testT40.002
testT50.002
testM0.002
testM10.002
testM20.002
testM30.001
testM40.002
testM50.002
testST0.002
testST10.001
testST20.002
testST30.001
testST40.002
testST50.001
testTS0.001
testTS10.002
testTS20.002
testTS30.002
testTS40.001
testTS50.002
testSM0.002
testSM10.001
testSM20.003
testSM30.002
testSM40.008
testSM50.002
testMS0.001
testMS10.002
testMS20.001
testMS30.001
testMS40.001
testMS50.002
testTM0.001
testTM10.003
testTM20.003
testTM30.002
testTM40.003
testTM50.003
testMT0.002
testMT10.002
testMT20.003
testMT30.002
testMT40.002
testMT50.002
testSTM0.002
testSTM10.002
testSTM20.002
testSTM30.002
testSTM40.001
testSTM50.001
testSMT0.002
testSMT10.001
testSMT20.002
testSMT30.002
testSMT40.003
testSMT50.001
testTMS0.001
testTMS10.001
testTMS20.001
testTMS30.001
testTMS40.001
testTMS50.001

BasicRulesTest

testAll2.573

PapariTextRendererTest

testError0.001
testNullPassedIn0
testRenderer0.001
testRendererEmpty0
testRendererMultiple0.001

ASTBooleanLiteralTest

testFalse0.001
testTrue0.001

RuleViolationComparatorTest

testComparator0

AbstractCommentRuleTest

testFilteredCommentIn0
testCommentAssignments0

ASTPrimarySuffixTest

testArrayDereference0.002
testArguments0.002

PMDTaskTest

testClasspath0.093
testNoFormattersValidation0.979
testFormatterWithNoToFileAttribute0.081
testNoRuleSets0.063
testNestedRuleset0.422
testFormatterWithProperties0.427
testAbstractNames0.447
testAbstractNamesInNestedRuleset0.368
testCommaInRulesetfiles0.325
testRelativeRulesets0.279
testRelativeRulesetsInRulesetfiles0.246
testBasic0.077
testInvalidLanguageVersion0.047
testExplicitRuleInRuleSet0.099
testEcmascript0.11
testXML0.144

TokenEntryTest

testSimple0

OptimizationsRulesTest

testAll0.166

VBHTMLRendererTest

testError0
testNullPassedIn0
testRenderer0
testRendererEmpty0
testRendererMultiple0

DesignerTest

testCopyXmlToClipboard0.005

ASTInitializerTest

testDontCrashOnBlockStatement0.004

TextPadRendererTest

testError0
testNullPassedIn0
testRenderer0
testRendererEmpty0
testRendererMultiple0

AndroidRulesTest

testAll0.012

XPathJspRuleTest

testExpressionMatching0.001

SourceCodePositionerTest

testLineNumberFromOffset0

CloneRulesTest

testAll0.02

ASTLocalVariableDeclarationTest

testSingleDimArray0.001
testMultDimArray0.001
testMultDimArraySplitBraces0.001

ASTSwitchLabelTest

testDefaultOff0.002
testDefaultSet0

XMLRendererTest

testEmptyReport0.002
testErrorReport0
testSingleReport0.003
testDoubleReport0.002
testTwoFiles0.002

RuleContextTest

testReport0.001
testSourceCodeFilename0.001
testSourceCodeFile0
testAttributes0
testSharedAttributes0.001

Failure Details

[Summary] [Package List] [Test Cases]


net.sourceforge.pmd.util.database.DBMSMetadataTest
skipped: skipped
xml.java-design.UseVarargs:method, do not varargs as the signature is dictated by an interface // TODO Once this is implemented, perhaps it should be optional? The compiler will technically let you use varargs.
skipped: skipped
xml.java-strings.ConsecutiveLiteralAppends:43, Using variable char array
skipped: skipped
testFloats
skipped: skipped
net.sourceforge.pmd.lang.java.rule.typeresolution.xml.MyTestCase
skipped: skipped
xml.java-unnecessary.UselessOverridingMethod:False +: Overriding method merely calls super (see bug 1415525)
skipped: skipped