Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
92400699.351%76.63

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%2.668
net.sourceforge.pmd.symboltable82000100%0.082
net.sourceforge.pmd.lang.java.rule.naming1000100%0.323
net.sourceforge.pmd.renderers56000100%1.01
net.sourceforge.pmd.lang.java.rule.unnecessary1000100%2.038
net.sourceforge.pmd.lang.ecmascript.ast2000100%0.204
net.sourceforge.pmd.lang.java.rule.migrating1000100%0.251
net.sourceforge.pmd.lang.jsp.rule.basic1000100%0.616
net.sourceforge.pmd.lang.java.rule.unusedcode1000100%0.218
net.sourceforge.pmd.lang.java.rule.strictexception1000100%0.216
net.sourceforge.pmd.ast132000100%0.208
net.sourceforge.pmd.lang.ecmascript4000100%0.006
net.sourceforge.pmd.ant17000100%4.129
net.sourceforge.pmd.lang.java.rule.imports1000100%0.179
net.sourceforge.pmd.lang.java.rule.typeresolution.xml10010%0.002
net.sourceforge.pmd.lang.jsp.rule.basicjsf1000100%0.238
net.sourceforge.pmd.lang.xsl.rule.xpath1000100%0.052
net.sourceforge.pmd.util19000100%0.011
net.sourceforge.pmd.lang.xml.rule4000100%0.292
net.sourceforge.pmd.util.filter5000100%0.001
net.sourceforge.pmd.lang.ecmascript.rule.basic1000100%0.59
net.sourceforge.pmd.lang.ast.xpath1000100%0.004
net.sourceforge.pmd.typeresolution17000100%0.044
net.sourceforge.pmd.testframework30030%2.461
net.sourceforge.pmd.lang.java.rule.clone1000100%0.245
net.sourceforge.pmd.lang.java.rule.optimizations1000100%0.494
net.sourceforge.pmd.lang.java.rule.loggingjakartacommons1000100%0.066
net.sourceforge.pmd.jaxen17000100%0.075
net.sourceforge.pmd.lang.java.rule.comments2000100%0.042
net.sourceforge.pmd.lang.java.rule2000100%0.001
net.sourceforge.pmd.properties6100198.361%0.193
net.sourceforge.pmd.lang.jsp.ast50000100%0.343
net.sourceforge.pmd.cli4000100%0.178
net.sourceforge.pmd.lang.java.rule.braces1000100%0.215
net.sourceforge.pmd.lang.xml4000100%0.008
net.sourceforge.pmd.lang.ecmascript.rule.braces1000100%0.156
net.sourceforge.pmd.lang.java.rule.android1000100%0.02
net.sourceforge.pmd.lang.java.rule.empty1000100%0.371
net.sourceforge.pmd.lang.cpp1000100%0.002
net.sourceforge.pmd.lang.java.rule.codesize8000100%0.315
net.sourceforge.pmd.lang.dfa.report7000100%0.303
net.sourceforge.pmd.lang.java.rule.junit1000100%0.334
net.sourceforge.pmd.lang.ecmascript.rule.unnecessary1000100%0.261
net.sourceforge.pmd.stat82000100%0.385
net.sourceforge.pmd.lang.java.rule.controversial1000100%0.882
net.sourceforge.pmd.dfa46000100%0.447
net.sourceforge.pmd196000100%3.584
net.sourceforge.pmd.lang.java.rule.finalizers1000100%0.061
net.sourceforge.pmd.lang.java.rule.javabeans1000100%0.119
net.sourceforge.pmd.coverage2000100%32.421
net.sourceforge.pmd.lang2000100%0.001
net.sourceforge.pmd.lang.java.rule.loggingjava1000100%0.042
net.sourceforge.pmd.lang.java.rule.sunsecure1000100%0.27
net.sourceforge.pmd.lang.java.rule.coupling1000100%0.109
net.sourceforge.pmd.lang.java.rule.typeresolution4000100%0.12
net.sourceforge.pmd.lang.java.rule.basic1000100%3.348
net.sourceforge.pmd.lang.java.rule.j2ee1000100%0.306
xml.java-design.UseVarargs:method\u002C do not varargs as the signature is dictated by an interface\n\/\/ TODO Once this is implemented\u002C perhaps it should be optional? The compiler will technically let you use varargs.(net.sourceforge.pmd.testframework10010%4.752
net.sourceforge.pmd.lang.xml.rule.basic1000100%0.082
net.sourceforge.pmd.lang.java.rule.design9000100%9.967
net.sourceforge.pmd.cpd49000100%0.269

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.044
StringsRulesTest1000100%2.624

net.sourceforge.pmd.symboltable

ClassTestsErrors FailuresSkippedSuccess RateTime
VariableUsageFinderFunctionTest1000100%0.001
MethodScopeTest3000100%0.002
SourceFileScopeTest4000100%0.002
MethodNameDeclarationTest1000100%0.001
AcceptanceTest8000100%0.008
ScopeCreationVisitorTest1000100%0.001
TypeSetTest18000100%0.019
NameOccurrencesTest7000100%0.006
GlobalScopeTest2000100%0.003
ImageFinderFunctionTest2000100%0.001
ClassScopeTest19000100%0.019
LocalScopeTest8000100%0.012
VariableNameDeclarationTest8000100%0.007

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

ClassTestsErrors FailuresSkippedSuccess RateTime
NamingRulesTest1000100%0.323

net.sourceforge.pmd.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
YAHTMLRendererTest5000100%0.022
CSVRendererTest5000100%0.007
VBHTMLRendererTest5000100%0.005
XMLRendererTest5000100%0.025
SummaryHTMLRendererTest5000100%0.01
TextRendererTest5000100%0.006
PapariTextRendererTest5000100%0.01
EmacsRendererTest5000100%0.014
XSLTRendererTest1000100%0.896
HTMLRendererTest5000100%0.004
TextPadRendererTest5000100%0.004
IDEAJRendererTest5000100%0.007

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

ClassTestsErrors FailuresSkippedSuccess RateTime
UnnecessaryRulesTest1000100%2.038

net.sourceforge.pmd.lang.ecmascript.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
EcmascriptParserTest1000100%0.202
SourceCodePositionerTest1000100%0.002

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

ClassTestsErrors FailuresSkippedSuccess RateTime
MigratingRulesTest1000100%0.251

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.616

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

ClassTestsErrors FailuresSkippedSuccess RateTime
UnusedCodeRulesTest1000100%0.218

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

ClassTestsErrors FailuresSkippedSuccess RateTime
StrictExceptionRulesTest1000100%0.216

net.sourceforge.pmd.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
ASTFormalParameterTest1000100%0.001
SimpleNodeTest21000100%0.033
ASTLiteralTest7000100%0.019
ASTBooleanLiteralTest2000100%0.004
ASTLocalVariableDeclarationTest3000100%0.003
EncodingTest00000%0.002
MethodDeclTest8000100%0.004
ASTBlockStatementTest2000100%0.002
ParserCornersTest4000100%0.011
ASTVariableDeclaratorIdTest3000100%0.002
ASTFieldDeclarationTest5000100%0.006
ASTSwitchLabelTest2000100%0.004
ASTAnnotationTest3000100%0.002
ASTThrowStatementTest2000100%0.003
ASTInitializerTest1000100%0.001
AccessNodeTest13000100%0.01
ASTMethodDeclarationTest1000100%0.001
JDKVersionTest33000100%0.077
ASTAssignmentOperatorTest3000100%0.004
ASTImportDeclarationTest4000100%0.005
ClassDeclTest5000100%0.004
ASTPrimarySuffixTest2000100%0.003
FieldDeclTest7000100%0.007

net.sourceforge.pmd.lang.ecmascript

ClassTestsErrors FailuresSkippedSuccess RateTime
EcmascriptParserOptionsTest4000100%0.006

net.sourceforge.pmd.ant

ClassTestsErrors FailuresSkippedSuccess RateTime
FormatterTest1000100%0.011
PMDTaskTest16000100%4.118

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

ClassTestsErrors FailuresSkippedSuccess RateTime
ImportsRulesTest1000100%0.179

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

ClassTestsErrors FailuresSkippedSuccess RateTime
MyTestCase10010%0.002

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicJsfRulesTest1000100%0.238

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

ClassTestsErrors FailuresSkippedSuccess RateTime
XPathRulesTest1000100%0.052

net.sourceforge.pmd.util

ClassTestsErrors FailuresSkippedSuccess RateTime
StringUtilTest7000100%0.007
ApplierTest1000100%0
DateTimeUtilTest1000100%0
CompoundListTest5000100%0.002
TypeMapTest5000100%0.002

net.sourceforge.pmd.lang.xml.rule

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractXmlRuleTest1000100%0.109
AbstractDomXmlRuleTest3000100%0.183

net.sourceforge.pmd.util.filter

ClassTestsErrors FailuresSkippedSuccess RateTime
RegexStringFilterTest5000100%0.001

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.59

net.sourceforge.pmd.lang.ast.xpath

ClassTestsErrors FailuresSkippedSuccess RateTime
AttributeAxisIteratorTest1000100%0.004

net.sourceforge.pmd.typeresolution

ClassTestsErrors FailuresSkippedSuccess RateTime
PMDASMClassLoaderTest3000100%0.004
ClassTypeResolverTest14000100%0.04

net.sourceforge.pmd.testframework

ClassTestsErrors FailuresSkippedSuccess RateTime
SimpleAggregatorTst10010%1.014
SimpleAggregatorTst10010%0.135
SimpleAggregatorTst10010%1.312

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

ClassTestsErrors FailuresSkippedSuccess RateTime
CloneRulesTest1000100%0.245

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

ClassTestsErrors FailuresSkippedSuccess RateTime
OptimizationsRulesTest1000100%0.494

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

ClassTestsErrors FailuresSkippedSuccess RateTime
LoggingJakartaCommonsRulesTest1000100%0.066

net.sourceforge.pmd.jaxen

ClassTestsErrors FailuresSkippedSuccess RateTime
MatchesFunctionTest2000100%0.01
AttributeAxisIteratorTest1000100%0.007
RegexpAcceptanceTest2000100%0.001
DocumentNavigatorTest11000100%0.049
AttributeTest1000100%0.008

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

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractCommentRuleTest1000100%0.002
CommentRulesTest1000100%0.04

net.sourceforge.pmd.lang.java.rule

ClassTestsErrors FailuresSkippedSuccess RateTime
XPathRuleTest2000100%0.001

net.sourceforge.pmd.properties

ClassTestsErrors FailuresSkippedSuccess RateTime
DoublePropertyTest6000100%0.014
EnumeratedPropertyTest6000100%0.026
BooleanPropertyTest6000100%0.009
IntegerPropertyTest6000100%0.023
MethodPropertyTest8000100%0.039
CharacterPropertyTest6000100%0.007
TypePropertyTest6000100%0.021
FloatPropertyTest6000100%0.024
StringPropertyTest6000100%0.006
PropertyAccessorTest500180%0.024

net.sourceforge.pmd.lang.jsp.ast

ClassTestsErrors FailuresSkippedSuccess RateTime
OpenTagRegisterTest5000100%0.003
JspPageStyleTest9000100%0.066
JspDocStyleTest35000100%0.142
XPathJspRuleTest1000100%0.132

net.sourceforge.pmd.cli

ClassTestsErrors FailuresSkippedSuccess RateTime
CLITest4000100%0.178

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BracesRulesTest1000100%0.215

net.sourceforge.pmd.lang.xml

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlParserOptionsTest4000100%0.008

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BracesRulesTest1000100%0.156

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

ClassTestsErrors FailuresSkippedSuccess RateTime
AndroidRulesTest1000100%0.02

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

ClassTestsErrors FailuresSkippedSuccess RateTime
EmptyRulesTest1000100%0.371

net.sourceforge.pmd.lang.cpp

ClassTestsErrors FailuresSkippedSuccess RateTime
ContinuationReaderTest1000100%0.002

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

ClassTestsErrors FailuresSkippedSuccess RateTime
CyclomaticComplexityTest5000100%0.048
CodesizeRulesTest1000100%0.232
NPathComplexityTest2000100%0.035

net.sourceforge.pmd.lang.dfa.report

ClassTestsErrors FailuresSkippedSuccess RateTime
ViolationNodeTest7000100%0.303

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

ClassTestsErrors FailuresSkippedSuccess RateTime
JunitRulesTest1000100%0.334

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

ClassTestsErrors FailuresSkippedSuccess RateTime
UnnecessaryRulesTest1000100%0.261

net.sourceforge.pmd.stat

ClassTestsErrors FailuresSkippedSuccess RateTime
StatisticalRuleTest75000100%0.383
MetricTest7000100%0.002

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

ClassTestsErrors FailuresSkippedSuccess RateTime
ControversialRulesTest1000100%0.882

net.sourceforge.pmd.dfa

ClassTestsErrors FailuresSkippedSuccess RateTime
DAAPathFinderTest1000100%0.168
AcceptanceTest31000100%0.234
VariableAccessTest1000100%0.002
DataFlowNodeTest5000100%0.01
StatementAndBraceFinderTest6000100%0.012
GeneralFiddlingTest1000100%0.02
StructureTest1000100%0.001

net.sourceforge.pmd

ClassTestsErrors FailuresSkippedSuccess RateTime
RuleSetWriterTest1000100%0.006
RuleViolationTest00000%0.003
RuleSetFactoryTest39000100%3.348
ReportTest12000100%0.019
RuleSetReferenceIdTest20000100%0.029
RuleReferenceTest3000100%0.001
RuleViolationComparatorTest1000100%0.001
ASTPackageDeclarationTest1000100%0.014
ConfigurationTest17000100%0.012
AbstractRuleTest14000100%0.028
SuppressWarningsTest17000100%0.03
ReadableDurationTest4000100%0.001
LanguageVersionTest28000100%0.02
FileSelectorTest3000100%0
RuleContextTest5000100%0.001
LanguageVersionDiscovererTest3000100%0.008
ExcludeLinesTest2000100%0.012
RuleSetTest26000100%0.051

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

ClassTestsErrors FailuresSkippedSuccess RateTime
FinalizersRulesTest1000100%0.061

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

ClassTestsErrors FailuresSkippedSuccess RateTime
JavabeansRulesTest1000100%0.119

net.sourceforge.pmd.coverage

ClassTestsErrors FailuresSkippedSuccess RateTime
PMDCoverageTest2000100%32.421

net.sourceforge.pmd.lang

ClassTestsErrors FailuresSkippedSuccess RateTime
ParserOptionsTest2000100%0.001

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

ClassTestsErrors FailuresSkippedSuccess RateTime
LoggingJavaRulesTest1000100%0.042

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

ClassTestsErrors FailuresSkippedSuccess RateTime
SunSecureRulesTest1000100%0.27

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

ClassTestsErrors FailuresSkippedSuccess RateTime
CouplingRulesTest1000100%0.109

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

ClassTestsErrors FailuresSkippedSuccess RateTime
CloneMethodMustImplementCloneableTest1000100%0.001
LooseCouplingTest1000100%0.038
SignatureDeclareThrowsExceptionTest1000100%0.033
UnusedImportsTest1000100%0.048

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%3.348

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

ClassTestsErrors FailuresSkippedSuccess RateTime
J2EERulesTest1000100%0.306

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

ClassTestsErrors FailuresSkippedSuccess RateTime
SimpleAggregatorTst)10010%4.752

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

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicRulesTest1000100%0.082

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

ClassTestsErrors FailuresSkippedSuccess RateTime
UncommentedEmptyMethodRuleTest1000100%0.04
UncommentedEmptyConstructorRuleTest3000100%0.096
DesignRulesTest1000100%9.504
TooManyHttpFilterTest2000100%0.001
ConfusingTernaryRuleTest1000100%0.041
ConstructorCallsOverridableMethodTest1000100%0.285

net.sourceforge.pmd.cpd

ClassTestsErrors FailuresSkippedSuccess RateTime
CsTokenizerTest9000100%0.011
FileReporterTest4000100%0.006
FortranTokenizerTest1000100%0.007
CPDTest3000100%0.024
AnyTokenizerTest1000100%0
EcmascriptTokenizerTest2000100%0.002
XMLRendererTest4000100%0.033
SourceCodeTest1000100%0.001
MatchAlgorithmTest2000100%0.001
JavaTokensTokenizerTest11000100%0.157
RubyTokenizerTest1000100%0.001
CPPTokenizerTest6000100%0.02
MatchTest2000100%0.001
TokenEntryTest1000100%0.002
LanguageFactoryTest1000100%0.003

Test Cases

[Summary] [Package List] [Test Cases]

AbstractCommentRuleTest

testFilteredCommentIn0

StatisticalRuleTest

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

CsTokenizerTest

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

FileReporterTest

testEmptyReport0
testCreation0
testReport0.005
testInvalidFile0.001

FormatterTest

testNull0.011

AbstractXmlRuleTest

testVisit0.109

RuleSetWriterTest

testWrite0.006

BasicJsfRulesTest

testAll0.238

ASTFormalParameterTest

testVarargs0.001

PMDASMClassLoaderTest

testLoadClassWithImportOnDemand0.001
testClassWithImportInnerOnDemand0.002
testCachingOfNotFoundClasses0.001

DoublePropertyTest

testConstructors0.003
testAsDelimitedString0.004
testValueFrom0.003
testErrorFor0.001
testErrorForBad0.002
testType0.001

SimpleNodeTest

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

DAAPathFinderTest

testTwoUpdateDefs0.168

FortranTokenizerTest

tokenizeTest0.007

CPDTest

testFileSectionWithBrokenSymlinks0.017
testFileAddedAsSymlinkAndReal0.004
testFileAddedWithRelativePath0.003

ParserOptionsTest

testEqualsHashcode0
testSuppressMarker0.001

AcceptanceTest

testbook0.004
testLabelledBreakLockup0.009
test_10.004
test_20.008
test_30.008
test_40.006
test_60.007
test_70.008
test_80.005
test_90.005
test_100.015
test_110.005
test_120.006
test_130.006
test_140.009
test_150.006
test_160.009
test_170.009
test_180.012
test_190.007
test_200.008
test_210.009
test_220.008
test_230.006
test_240.01
test_250.008
test_260.008
test_270.007
test_280.009
test_290.006
test_300.007

AndroidRulesTest

testAll0.02

ASTLiteralTest

testIsNotStringLiteral0.01
testIsIntIntLiteral0.003
testIsIntLongLiteral0.001
testIsFloatFloatLiteral0.001
testIsFloatDoubleLiteral0.001
testIsCharLiteral0.002
testIsStringLiteral0.001

BasicRulesTest

testAll0.616

RuleSetFactoryTest

testMultipleRules0.003
testSingleRuleWithPriority0.003
testProps0.004
testXPath0.004
testFacadesOffByDefault0.003
testDFAFlag0.004
testExternalReferenceOverride0.004
testReferenceInternalToInternal0.004
testReferenceInternalToInternalChain0.006
testReferenceInternalToExternal0.005
testReferenceInternalToExternalChain0.007
testReferencePriority0.02
testOverrideMessage0.002
testOverrideMessageOneElem0.003
testIncorrectExternalRef0.002
testSetPriority0.002
testLanguage0.001
testIncorrectLanguage0.002
testMinimumLanugageVersion0.002
testIncorrectMinimumLanugageVersion0.001
testMaximumLanugageVersion0.002
testIncorrectMaximumLanugageVersion0.002
testInvertedMinimumMaximumLanugageVersions0.002
testDirectDeprecatedRule0.002
testReferenceToDeprecatedRule0.004
testRuleSetReferenceWithDeprecatedRule0.025
testExternalReferences0.005
testIncludeExcludePatterns0.003
testAllPMDBuiltInRulesMeetConventions0.085
testXmlSchema0.55
testDtd0.431
testReadWriteRoundTrip1.999
testRuleSetFileName0.027
testNoRuleSetFileName0.002
testRefs0.013
testExtendedReferences0.1
testRuleSetNotFound0.001
testCreateEmptyRuleSet0.011
testSingleRule0.002

PMDTaskTest

testClasspath0.692
testNoFormattersValidation0.639
testFormatterWithNoToFileAttribute0.318
testNoRuleSets0.155
testNestedRuleset0.533
testFormatterWithProperties0.303
testAbstractNames0.253
testAbstractNamesInNestedRuleset0.37
testCommaInRulesetfiles0.222
testRelativeRulesets0.156
testRelativeRulesetsInRulesetfiles0.18
testBasic0.065
testInvalidLanguageVersion0.035
testExplicitRuleInRuleSet0.083
testEcmascript0.08
testXML0.034

AvoidDuplicateLiteralsRuleTest

testAll0.042
testStringParserEmptyString0.001
testStringParserSimple0.001
testStringParserEscapedChar0
testStringParserEscapedEscapedChar0

ASTBooleanLiteralTest

testFalse0.002
testTrue0.002

YAHTMLRendererTest

testError0.011
testNullPassedIn0.002
testRenderer0.004
testRendererEmpty0.002
testRendererMultiple0.003

MetricTest

testGetMetricName0.001
testGetCount0
testGetTotal0
testGetLowValue0
testGetHighValue0.001
testGetAverage0
testGetStandardDeviation0

UnnecessaryRulesTest

testAll0.261

CSVRendererTest

testError0.002
testNullPassedIn0
testRenderer0.001
testRendererEmpty0.002
testRendererMultiple0.002

AnyTokenizerTest

testMultiLineMacros0

VBHTMLRendererTest

testError0.001
testNullPassedIn0.002
testRenderer0.001
testRendererEmpty0
testRendererMultiple0.001

EcmascriptTokenizerTest

test10.001
test20.001

XMLRendererTest

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

StrictExceptionRulesTest

testAll0.216

EnumeratedPropertyTest

testConstructors0.002
testAsDelimitedString0.016
testValueFrom0
testErrorFor0
testErrorForBad0.006
testType0.002

XMLRendererTest

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

BasicRulesTest

testAll3.348

UncommentedEmptyMethodRuleTest

testAll0.04

ASTLocalVariableDeclarationTest

testSingleDimArray0.001
testMultDimArray0.001
testMultDimArraySplitBraces0.001

VariableUsageFinderFunctionTest

testLookingForUsed0.001

UnusedCodeRulesTest

testAll0.218

MatchesFunctionTest

testNoMatch0.01
testMatch0

BooleanPropertyTest

testErrorForBad0.001
testConstructors0.002
testAsDelimitedString0.002
testValueFrom0.001
testErrorFor0.001
testType0.002

BracesRulesTest

testAll0.215

MigratingRulesTest

testAll0.251

ContinuationReaderTest

testHappyPath0.002

SummaryHTMLRendererTest

testError0.003
testNullPassedIn0.001
testRenderer0.003
testRendererEmpty0.001
testRendererMultiple0.002

VariableAccessTest

testGetVariableName0

CyclomaticComplexityTest

testConstructor0.004
testNastyComplicatedMethod0.006
testLessComplicatedThanReportLevel0.005
testRemainingTestCases0.029
testOneMethod0.004

SourceCodeTest

testSimple0

ReportTest

testBasic0.001
testMetric00.001
testMetric10
testExclusionsInReportWithRuleViolationSuppressRegex0.002
testExclusionsInReportWithRuleViolationSuppressXPath0.001
testExclusionsInReportWithAnnotations0.001
testExclusionsInReportWithNOPMD0.01
testSortedReport_File0.001
testSortedReport_Line0.001
testListener0
testSummary0.001
testTreeIterator0

MatchAlgorithmTest

testSimple0.001
testIgnore0

MethodScopeTest

testMethodName0
testGenerics0.001
testMethodParameterOccurrenceRecorded0.001

FinalizersRulesTest

testAll0.061

DataFlowNodeTest

testAddPathToChild0.003
testRemovePathToChild0.001
testRemovePathWithNonChild0.001
testReverseParentPathsTo0.005
testSetType0

JavabeansRulesTest

testAll0.119

ViolationNodeTest

testEqualsNodeWithTwoDifferentViolationsDifferentVariableName0.287
testEqualsNodeWithTwoDifferentViolationsDifferentFilename0.002
testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine0.002
testEqualsNodeWithTwoDifferentViolationsDifferentEndLine0.002
testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn0.004
testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn0.003
testEqualsNodeWithTwoEqualViolations0.003

AttributeAxisIteratorTest

testAttributeAxisIterator0.004

IntegerPropertyTest

testErrorForBad0.001
testConstructors0.004
testAsDelimitedString0.003
testValueFrom0.002
testErrorFor0.002
testType0.011

StatementAndBraceFinderTest

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

CloneMethodMustImplementCloneableTest

testAll0.001

TextRendererTest

testError0.001
testNullPassedIn0.001
testRenderer0.002
testRendererEmpty0.001
testRendererMultiple0.001

RuleSetReferenceIdTest

testOneSimpleRuleSet0.01
testMultipleSimpleRuleSet0.001
testOneReleaseRuleSet0.001
testOneFullRuleSet0.001
testOneFullRuleSetURL0.002
testMultipleFullRuleSet0.002
testMixRuleSet0.001
testUnknownRuleSet0.001
testUnknownAndSimpleRuleSet0.001
testSimpleRuleSetAndRule0
testFullRuleSetAndRule0.001
testFullRuleSetURLAndRule0.001
testInternalRuleSetAndRule0.001
testCommaInSingleId0.001
testInternalWithInternal0.001
testExternalWithExternal0.001
testExternalWithInternal0.001
testInteralWithExternal0.001
testEmptyRuleSet0
testInternalWithExternalRuleSet0.001

ControversialRulesTest

testAll0.882

UncommentedEmptyConstructorRuleTest

testDefault0.076
testIgnoredConstructorInvocation0.014
testAll0.006

CouplingRulesTest

testAll0.109

J2EERulesTest

testAll0.306

OpenTagRegisterTest

testSimpleNesting0.001
doubleNesting0
unopenedTags0.001
interleavedTags0
openedIsolatedTag0.001

MethodDeclTest

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

ASTBlockStatementTest

testIsAllocation0.001
testIsAllocation20.001

RuleReferenceTest

testNotOverride0.001
testRuleSetReference0
testOverride0

ParserCornersTest

testCastLookaheadProblem0.001
testGenericsProblem0.001
testParsersCases0.008
testGetFirstASTNameImageNull0.001

ASTVariableDeclaratorIdTest

testTypeNameNode0.001
testIsExceptionBlockParameter0
testAnnotations0.001

ASTFieldDeclarationTest

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

XPathRulesTest

testAll0.052

LooseCouplingTest

testAll0.038

ASTSwitchLabelTest

testDefaultOff0.002
testDefaultSet0.002

RuleViolationComparatorTest

testComparator0.001

ASTPackageDeclarationTest

testPackageName0.014

PapariTextRendererTest

testError0.002
testNullPassedIn0.001
testRenderer0.003
testRendererEmpty0.001
testRendererMultiple0.003

RegexStringFilterTest

testFilterAbsoluteWithExtension0
testFilterAbsoluteWithoutExtension0
testFilterRelativeWithExtension0
testFilterRelativeWithoutExtension0
testEndsWith0.001

ClassTypeResolverTest

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

StringUtilTest

testReplaceWithMultipleChars0
testReplaceStringWithString0
testReplaceStringWithString20.007
testReplaceWithNull0
testUTF8NotSupported0
testUTF8Supported0
testReplaceWithOneChar0

DesignRulesTest

testAll4.752

ApplierTest

testSimple0

JavaTokensTokenizerTest

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

RubyTokenizerTest

tokenizeTest0

EmptyRulesTest

testAll0.371

LoggingJavaRulesTest

testAll0.042

EmacsRendererTest

testError0.01
testNullPassedIn0.001
testRenderer0.001
testRendererEmpty0.001
testRendererMultiple0.001

MethodPropertyTest

testAsStringOn0.022
testAsMethodOn0.002
testConstructors0.002
testAsDelimitedString0.004
testValueFrom0.004
testErrorFor0.001
testErrorForBad0.002
testType0.002

ConfigurationTest

testClassLoader0.001
testSuppressMarker0
testThreads0.001
testLanguageVersionDiscoverer0.001
testRuleSets0
testMinimumPriority0.001
testSourceEncoding0.001
testInputPaths0
testReportShortNames0
testReportFormat0.001
testCreateRenderer0.001
testReportFile0
testShowSuppressedViolations0.005
testReportProperties0
testDebug0
testStressTest0
testBenchmark0

XSLTRendererTest

testDefaultStylesheet0.896

ASTAnnotationTest

testAnnotationSucceedsWithDefaultMode0.001
testAnnotationFailsWithJDK140
testAnnotationSucceedsWithJDK150.001

AttributeAxisIteratorTest

testRemove0.007

CPPTokenizerTest

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

AbstractRuleTest

testEquals10.01
testEquals20.001
testEquals30.001
testEquals40.001
testEquals50.001
testEquals60
testEquals70
testEquals80.001
testEquals90.005
testEquals100.001
testCreateRV0.001
testCreateRV20.001
testRuleWithVariableInMessage0.002
testRuleSuppress0.003

ASTThrowStatementTest

testGetFirstASTNameImageNew0.002
testGetFirstASTNameImageNull0.001

CharacterPropertyTest

testErrorForBad0.001
testConstructors0.001
testAsDelimitedString0.001
testValueFrom0.001
testErrorFor0.002
testType0.001

MatchTest

testSimple0
testCompareTo0

TooManyHttpFilterTest

testDefault0
testAll0.001

ConfusingTernaryRuleTest

testAll0.041

SourceFileScopeTest

testPackageIsEmptyString0.001
testPackageNameFound0.001
testNestedClasses0
testClassDeclAppears0

ASTInitializerTest

testDontCrashOnBlockStatement0.001

JunitRulesTest

testAll0.334

MethodNameDeclarationTest

testEquality0.001

OptimizationsRulesTest

testAll0.494

SuppressWarningsTest

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

EcmascriptParserTest

testLineNumbers0.202

ReadableDurationTest

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

LanguageVersionTest

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

CommentRulesTest

testAll0.04

DateTimeUtilTest

testConversions0

AccessNodeTest

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

TokenEntryTest

testSimple0

FileSelectorTest

testWantedFile0
testUnwantedFile0
testUnwantedJavaFile0

AbstractDomXmlRuleTest

dtdIsNotLookedUp0.088
xsdIsNotLookedUp0.004
testVisit0.091

HTMLRendererTest

testError0.001
testNullPassedIn0
testRenderer0.002
testRendererEmpty0
testRendererMultiple0.001

CompoundListTest

testHappyPath0.001
testHappyPathRemove0
testEmpty0
testEmptyBadNext0.001
testEmptyBadRemove0

UnnecessaryRulesTest

testAll1.024

TypePropertyTest

testConstructors0.015
testAsDelimitedString0
testValueFrom0
testErrorFor0
testErrorForBad0.006
testType0

FloatPropertyTest

testConstructors0.004
testAsDelimitedString0.006
testValueFrom0.002
testErrorFor0.002
testErrorForBad0.001
testType0.009

ImportsRulesTest

testAll0.179

AcceptanceTest

testInitializer0.001
testCatchBlocks0.001
testEq0.001
testClashingSymbols0.001
testFieldFinder0.001
testDemo0.001
testEnum0.001
testInnerOuterClass0.001

ASTMethodDeclarationTest

testGetVariableName0.001

LanguageFactoryTest

testSimple0.003

CodesizeRulesTest

testAll0.232

BasicRulesTest

testAll0.59

GeneralFiddlingTest

test10.02

JDKVersionTest

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

RegexpAcceptanceTest

testSimple0.001
testAll0

ASTAssignmentOperatorTest

testSimpleAssignmentRecognized0.002
testCompoundAssignmentPlusRecognized0.001
testCompoundAssignmentMultRecognized0.001

SunSecureRulesTest

testAll0.135

StringPropertyTest

testConstructors0.001
testAsDelimitedString0
testValueFrom0
testErrorFor0
testErrorForBad0.002
testType0.003

TextPadRendererTest

testError0.001
testNullPassedIn0.001
testRenderer0.001
testRendererEmpty0
testRendererMultiple0.001

ASTImportDeclarationTest

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

PMDCoverageTest

testPmdOptions4.374
testResourceFileCommands28.047

CLITest

minimalArgs0.053
usingDebug0.055
changeJavaVersion0.06
useEcmaScript0.01

BracesRulesTest

testAll0.156

RuleContextTest

testReport0
testSourceCodeFilename0
testSourceCodeFile0
testAttributes0
testSharedAttributes0

ConstructorCallsOverridableMethodTest

testAll0.285

SourceCodePositionerTest

testLineNumberFromOffset0

StructureTest

testAddResultsinDFANodeContainingAddedNode0.001

ScopeCreationVisitorTest

testScopesAreCreated0.001

TypeSetTest

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

JspPageStyleTest

testDirective0.034
testComment0.003
testExpressionInAttribute0.006
testElExpression0.003
testElExpressionInAttribute0.002
testJsfValueBinding0.003
testDeclaration0.003
testScriptlet0.006
testExpression0.006

LoggingJakartaCommonsRulesTest

testAll0.066

SignatureDeclareThrowsExceptionTest

testAll0.033

DocumentNavigatorTest

testXPath0.003
testXPath20.004
testChildAxisIterator0.002
testParentAxisIterator0.013
testParentAxisIterator20.002
testDescendantAxisIterator0.009
testDescendantAxisIterator20.003
testFollowingSiblingAxisIterator0.003
testFollowingSiblingAxisIterator20.003
testPrecedingSiblingAxisIterator0.004
testPrecedingSiblingAxisIterator20.003

LanguageVersionDiscovererTest

testJspFile0
testJavaFileUsingDefaults0
testJavaFileUsing150.008

JspDocStyleTest

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

XPathJspRuleTest

testExpressionMatching0.132

ClassDeclTest

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

ExcludeLinesTest

testAcceptance0.007
testAlternateMarker0.005

ASTPrimarySuffixTest

testArrayDereference0.001
testArguments0.002

XPathRuleTest

testPluginname0
testVariables0.001

IDEAJRendererTest

testError0.002
testNullPassedIn0.001
testRenderer0.002
testRendererEmpty0.001
testRendererMultiple0.001

RuleSetTest

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

StringsRulesTest

testAll1.312

NameOccurrencesTest

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

PropertyAccessorTest

testIntegers0.012
testBooleans0.002
testFloats0.004
skipped
testStrings0.004
testAll0.002

XmlParserOptionsTest

testEqualsHashcode0.005
testDefaults0.001
testConstructor0.001
testSetters0.001

NamingRulesTest

testAll0.323

GlobalScopeTest

testClassDeclAppears0
testEnums0

ImageFinderFunctionTest

testSingleImage0.001
testSeveralImages0

ClassScopeTest

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

LocalScopeTest

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

EcmascriptParserOptionsTest

testEqualsHashcode0.005
testDefaults0
testConstructor0
testSetters0.001

BasicRulesTest

testAll0.082

UnusedImportsTest

testAll0.048

CloneRulesTest

testAll0.245

NPathComplexityTest

testViolationMessage0.026
testReturnValueComplexity0.009

VariableNameDeclarationTest

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

AttributeTest

testConstructor0.008

FieldDeclTest

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

TypeMapTest

testAddClassOfQ0
testContainsClassOfQ0.001
testContainsString0
testTypeFor0.001
testSize0

Failure Details

[Summary] [Package List] [Test Cases]


xml.java-design.UseVarargs:method\u002C do not varargs as the signature is dictated by an interface\n\/\/ TODO Once this is implemented\u002C perhaps it should be optional? The compiler will technically let you use varargs.
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
xml.java-sunsecure.MethodReturnsInternalArray:3220206: False positive using a ternary operator
skipped: skipped
xml.java-strings.ConsecutiveLiteralAppends:43\u002C Using variable char array
skipped: skipped
testFloats
skipped: skipped