Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.5.1.

Fichiers

fr/paris/lutece/plugins/accrochageff/business/FederationLinkHome.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.Plugin' 39
Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.Plugin' 39
Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 40
Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 40
Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 41
Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 41
Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 42
Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 42

fr/paris/lutece/plugins/accrochageff/rs/Constants.java

Violation Ligne
Avoid variables with short names like ID 45

fr/paris/lutece/plugins/accrochageff/rs/FederationLinkRest.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.LuteceUser' 40
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.LuteceUser' 40
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.SecurityService' 41
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.SecurityService' 41
Avoid unused imports such as 'javax.ws.rs.FormParam' 49
Avoid unused imports such as 'javax.ws.rs.FormParam' 49
Avoid unused imports such as 'javax.ws.rs.POST' 51
Avoid unused imports such as 'javax.ws.rs.POST' 51
Avoid unused imports such as 'javax.ws.rs.PUT' 52
Avoid unused imports such as 'javax.ws.rs.PUT' 52
The Logger variable declaration does not contain the static and final modifiers 69
A switch with less than three branches is inefficient, use a if statement instead. 8288
Avoid variables with short names like id 129
A switch with less than three branches is inefficient, use a if statement instead. 131137
Avoid variables with short names like id 149

fr/paris/lutece/plugins/accrochageff/service/FFApi.java

Violation Ligne
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 969

fr/paris/lutece/plugins/accrochageff/service/JsonUtil.java

Violation Ligne
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 53132

fr/paris/lutece/plugins/accrochageff/web/FederationLinkXPage.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.SecurityService' 47
Avoid unused imports such as 'fr.paris.lutece.portal.service.security.SecurityService' 47
Avoid unused private fields such as 'INFO_FEDERATIONLINK_REMOVED'. 94
Avoid declaring a variable if it is unreferenced before a possible exit point. 154
Avoid unused local variables such as 'bDelete'. 154