PMD Results

The following document contains the results of PMD 6.53.0.

Violations By Priority

Priority 3

com/avcompris/util/junit/AvcFileAssert.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 1582

com/avcompris/util/junit/AvcMatchers.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 11209

com/avcompris/util/junit/JUnitUtils.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 218220

com/avcompris/util/reflect/AbstractLog4JLoggerTest.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 1217

com/avcompris/util/reflect/AbstractNonNullTest.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 11062
EmptyControlStatement Empty if statement 303308

Priority 4

com/avcompris/util/junit/AvcFileAssert.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Assert.fail' due to existing static import 'org.junit.Assert.fail' 212
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Assert.fail' due to existing static import 'org.junit.Assert.fail' 223

Files

com/avcompris/util/junit/AvcFileAssert.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 1582
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Assert.fail' due to existing static import 'org.junit.Assert.fail' 4 212
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Assert.fail' due to existing static import 'org.junit.Assert.fail' 4 223

com/avcompris/util/junit/AvcMatchers.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 11209

com/avcompris/util/junit/JUnitUtils.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 218220

com/avcompris/util/reflect/AbstractLog4JLoggerTest.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 1217

com/avcompris/util/reflect/AbstractNonNullTest.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 11062
EmptyControlStatement Empty if statement 3 303308