Fork me on GitHub

Résultats PMD

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

Fichiers

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

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

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

Violation Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
Document empty method 5051

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

Violation Ligne
Use block level rather than method level synchronization 5664

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

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

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

Violation Ligne
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 Ligne
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 Ligne
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 Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 135