PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
com/github/hypfvieh/java/rtcompiler/BaseCompiler.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'sourceCharset' could be made final; it is only initialized in the declaration or constructor. |
64 |
com/github/hypfvieh/java/rtcompiler/listener/CompilerListener.java
com/github/hypfvieh/java/rtcompiler/resources/writer/FileResourceWriter.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'baseDir' could be made final; it is only initialized in the declaration or constructor. |
18 |
com/github/hypfvieh/java/rtcompiler/util/ByteArrayOutputStreamWithCallback.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'callback' could be made final; it is only initialized in the declaration or constructor. |
15 |
Priority 4
com/github/hypfvieh/java/rtcompiler/exception/CompileException.java
Files
com/github/hypfvieh/java/rtcompiler/BaseCompiler.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'sourceCharset' could be made final; it is only initialized in the declaration or constructor. |
3 |
64 |
com/github/hypfvieh/java/rtcompiler/exception/CompileException.java
com/github/hypfvieh/java/rtcompiler/listener/CompilerListener.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
99–100 |
com/github/hypfvieh/java/rtcompiler/resources/writer/FileResourceWriter.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'baseDir' could be made final; it is only initialized in the declaration or constructor. |
3 |
18 |
com/github/hypfvieh/java/rtcompiler/util/ByteArrayOutputStreamWithCallback.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'callback' could be made final; it is only initialized in the declaration or constructor. |
3 |
15 |