Le document suivant contient les résultats de PMD 5.3.5.
| Violation | Ligne |
|---|---|
| Method names should not contain underscores | 70 |
| Method names should not contain underscores | 78 |
| Violation | Ligne |
|---|---|
| Avoid variables with short names like id | 65 |
| Method names should not contain underscores | 137 |
| Method names should not contain underscores | 145 |
| Method names should not contain underscores | 169 |
| Method names should not contain underscores | 177 |
| Method names should not contain underscores | 201 |
| Method names should not contain underscores | 209 |
| Method names should not contain underscores | 217 |
| Method names should not contain underscores | 225 |
| Violation | Ligne |
|---|---|
| Method names should not contain underscores | 120 |
| Method names should not contain underscores | 128 |
| Method names should not contain underscores | 152 |
| Method names should not contain underscores | 160 |
| Method names should not contain underscores | 184 |
| Method names should not contain underscores | 192 |
| Avoid variables with short names like id | 208 |
| Violation | Ligne |
|---|---|
| This class has a bunch of public methods and attributes | 34–557 |
| Too many fields | 42–557 |
| Avoid variables with short names like id | 87 |
| Method names should not contain underscores | 143 |
| Method names should not contain underscores | 151 |
| Method names should not contain underscores | 303 |
| Method names should not contain underscores | 311 |
| Method names should not contain underscores | 319 |
| Method names should not contain underscores | 327 |
| Method names should not contain underscores | 335 |
| Method names should not contain underscores | 343 |
| Method names should not contain underscores | 351 |
| Method names should not contain underscores | 359 |
| Method names should not contain underscores | 367 |
| Method names should not contain underscores | 375 |
| Method names should not contain underscores | 399 |
| Method names should not contain underscores | 407 |
| Method names should not contain underscores | 415 |
| Method names should not contain underscores | 423 |
| Method names should not contain underscores | 431 |
| Method names should not contain underscores | 439 |
| Method names should not contain underscores | 495 |
| Method names should not contain underscores | 503 |
| Method names should not contain underscores | 511 |
| Method names should not contain underscores | 519 |
| Method names should not contain underscores | 527 |
| Method names should not contain underscores | 535 |
| Method names should not contain underscores | 543 |
| Method names should not contain underscores | 551 |
| Violation | Ligne |
|---|---|
| Method names should not contain underscores | 52 |
| Method names should not contain underscores | 60 |
| Method names should not contain underscores | 68 |
| Method names should not contain underscores | 76 |
| Method names should not contain underscores | 100 |
| Method names should not contain underscores | 108 |
| Violation | Ligne |
|---|---|
| This abstract class does not have any abstract methods | 40–76 |
| Abstract classes should be named AbstractXXX | 40–76 |
| Violation | Ligne |
|---|---|
| It is a good practice to call super() in a constructor | 54–59 |
| Avoid throwing raw exception types. | 56 |
| Violation | Ligne |
|---|---|
| Abstract classes should be named AbstractXXX | 41–60 |
| Violation | Ligne |
|---|---|
| The Logger variable declaration does not contain the static and final modifiers | 63 |
| Private field '_logger' could be made final; it is only initialized in the declaration or constructor. | 63 |
| debug logging that involves string concatenation should be guarded with isDebugEnabled() checks | 76 |
| A switch with less than three branches is inefficient, use a if statement instead. | 78–85 |
| debug logging that involves string concatenation should be guarded with isDebugEnabled() checks | 115 |
| A switch with less than three branches is inefficient, use a if statement instead. | 117–124 |
| String.indexOf(char) is faster than String.indexOf(String). | 141 |
| Violation | Ligne |
|---|---|
| Do not add empty strings | 136 |
| Violation | Ligne |
|---|---|
| When instantiating a SimpleDateFormat object, specify a Locale | 75 |
| When instantiating a SimpleDateFormat object, specify a Locale | 76 |
| Avoid really long methods. | 91–208 |
| Avoid variables with short names like po | 137 |
| Avoid using Literals in Conditional Statements | 159 |
| Avoid variables with short names like pr | 161 |
| Avoid using Literals in Conditional Statements | 168 |
| Avoid variables with short names like st | 182 |
| Avoid variables with short names like pr | 241 |
| Avoid variables with short names like pr | 259 |
| Static DateFormatter objects should be accessed in a synchronized manner | 325 |
| Static DateFormatter objects should be accessed in a synchronized manner | 326 |
| Violation | Ligne |
|---|---|
| Avoid variables with short names like sw | 63 |
| Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 69 |
| Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 92 |