PMD Results
The following document contains the results of PMD 5.0.2.
Files
net/sf/atmodem4j/core/AbstractModem.java
Violation |
Line |
Avoid unused private fields such as 'lastEcho'. |
57 |
Avoid unused local variables such as 't'. |
150 |
Avoid empty if statements |
338 - 339 |
Avoid unused local variables such as 't'. |
437 |
Avoid empty if statements |
473 - 474 |
net/sf/atmodem4j/core/CallHandler.java
Violation |
Line |
Avoid modifiers which are implied by the context |
44 |
net/sf/atmodem4j/core/Connection.java
Violation |
Line |
Avoid modifiers which are implied by the context |
44 |
net/sf/atmodem4j/core/Modem.java
Violation |
Line |
Avoid modifiers which are implied by the context |
50 |
net/sf/atmodem4j/core/ModemFactory.java
Violation |
Line |
Avoid empty if statements |
52 - 54 |
Avoid empty if statements |
55 - 57 |
net/sf/atmodem4j/core/gsm/PduDecoder.java
Violation |
Line |
Useless parentheses. |
121 |
Avoid unused local variables such as 'userDataStart'. |
164 |
Avoid unused local variables such as 'refNumber'. |
170 |
Avoid unused local variables such as 'userDataHeaderALength'. |
171 |
Useless parentheses. |
222 |
net/sf/atmodem4j/core/gsm/PduEncoder.java
Violation |
Line |
Avoid unused private fields such as 'timeToLife'. |
53 |
net/sf/atmodem4j/core/gsm/PduSubmit.java
Violation |
Line |
Avoid unused imports such as 'java.util.Date' |
36 |
net/sf/atmodem4j/core/gsm/UserData.java
Violation |
Line |
Useless parentheses. |
54 |
These nested if statements could be combined |
157 - 159 |
Useless parentheses. |
273 - 274 |
Useless parentheses. |
273 |
Avoid unused private fields such as 'data'. |
327 |
net/sf/atmodem4j/core/parser/Parser.java
Violation |
Line |
Avoid unused private methods such as 'buildToken(String,char...)'. |
54 |
Avoid unused private fields such as 'os'. |
116 |
Avoid unused constructor parameters such as 'rxtxTimeoutEnabled'. |
235 |
Avoid empty catch blocks |
414 - 415 |
Avoid unused private methods such as 'matchResult(String)'. |
422 |