Le document suivant contient les résultats de PMD 5.3.5.
| Violation | Ligne |
|---|---|
| Private field '_driver' could be made final; it is only initialized in the declaration or constructor. | 54 |
| Private field '_url' could be made final; it is only initialized in the declaration or constructor. | 55 |
| Private field '_user' could be made final; it is only initialized in the declaration or constructor. | 56 |
| Private field '_pwd' could be made final; it is only initialized in the declaration or constructor. | 57 |
| New exception is thrown in catch block, original stack trace may be lost | 93 |
| New exception is thrown in catch block, original stack trace may be lost | 98 |
| New exception is thrown in catch block, original stack trace may be lost | 123 |
| Violation | Ligne |
|---|---|
| Avoid variables with short names like st | 79 |
| Ensure that resources like this Statement object are closed after use | 79 |
| Ensure that resources like this Statement object are closed after use | 97 |
| Avoid variables with short names like st | 97 |
| Ensure that resources like this Statement object are closed after use | 116 |
| Avoid variables with short names like st | 116 |
| Ensure that resources like this Statement object are closed after use | 135 |
| Avoid variables with short names like st | 135 |
| Avoid variables with short names like st | 153 |
| Ensure that resources like this Statement object are closed after use | 153 |
| Ensure that resources like this Statement object are closed after use | 171 |
| Avoid variables with short names like st | 171 |
| Avoid variables with short names like st | 191 |
| Ensure that resources like this Statement object are closed after use | 191 |
| Avoid variables with short names like rs | 198 |
| Ensure that resources like this ResultSet object are closed after use | 198 |
| Ensure that resources like this Statement object are closed after use | 219 |
| Avoid variables with short names like st | 219 |
| Avoid variables with short names like rs | 226 |
| Ensure that resources like this ResultSet object are closed after use | 226 |
| Violation | Ligne |
|---|---|
| The class 'Replication' has a Modified Cyclomatic Complexity of 3 (Highest = 11). | 51–482 |
| The class 'Replication' has a Cyclomatic Complexity of 3 (Highest = 17). | 51–482 |
| Too many fields | 51–482 |
| The class 'Replication' has a Standard Cyclomatic Complexity of 3 (Highest = 11). | 51–482 |
| The method 'replicate' has a Modified Cyclomatic Complexity of 11. | 224–319 |
| The method replicate() has an NPath complexity of 1344 | 224–319 |
| The method 'replicate' has a Cyclomatic Complexity of 17. | 224–319 |
| The method 'replicate' has a Standard Cyclomatic Complexity of 11. | 224–319 |
| New exception is thrown in catch block, original stack trace may be lost | 251 |
| New exception is thrown in catch block, original stack trace may be lost | 251 |
| New exception is thrown in catch block, original stack trace may be lost | 251 |
| New exception is thrown in catch block, original stack trace may be lost | 317 |
| New exception is thrown in catch block, original stack trace may be lost | 355 |
| New exception is thrown in catch block, original stack trace may be lost | 373 |
| New exception is thrown in catch block, original stack trace may be lost | 391 |
| New exception is thrown in catch block, original stack trace may be lost | 409 |
| New exception is thrown in catch block, original stack trace may be lost | 430 |
| New exception is thrown in catch block, original stack trace may be lost | 453 |
| Avoid instantiating Long objects.Call Long.valueOf() instead | 469 |
| New exception is thrown in catch block, original stack trace may be lost | 474 |
| New exception is thrown in catch block, original stack trace may be lost | 479 |
| Violation | Ligne |
|---|---|
| Consider using varargs for methods or constructors which take an array the last parameter. | 62 |
| Violation | Ligne |
|---|---|
| Avoid using Literals in Conditional Statements | 56 |
| Avoid using Literals in Conditional Statements | 72 |
| Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 77 |
| Avoid using Literals in Conditional Statements | 90 |
| Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 95 |
| Violation | Ligne |
|---|---|
| Avoid variables with short names like t | 229 |