Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/rest/modules/healthcheck/business/HealthCheckResponseBuilder.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/CpuUsageCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/rs/Constants.java
Rule |
Violation |
Ligne |
ClassNamingConventions |
The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
39–69 |
fr/paris/lutece/plugins/rest/modules/healthcheck/service/HealthCheckService.java
Priority 3
fr/paris/lutece/plugins/rest/modules/healthcheck/business/HealthCheckResponseBuilder.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/LuteceHealthCheckResponseProvider.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/CpuUsageCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/DBCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/DBCheckDAO.java
Rule |
Violation |
Ligne |
AvoidCatchingGenericException |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
68 |
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/ForcedStatusCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/MemoryUsageCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/rs/Constants.java
Rule |
Violation |
Ligne |
ShortVariable |
Avoid variables with short names like ID |
45 |
fr/paris/lutece/plugins/rest/modules/healthcheck/rs/SwaggerRest.java
fr/paris/lutece/plugins/rest/modules/healthcheck/service/HealthCheckService.java
Fichiers
fr/paris/lutece/plugins/rest/modules/healthcheck/business/HealthCheckResponseBuilder.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/LuteceHealthCheckResponseProvider.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/CpuUsageCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/DBCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/DBCheckDAO.java
Rule |
Violation |
Priority |
Ligne |
AvoidCatchingGenericException |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
3 |
68 |
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/ForcedStatusCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/business/impl/MemoryUsageCheck.java
fr/paris/lutece/plugins/rest/modules/healthcheck/rs/Constants.java
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–69 |
ShortVariable |
Avoid variables with short names like ID |
3 |
45 |
fr/paris/lutece/plugins/rest/modules/healthcheck/rs/SwaggerRest.java
fr/paris/lutece/plugins/rest/modules/healthcheck/service/HealthCheckService.java