Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/form/modules/exportdatabase/business/EntryConfiguration.java

Violation Line
Singleton is not thread safe 7781

fr/paris/lutece/plugins/form/modules/exportdatabase/business/EntryConfigurationEntryRemovalListener.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 7174

fr/paris/lutece/plugins/form/modules/exportdatabase/business/EntryConfigurationHome.java

Violation Line
A class which only has private constructors should be final 47129

fr/paris/lutece/plugins/form/modules/exportdatabase/business/ExportdatabaseDAO.java

Violation Line
The class 'ExportdatabaseDAO' has a Cyclomatic Complexity of 2 (Highest = 13). 50350
The class 'ExportdatabaseDAO' has a Modified Cyclomatic Complexity of 2 (Highest = 13). 50350
The class 'ExportdatabaseDAO' has a Standard Cyclomatic Complexity of 2 (Highest = 13). 50350
Prefer StringBuffer over += for concatenating strings 232
Prefer StringBuffer over += for concatenating strings 236
Prefer StringBuffer over += for concatenating strings 240
Prefer StringBuffer over += for concatenating strings 243
Prefer StringBuffer over += for concatenating strings 246
Prefer StringBuffer over += for concatenating strings 247
Avoid unused method parameters such as 'listItems'. 259
Avoid unused method parameters such as 'plugin'. 259
Avoid unused method parameters such as 'plugin'. 273
The method 'getDaoFromReferenceList' has a Standard Cyclomatic Complexity of 13. 287337
The method getDaoFromReferenceList() has an NPath complexity of 2437500 287337
The method 'getDaoFromReferenceList' has a Modified Cyclomatic Complexity of 13. 287337
The method 'getDaoFromReferenceList' has a Cyclomatic Complexity of 13. 287337
Prefer StringBuffer over += for concatenating strings 295
Prefer StringBuffer over += for concatenating strings 296
Prefer StringBuffer over += for concatenating strings 298
Prefer StringBuffer over += for concatenating strings 299
Prefer StringBuffer over += for concatenating strings 301
Prefer StringBuffer over += for concatenating strings 302
Prefer StringBuffer over += for concatenating strings 306
Prefer StringBuffer over += for concatenating strings 308
Prefer StringBuffer over += for concatenating strings 311
Prefer StringBuffer over += for concatenating strings 312
Prefer StringBuffer over += for concatenating strings 313

fr/paris/lutece/plugins/form/modules/exportdatabase/business/ExportdatabaseHome.java

Violation Line
A class which only has private constructors should be final 67323
Avoid unused method parameters such as 'form'. 256
Avoid unused method parameters such as 'pluginForm'. 256
Prefer StringBuffer over += for concatenating strings 289
Prefer StringBuffer over += for concatenating strings 295

fr/paris/lutece/plugins/form/modules/exportdatabase/business/FormConfiguration.java

Violation Line
Singleton is not thread safe 6367

fr/paris/lutece/plugins/form/modules/exportdatabase/business/FormConfigurationFormRemovalListener.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 6871

fr/paris/lutece/plugins/form/modules/exportdatabase/business/FormConfigurationHome.java

Violation Line
A class which only has private constructors should be final 47112
Use explicit scoping instead of the default package private level 108111

fr/paris/lutece/plugins/form/modules/exportdatabase/business/ProcessorExportdatabase.java

Violation Line
The class 'ProcessorExportdatabase' has a Modified Cyclomatic Complexity of 4 (Highest = 13). 67452
The class 'ProcessorExportdatabase' has a Cyclomatic Complexity of 5 (Highest = 19). 67452
The class 'ProcessorExportdatabase' has a Standard Cyclomatic Complexity of 4 (Highest = 13). 67452
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 119
Avoid declaring a variable if it is unreferenced before a possible exit point. 182
Avoid declaring a variable if it is unreferenced before a possible exit point. 185
The method 'doActionSetConfiguration' has a Standard Cyclomatic Complexity of 13. 263367
The method doActionSetConfiguration() has an NPath complexity of 16848 263367
The method 'doActionSetConfiguration' has a Cyclomatic Complexity of 19. 263367
The method 'doActionSetConfiguration' has a Modified Cyclomatic Complexity of 13. 263367
Avoid really long methods. 263367
Avoid declaring a variable if it is unreferenced before a possible exit point. 267
Avoid unused method parameters such as 'request'. 377
Avoid unused method parameters such as 'request'. 396
Avoid unused method parameters such as 'plugin'. 396
Avoid unused method parameters such as 'request'. 413

fr/paris/lutece/plugins/form/modules/exportdatabase/web/ExportdatabaseJspBean.java

Violation Line
JUnit 4 tests that execute tests should use the @Test annotation 6691