Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/mytasks/business/MyTaskDAO.java

Violation Ligne
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 174
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 175

fr/paris/lutece/plugins/mytasks/business/portlet/MyTasksPortlet.java

Violation Ligne
It is a good practice to call super() in a constructor 7779
Avoid unnecessary constructors - the compiler will generate these for you 7779
Document empty constructor 7779
Document empty method 149150
Document empty method 156157

fr/paris/lutece/plugins/mytasks/business/portlet/MyTasksPortletDAO.java

Violation Ligne
Document empty method 5051
Document empty method 5758
Document empty method 7576

fr/paris/lutece/plugins/mytasks/business/portlet/MyTasksPortletHome.java

Violation Ligne
It is a good practice to call super() in a constructor 6163
Avoid unnecessary constructors - the compiler will generate these for you 6163
Document empty constructor 6163
Singleton is not thread safe 7174

fr/paris/lutece/plugins/mytasks/service/MyTasksResourceIdService.java

Violation Ligne
It is a good practice to call super() in a constructor 6265
Avoid variables with short names like rt 72
Avoid variables with short names like p 78

fr/paris/lutece/plugins/mytasks/service/MyTasksService.java

Violation Ligne
It is a good practice to call super() in a constructor 7678
Use block level rather than method level synchronization 93101
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 273

fr/paris/lutece/plugins/mytasks/service/parameter/MyTasksParameterService.java

Violation Ligne
Use block level rather than method level synchronization 6270
Document empty method 7677

fr/paris/lutece/plugins/mytasks/service/portlet/MyTasksPortletService.java

Violation Ligne
Singleton is not thread safe 5760
Document empty method 6970

fr/paris/lutece/plugins/mytasks/web/MyTasksAdminDashboardComponent.java

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

fr/paris/lutece/plugins/mytasks/web/MyTasksApp.java

Violation Ligne
The class 'MyTasksApp' has a Cyclomatic Complexity of 4 (Highest = 10). 71500
Private field '_myTasksService' could be made final; it is only initialized in the declaration or constructor. 117
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 171
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 203
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 243
The method 'doAddMyTask' has a Cyclomatic Complexity of 10. 315372

fr/paris/lutece/plugins/mytasks/web/portlet/MyTasksPortletJspBean.java

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