Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–89 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The constant name 'cityMinChars' doesn't match '[A-Z][A-Z_0-9]*' | 73 |
FieldNamingConventions | The constant name 'countryMinChars' doesn't match '[A-Z][A-Z_0-9]*' | 74 |
Rule | Violation | Ligne |
---|---|---|
BrokenNullCheck | Method call on object which may be null | 165–177 |
Rule | Violation | Ligne |
---|---|---|
ShortVariable | Avoid variables with short names like ID | 45 |
Rule | Violation | Ligne |
---|---|---|
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 84 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 121 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 173 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 201 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 211 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 238 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 275 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 302 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 339 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 372 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–89 |
ShortVariable | Avoid variables with short names like ID | 3 | 45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
FieldNamingConventions | The constant name 'cityMinChars' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 73 |
FieldNamingConventions | The constant name 'countryMinChars' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 74 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 3 | 84 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 3 | 121 |
BrokenNullCheck | Method call on object which may be null | 2 | 165–177 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 173 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 201 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 3 | 211 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 238 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 3 | 275 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 302 |
UnsynchronizedStaticFormatter | Static Formatter objects should be accessed in a synchronized manner | 3 | 339 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 372 |