Yawg test utilities
Last Published: 2025-09-13
|
Version: 1.0.0-RC3-202509131159
Yawg test utilities
Parent Project
Yawg Project
Project Documentation
Project Information
Project Reports
Javadoc
Source Xref
Test Source Xref
Surefire
JaCoCo
Checkstyle
FindBugs
CPD
PMD
PMD Results
The following document contains the results of
PMD
6.29.0.
Violations By Priority
Priority 2
com/varmateo/testutils/LogStartAndEndRule.java
Rule
Violation
Line
SystemPrintln
System.out.println is used
51
SystemPrintln
System.out.println is used
63
Priority 3
com/varmateo/testutils/DirPathAssert.java
Rule
Violation
Line
LocalVariableCouldBeFinal
Local variable 'entries' could be declared final
52
–
56
LocalVariableCouldBeFinal
Local variable 'entries' could be declared final
70
–
75
com/varmateo/testutils/LogStartAndEndRule.java
Rule
Violation
Line
AtLeastOneConstructor
Each class should declare at least one constructor
17
–
70
AccessorMethodGeneration
Avoid autogenerated methods to access private fields and methods of inner / outer classes
34
LocalVariableCouldBeFinal
Local variable 'startTime' could be declared final
45
LocalVariableCouldBeFinal
Local variable 'testName' could be declared final
46
LocalVariableCouldBeFinal
Local variable 'startMsg' could be declared final
49
AvoidCatchingThrowable
A catch statement should never catch throwable since it includes errors.
55
–
57
LocalVariableCouldBeFinal
Local variable 'durationNanos' could be declared final
59
LocalVariableCouldBeFinal
Local variable 'durationMillis' could be declared final
60
LocalVariableCouldBeFinal
Local variable 'endMsg' could be declared final
61
Files
com/varmateo/testutils/DirPathAssert.java
Rule
Violation
Priority
Line
LocalVariableCouldBeFinal
Local variable 'entries' could be declared final
3
52
–
56
LocalVariableCouldBeFinal
Local variable 'entries' could be declared final
3
70
–
75
com/varmateo/testutils/LogStartAndEndRule.java
Rule
Violation
Priority
Line
AtLeastOneConstructor
Each class should declare at least one constructor
3
17
–
70
AccessorMethodGeneration
Avoid autogenerated methods to access private fields and methods of inner / outer classes
3
34
LocalVariableCouldBeFinal
Local variable 'startTime' could be declared final
3
45
LocalVariableCouldBeFinal
Local variable 'testName' could be declared final
3
46
LocalVariableCouldBeFinal
Local variable 'startMsg' could be declared final
3
49
SystemPrintln
System.out.println is used
2
51
AvoidCatchingThrowable
A catch statement should never catch throwable since it includes errors.
3
55
–
57
LocalVariableCouldBeFinal
Local variable 'durationNanos' could be declared final
3
59
LocalVariableCouldBeFinal
Local variable 'durationMillis' could be declared final
3
60
LocalVariableCouldBeFinal
Local variable 'endMsg' could be declared final
3
61
SystemPrintln
System.out.println is used
2
63