Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/document/modules/multirootindexers/business/indexeraction/MultiRootIndexerActionDAO.java

Violation Line
Avoid using Literals in Conditional Statements 364

fr/paris/lutece/plugins/document/modules/multirootindexers/service/indexers/MultiRootDocumentIndexer.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 34425
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 137
Avoid variables with short names like it 165
This statement may have some unnecessary parentheses 224
Position literals first in String comparisons for EqualsIgnoreCase 224
Avoid really long methods. 241345
Avoid variables with short names like ft 252
Prefer StringBuffer over += for concatenating strings 265
New exception is thrown in catch block, original stack trace may be lost 295
New exception is thrown in catch block, original stack trace may be lost 299
Avoid variables with short names like sb 304
Avoid appending characters as strings in StringBuffer.append. 365
Avoid appending characters as strings in StringBuffer.append. 383
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 397
Avoid appending characters as strings in StringBuffer.append. 397

fr/paris/lutece/plugins/document/modules/multirootindexers/service/indexers/MultiRootPageIndexer.java

Violation Line
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 79