Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/myapps/business/MyApps.java

Violation Line
Abstract classes should be named AbstractXXX 47208
Avoid variables with short names like o 182

fr/paris/lutece/plugins/myapps/business/MyAppsUser.java

Violation Line
Abstract classes should be named AbstractXXX 40105
This abstract class does not have any abstract methods 40105

fr/paris/lutece/plugins/myapps/business/portlet/MyAppsPortlet.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 98100
It is a good practice to call super() in a constructor 98100
Document empty constructor 98100

fr/paris/lutece/plugins/myapps/business/portlet/MyAppsPortletHome.java

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

fr/paris/lutece/plugins/myapps/service/MyAppsManager.java

Violation Line
Private field '_listRegisteredProviders' could be made final; it is only initialized in the declaration or constructor. 55
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 55
Use block level rather than method level synchronization 6977

fr/paris/lutece/plugins/myapps/service/MyAppsPlugin.java

Violation Line
Document empty method 5051

fr/paris/lutece/plugins/myapps/service/MyAppsResourceIdService.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/myapps/service/MyAppsService.java

Violation Line
Use block level rather than method level synchronization 5664

fr/paris/lutece/plugins/myapps/service/parameter/MyAppsParameterService.java

Violation Line
Use block level rather than method level synchronization 5664
Document empty method 7071

fr/paris/lutece/plugins/myapps/service/portlet/MyAppsPortletService.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 5254
Document empty constructor 5254
Use block level rather than method level synchronization 6169

fr/paris/lutece/plugins/myapps/util/crypto/CryptoUtil.java

Violation Line
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 104
Avoid declaring a variable if it is unreferenced before a possible exit point. 129
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 152

fr/paris/lutece/plugins/myapps/web/MyAppsAdminDashboardComponent.java

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

fr/paris/lutece/plugins/myapps/web/MyAppsApp.java

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