The following document contains the results of PMD 6.29.0.
Rule | Violation | Line |
---|---|---|
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 289 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 310 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 341 |
Rule | Violation | Line |
---|---|---|
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 436 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 839 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 840 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 850 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 851 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 859–860 |
CloseResource | Ensure that resources like this StringReader object are closed after use | 900 |
Rule | Violation | Line |
---|---|---|
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 335 |
Rule | Violation | Line |
---|---|---|
CloseResource | Ensure that resources like this OutputStreamWriter object are closed after use | 177 |
Rule | Violation | Line |
---|---|---|
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 177 |
Rule | Violation | Line |
---|---|---|
CloseResource | Ensure that resources like this StringReader object are closed after use | 142 |
CloseResource | Ensure that resources like this StringReader object are closed after use | 265 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 54–58 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 60–64 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 77–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 89–91 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 94–96 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 104–106 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 108–110 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 62–66 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 68–72 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 86–89 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 98–100 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 103–105 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 113–115 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 117–119 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 58–62 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 64–68 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 81–84 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 93–95 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 98–100 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 108–110 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 112–114 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 61–65 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 67–71 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 84–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 96–98 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 101–103 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 111–113 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 116–118 |
Rule | Violation | Line |
---|---|---|
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 88 |
Rule | Violation | Line |
---|---|---|
CloseResource | Ensure that resources like this Writer object are closed after use | 66 |
CloseResource | Ensure that resources like this Writer object are closed after use | 82 |
CloseResource | Ensure that resources like this Writer object are closed after use | 98 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.net.URL' | 28 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'eu.simuline.octave.OctaveUtils' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.List' | 28 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.List' | 22 |
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 23 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.net.URL' | 4 | 28 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 436 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 839 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 840 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 850 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 851 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 859–860 |
CloseResource | Ensure that resources like this StringReader object are closed after use | 3 | 900 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 1 | 289 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 1 | 310 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 335 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 1 | 341 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'eu.simuline.octave.OctaveUtils' | 4 | 42 |
CloseResource | Ensure that resources like this OutputStreamWriter object are closed after use | 3 | 177 |
Rule | Violation | Priority | Line |
---|---|---|---|
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 177 |
Rule | Violation | Priority | Line |
---|---|---|---|
CloseResource | Ensure that resources like this StringReader object are closed after use | 3 | 142 |
CloseResource | Ensure that resources like this StringReader object are closed after use | 3 | 265 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 3 | 54–58 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 3 | 60–64 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 77–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 89–91 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 94–96 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 3 | 104–106 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 3 | 108–110 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.List' | 4 | 28 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 3 | 62–66 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 3 | 68–72 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 86–89 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 98–100 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 103–105 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 3 | 113–115 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 3 | 117–119 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 3 | 58–62 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 3 | 64–68 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 81–84 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 93–95 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 98–100 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 3 | 108–110 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 3 | 112–114 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'newL': the method is already in a final class | 3 | 61–65 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'initL': the method is already in a final class | 3 | 67–71 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'set': the method is already in a final class | 3 | 84–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 96–98 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setPlain': the method is already in a final class | 3 | 101–103 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'get': the method is already in a final class | 3 | 111–113 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getPlainString': the method is already in a final class | 3 | 116–118 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.List' | 4 | 22 |
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 4 | 23 |
Rule | Violation | Priority | Line |
---|---|---|---|
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 88 |
Rule | Violation | Priority | Line |
---|---|---|---|
CloseResource | Ensure that resources like this Writer object are closed after use | 3 | 66 |
CloseResource | Ensure that resources like this Writer object are closed after use | 3 | 82 |
CloseResource | Ensure that resources like this Writer object are closed after use | 3 | 98 |