PMD Results

The following document contains the results of PMD 4.1.

Files

net/sf/eos/Experimental.java

Violation Line
Too many static imports may lead to messy code 16 - 43

net/sf/eos/Unsupported.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 24

net/sf/eos/analyzer/WhitespaceTokenizer.java

Violation Line
Overriding method merely calls super 119 - 121

net/sf/eos/analyzer/lucene/LuceneTokenizerWrapper.java

Violation Line
Unnecessary final modifier in final class 96 - 113

net/sf/eos/config/Configuration.java

Violation Line
An empty statement (semicolon) not part of a loop 42

net/sf/eos/config/FactoryMethod.java

Violation Line
An empty statement (semicolon) not part of a loop 43

net/sf/eos/entity/SimpleLongestMatchDictionaryBasedEntityRecognizer.java

Violation Line
Avoid unused private fields such as 'entities'. 52
These nested if statements could be combined 223 - 225

net/sf/eos/hadoop/mapred/EosDocumentSupportMapReduceBase.java

Violation Line
Overriding method merely calls super 127 - 129

net/sf/eos/hadoop/mapred/cooccurrence/DictionaryBasedEntityRecognizerMapReduceDriver.java

Violation Line
Avoid unused imports such as 'net.sf.eos.trie.TrieLoader' 21
Avoid unused imports such as 'org.apache.hadoop.util.GenericOptionsParser' 35

net/sf/eos/hadoop/mapred/cooccurrence/DictionaryBasedEntityRecognizerMapper.java

Violation Line
Overriding method merely calls super 219 - 221

net/sf/eos/hadoop/mapred/cooccurrence/DictionaryBasedEntityRecognizerReducer.java

Violation Line
Avoid unused imports such as 'net.sf.eos.config.ConfigurationKey.Type.CLASSNAME' 18
Overriding method merely calls super 196 - 198

net/sf/eos/hadoop/mapred/decompose/SentencerMapper.java

Violation Line
Overriding method merely calls super 171 - 173

net/sf/eos/hadoop/mapred/decompose/SentencerReducer.java

Violation Line
Avoid unused private fields such as 'LOG'. 47
Avoid unused private fields such as 'conf'. 52
Overriding method merely calls super 143 - 145

net/sf/eos/hadoop/mapred/index/FsDirectory.java

Violation Line
Avoid unused constructor parameters such as 'ioFileBufferSize'. 188 - 190
Avoid unused constructor parameters such as 'ioFileBufferSize'. 256 - 258

net/sf/eos/hadoop/mapred/index/IndexMapper.java

Violation Line
Avoid unused private fields such as 'conf'. 34
Overriding method merely calls super 55 - 57

net/sf/eos/hadoop/mapred/index/IndexReducer.java

Violation Line
Overriding method merely calls super 93 - 95

net/sf/eos/lucene/CommonDocument.java

Violation Line
Avoid unused imports such as 'net.sf.eos.document.EosDocument' 18

net/sf/eos/lucene/DefaultEosQuery.java

Violation Line
Avoid unused imports such as 'net.sf.eos.entity.CommonNameResolver' 34
Avoid unused local variables such as 'hits'. 160

net/sf/eos/lucene/DefaultLuceneEosLookup.java

Violation Line
Avoid unused private fields such as 'LOG'. 28

net/sf/eos/lucene/DirectorySupplier.java

Violation Line
Avoid unused imports such as 'net.sf.eos.config.ConfigurationException' 27

net/sf/eos/lucene/LuceneEosLookup.java

Violation Line
Avoid unused imports such as 'net.sf.eos.EosException' 23
Avoid unused imports such as 'net.sf.eos.config.Configuration' 24
Avoid unused imports such as 'net.sf.eos.config.FactoryMethod' 27
Avoid unused private fields such as 'LOG'. 38

net/sf/eos/lucene/SearcherSupplier.java

Violation Line
Avoid unused imports such as 'net.sf.eos.config.ConfigurationException' 27

net/sf/eos/search/SearchHolder.java

Violation Line
Avoid unused private fields such as 'meta'. 26
Avoid unused private fields such as 'userQuery'. 27

net/sf/eos/trie/PatriciaTrie.java

Violation Line
These nested if statements could be combined 230 - 233
An empty statement (semicolon) not part of a loop 742
An empty statement (semicolon) not part of a loop 762

net/sf/eos/util/SupplierFactory.java

Violation Line
Unnecessary final modifier in final class 35 - 46
Unnecessary final modifier in final class 57 - 65
Unnecessary final modifier in final class 78 - 85
Unnecessary final modifier in final class 99 - 120

net/sf/eos/util/functions/ConfigurationKeyIntrospectorFunction.java

Violation Line
Avoid empty catch blocks 142 - 145

net/sf/eos/util/functions/package-info.java

Violation Line
Avoid unused imports such as 'net.sf.eos.Experimental' 25