PMD Results
The following document contains the results of PMD 4.3.
Files
jline/AnsiWindowsTerminal.java
Violation | Line |
---|
Avoid empty catch blocks | 46 - 49 |
Avoid empty catch blocks | 61 - 63 |
jline/TerminalFactory.java
Violation | Line |
---|
Avoid unused imports such as 'jline.internal.Preconditions' | 17 |
jline/WindowsTerminal.java
Violation | Line |
---|
Too many static imports may lead to messy code | 9 - 378 |
Avoid unused imports such as 'jline.internal.Preconditions.checkNotNull' | 26 |
jline/console/ConsoleKeys.java
Violation | Line |
---|
Avoid empty catch blocks | 79 - 81 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 97 |
Avoid empty if statements | 127 - 129 |
Avoid empty if statements | 159 - 161 |
jline/console/ConsoleReader.java
Violation | Line |
---|
Avoid unused private fields such as 'isUnitTestInput'. | 135 |
Avoid modifying an outer loop incrementer in an inner loop for update expression | 748 - 753 |
Avoid empty if statements | 833 - 835 |
Avoid empty if statements | 849 - 850 |
These nested if statements could be combined | 1000 - 1020 |
Avoid empty while statements | 1503 - 1505 |
Avoid empty while statements | 1507 - 1509 |
Avoid empty while statements | 1515 - 1517 |
Avoid empty while statements | 1519 - 1521 |
Avoid unused private methods such as 'insert(int,CharSequence)'. | 1593 |
Avoid empty if statements | 1599 - 1601 |
Avoid empty while statements | 2236 - 2238 |
Avoid empty if statements | 3175 - 3177 |
Avoid unused private methods such as 'print(char...)'. | 3410 |
Avoid empty catch blocks | 3614 - 3616 |
jline/console/KeyMap.java
Violation | Line |
---|
Avoid empty if statements | 131 - 133 |
jline/console/KillRing.java
Violation | Line |
---|
These nested if statements could be combined | 76 - 79 |
These nested if statements could be combined | 98 - 101 |
jline/console/completer/CandidateListCompletionHandler.java
Violation | Line |
---|
Avoid empty while statements | 72 - 74 |
jline/console/history/MemoryHistory.java
Violation | Line |
---|
These nested if statements could be combined | 111 - 113 |
jline/internal/Configuration.java
Violation | Line |
---|
Avoid empty catch blocks | 68 - 70 |
jline/internal/InputStreamReader.java
Violation | Line |
---|
Avoid empty catch blocks | 255 - 257 |
jline/internal/ShutdownHooks.java
Violation | Line |
---|
Avoid empty catch blocks | 116 - 118 |
jline/internal/TerminalLineSettings.java
Violation | Line |
---|
Avoid unused private methods such as 'exec(String)'. | 184 |
Avoid empty catch blocks | 230 - 232 |
jline/internal/TestAccessible.java
Violation | Line |
---|
Too many static imports may lead to messy code | 9 - 33 |