PMD Results
The following document contains the results of PMD 4.3.
Files
goldengate/commandexec/client/LocalExecClientHandler.java
| Violation | Line |
|---|
| Avoid if (x != y) ..; else ..; | 120 - 124 |
goldengate/commandexec/client/test/LocalExecClientTest.java
| Violation | Line |
|---|
| Document empty constructor | 163 - 164 |
goldengate/commandexec/server/LocalExecServer.java
| Violation | Line |
|---|
| All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 40 - 81 |
goldengate/commandexec/server/LocalExecServerHandler.java
| Violation | Line |
|---|
| These nested if statements could be combined | 236 - 241 |
| Avoid empty catch blocks | 281 - 282 |
| Avoid empty catch blocks | 292 - 293 |
| Avoid empty catch blocks | 304 - 305 |
| Avoid empty catch blocks | 316 - 317 |
| Avoid empty catch blocks | 329 - 330 |
| Avoid empty catch blocks | 335 - 336 |
| Avoid returning from a finally block | 341 |
| Avoid empty if statements | 368 - 369 |
| Avoid empty if statements | 369 - 370 |
| These nested if statements could be combined | 379 - 381 |
goldengate/commandexec/ssl/client/test/LocalExecSslClient.java
| Violation | Line |
|---|
| Avoid if (x != y) ..; else ..; | 114 - 119 |
| Document empty constructor | 195 - 196 |
goldengate/commandexec/ssl/server/LocalExecSslServer.java
| Violation | Line |
|---|
| All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 41 - 108 |
| Deeply nested if..then statements are hard to read | 76 - 78 |
| Avoid if (x != y) ..; else ..; | 93 - 98 |
goldengate/commandexec/utils/LocalExecResult.java
| Violation | Line |
|---|
| Avoid if (x != y) ..; else ..; | 72 |