Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
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 Line
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 Line
Document empty method 5051
Document empty method 5758
Document empty method 7576

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

Violation Line
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 Line
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 Line
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 Line
Use block level rather than method level synchronization 6270
Document empty method 7677

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

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

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

Violation Line
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 Line
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 Line
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