PMD Results

The following document contains the results of PMD 7.6.0.

Violations By Priority

Priority 1

io/github/olyutorskii/ghmvnlibtmpl/Resource.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 12

Priority 2

io/github/olyutorskii/ghmvnlibtmpl/Entry.java

Rule Violation Line
SystemPrintln Usage of System.out/err 13

Priority 3

io/github/olyutorskii/ghmvnlibtmpl/Entry.java

Rule Violation Line
CommentRequired Class comments are required 8
UseUtilityClass This utility class has a non-private constructor 8
CommentRequired Public method and constructor comments are required 10

io/github/olyutorskii/ghmvnlibtmpl/JavaDoc.java

Rule Violation Line
CommentSize Comment is too large: Line too long 9
CommentSize Comment is too large: Line too long 10
FinalFieldCouldBeStatic This final field could be made static 24
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 29
UncommentedEmptyConstructor Document empty constructor 29
UncommentedEmptyMethodBody Document empty method body 7173
UselessOverridingMethod Overriding method merely calls super 84

io/github/olyutorskii/ghmvnlibtmpl/Lib.java

Rule Violation Line
CommentRequired Class comments are required 8
AtLeastOneConstructor Each class should declare at least one constructor 8
CommentRequired Public method and constructor comments are required 10

io/github/olyutorskii/ghmvnlibtmpl/Resource.java

Rule Violation Line
CommentRequired Class comments are required 12
CloseResource Ensure that resources like this InputStream object are closed after use 43

Priority 4

io/github/olyutorskii/ghmvnlibtmpl/Lib.java

Rule Violation Line
ShortClassName Avoid short class names like Lib 8

Files

io/github/olyutorskii/ghmvnlibtmpl/Entry.java

Rule Violation Priority Line
CommentRequired Class comments are required 3 8
UseUtilityClass This utility class has a non-private constructor 3 8
CommentRequired Public method and constructor comments are required 3 10
SystemPrintln Usage of System.out/err 2 13

io/github/olyutorskii/ghmvnlibtmpl/JavaDoc.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 9
CommentSize Comment is too large: Line too long 3 10
FinalFieldCouldBeStatic This final field could be made static 3 24
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 29
UncommentedEmptyConstructor Document empty constructor 3 29
UncommentedEmptyMethodBody Document empty method body 3 7173
UselessOverridingMethod Overriding method merely calls super 3 84

io/github/olyutorskii/ghmvnlibtmpl/Lib.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Lib 4 8
CommentRequired Class comments are required 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
CommentRequired Public method and constructor comments are required 3 10

io/github/olyutorskii/ghmvnlibtmpl/Resource.java

Rule Violation Priority Line
CommentRequired Class comments are required 3 12
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 12
CloseResource Ensure that resources like this InputStream object are closed after use 3 43