PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
2841

Files

FilesViolations
org/zilverline/core/FileSystemCollection.java 1
org/zilverline/core/IMAPCollection.java 2
org/zilverline/core/IndexCommand.java 1
org/zilverline/core/ParsedFileInfo.java 1
org/zilverline/core/Result.java 1
org/zilverline/extractors/HTMLExtractor.java 1
org/zilverline/lucene/BoostFactor.java 1
org/zilverline/service/CollectionManagerImpl.java 2
org/zilverline/util/ClassFinder.java 2
org/zilverline/web/CollectionManagerValidator.java 1
org/zilverline/web/CollectionValidator.java 1
org/zilverline/web/EditCollectionController.java 3
org/zilverline/web/IndexDefaultsValidator.java 5
org/zilverline/web/SearchController.java 1
org/zilverline/web/SearchDefaultsController.java 1
org/zilverline/web/SearchForm.java 4
org/zilverline/web/SearchFormValidator.java 1
org/zilverline/web/SearchServiceValidator.java 1
org/zilverline/web/UploadForm.java 1
org/zilverline/core/TestIMAPCollection.java 1
org/zilverline/core/TestIndexException.java 1
org/zilverline/core/TestResult.java 1
org/zilverline/dao/xstream/TestCollectionXStreamDAOImpl.java 1
org/zilverline/extractors/TestFileInfoExtractor.java 1
org/zilverline/util/TestClassFinder.java 1
org/zilverline/util/TestUtils.java 1
org/zilverline/web/TestSearchController.java 2
org/zilverline/web/TestZilverController.java 1

org/zilverline/core/FileSystemCollection.java

ViolationLine
These nested if statements could be combined - details... 386

org/zilverline/core/IMAPCollection.java

ViolationLine
Avoid unused local variables such as 'lines' - details... 447
Avoid unused local variables such as 'size' - details... 462

org/zilverline/core/IndexCommand.java

ViolationLine
Avoid unused private fields such as 'log' - details... 49

org/zilverline/core/ParsedFileInfo.java

ViolationLine
Avoid unused private fields such as 'log' - details... 38

org/zilverline/core/Result.java

ViolationLine
Avoid unused private fields such as 'log' - details... 47

org/zilverline/extractors/HTMLExtractor.java

ViolationLine
These nested if statements could be combined - details... 170

org/zilverline/lucene/BoostFactor.java

ViolationLine
Avoid unused private fields such as 'log' - details... 65

org/zilverline/service/CollectionManagerImpl.java

ViolationLine
Avoid empty if statements - details... 401
These nested if statements could be combined - details... 656

org/zilverline/util/ClassFinder.java

ViolationLine
Avoid empty catch blocks - details... 326
Avoid empty catch blocks - details... 365

org/zilverline/web/CollectionManagerValidator.java

ViolationLine
These nested if statements could be combined - details... 58

org/zilverline/web/CollectionValidator.java

ViolationLine
Avoid unused local variables such as 'collection' - details... 43

org/zilverline/web/EditCollectionController.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator' - details... 23
Avoid unused imports such as 'java.util.List' - details... 24
Avoid unused imports such as 'org.springframework.validation.ObjectError' - details... 31

org/zilverline/web/IndexDefaultsValidator.java

ViolationLine
Avoid unused private fields such as 'log' - details... 40
These nested if statements could be combined - details... 57
These nested if statements could be combined - details... 63
These nested if statements could be combined - details... 69
These nested if statements could be combined - details... 75

org/zilverline/web/SearchController.java

ViolationLine
Unnecessary final modifier in final class - details... 72

org/zilverline/web/SearchDefaultsController.java

ViolationLine
Avoid unused local variables such as 'f' - details... 128

org/zilverline/web/SearchForm.java

ViolationLine
Unnecessary final modifier in final class - details... 141
Unnecessary final modifier in final class - details... 148
Unnecessary final modifier in final class - details... 155
Unnecessary final modifier in final class - details... 162

org/zilverline/web/SearchFormValidator.java

ViolationLine
These nested if statements could be combined - details... 60

org/zilverline/web/SearchServiceValidator.java

ViolationLine
Avoid unused local variables such as 'f' - details... 78

org/zilverline/web/UploadForm.java

ViolationLine
Avoid empty catch blocks - details... 59

org/zilverline/core/TestIMAPCollection.java

ViolationLine
Avoid unused private fields such as 'log' - details... 40

org/zilverline/core/TestIndexException.java

ViolationLine
Avoid unused private fields such as 'log' - details... 39

org/zilverline/core/TestResult.java

ViolationLine
Avoid unused local variables such as 'testString' - details... 115

org/zilverline/dao/xstream/TestCollectionXStreamDAOImpl.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException. - details... 76

org/zilverline/extractors/TestFileInfoExtractor.java

ViolationLine
Avoid unused private fields such as 'log' - details... 43

org/zilverline/util/TestClassFinder.java

ViolationLine
Avoid unused local variables such as 'clazz' - details... 67

org/zilverline/util/TestUtils.java

ViolationLine
Avoid unused private fields such as 'log' - details... 52

org/zilverline/web/TestSearchController.java

ViolationLine
Avoid unused private fields such as 'log' - details... 64
Avoid unused local variables such as 'col' - details... 132

org/zilverline/web/TestZilverController.java

ViolationLine
Avoid unused private fields such as 'log' - details... 45