Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/dataviz/business/IStatDAO.java

Violation Ligne
Avoid unused imports such as 'java.util.Collection' 39
Avoid unused imports such as 'java.util.Collection' 39

fr/paris/lutece/plugins/dataviz/business/Stat.java

Violation Ligne
Avoid short class names like Stat 42121
Avoid variables with short names like id 81

fr/paris/lutece/plugins/dataviz/business/StatDAO.java

Violation Ligne
Avoid unused imports such as 'java.util.ArrayList' 42
Avoid unused imports such as 'java.util.ArrayList' 42
Avoid unused imports such as 'java.util.Collection' 43
Avoid unused imports such as 'java.util.Collection' 43
This statement may have some unnecessary parentheses 203

fr/paris/lutece/plugins/dataviz/business/StatHome.java

Violation Ligne
Avoid unused imports such as 'java.util.Collection' 40
Avoid unused imports such as 'java.util.Collection' 40

fr/paris/lutece/plugins/dataviz/service/StatsService.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.IStat' 9
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.IStat' 9
A class which only has private constructors should be final 2095
It is a good practice to call super() in a constructor 2628
Use block level rather than method level synchronization 3241
When doing a String.toLowerCase()/toUpperCase() call, use a Locale 62

fr/paris/lutece/plugins/dataviz/web/ManageStatJspBean.java

Violation Ligne
No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4254
Abstract classes should be named AbstractXXX 4254

fr/paris/lutece/plugins/dataviz/web/StatJspBean.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 77

fr/paris/lutece/plugins/dataviz/web/StatXPage.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 77

fr/paris/lutece/plugins/dataviz/web/rs/StatRest.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.Stat' 36
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.Stat' 36
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.StatHome' 37
Avoid unused imports such as 'fr.paris.lutece.plugins.dataviz.business.StatHome' 37
Avoid unused imports such as 'fr.paris.lutece.plugins.rest.util.json.JSONUtil' 39
Avoid unused imports such as 'fr.paris.lutece.plugins.rest.util.json.JSONUtil' 39
Avoid unused imports such as 'fr.paris.lutece.plugins.rest.util.xml.XMLUtil' 40
Avoid unused imports such as 'fr.paris.lutece.plugins.rest.util.xml.XMLUtil' 40
Avoid unused imports such as 'fr.paris.lutece.util.xml.XmlUtil' 41
Avoid unused imports such as 'fr.paris.lutece.util.xml.XmlUtil' 41
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 42
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 42
Avoid unused imports such as 'java.io.IOException' 43
Avoid unused imports such as 'java.io.IOException' 43
Avoid unused imports such as 'net.sf.json.JSONObject' 45
Avoid unused imports such as 'net.sf.json.JSONObject' 45
Avoid unused imports such as 'java.util.Collection' 47
Avoid unused imports such as 'java.util.Collection' 47
Avoid unused imports such as 'javax.ws.rs.DELETE' 48
Avoid unused imports such as 'javax.ws.rs.DELETE' 48
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.GET' 50
Avoid unused imports such as 'javax.ws.rs.GET' 50
Avoid unused imports such as 'javax.ws.rs.HeaderParam' 51
Avoid unused imports such as 'javax.ws.rs.HeaderParam' 51
Avoid unused imports such as 'javax.ws.rs.POST' 52
Avoid unused imports such as 'javax.ws.rs.POST' 52
Avoid unused imports such as 'javax.ws.rs.PathParam' 54
Avoid unused imports such as 'javax.ws.rs.PathParam' 54
Avoid unused imports such as 'javax.ws.rs.QueryParam' 55
Avoid unused imports such as 'javax.ws.rs.QueryParam' 55
Avoid unused imports such as 'javax.ws.rs.core.HttpHeaders' 56
Avoid unused imports such as 'javax.ws.rs.core.HttpHeaders' 56
Avoid unused imports such as 'javax.ws.rs.core.MediaType' 57
Avoid unused imports such as 'javax.ws.rs.core.MediaType' 57
Avoid unused imports such as 'javax.ws.rs.core.Response' 58
Avoid unused imports such as 'javax.ws.rs.core.Response' 58