FindBugs Results

The following document contains the results of FindBugs.

Summary

Files Errors
20 37

Files

Files Violations
net.sf.jhunlang.jmorph.Affix 1
net.sf.jhunlang.jmorph.Conditions 2
net.sf.jhunlang.jmorph.RangeCondition 3
net.sf.jhunlang.jmorph.analysis.AffixCache 7
net.sf.jhunlang.jmorph.sword.SwordEntry 2
net.sf.jhunlang.jmorph.synth.Synthetizer$Morph 1
net.sf.jhunlang.jmorph.factory.JMorphFactory 1
net.sf.jhunlang.jmorph.analysis.consumer.InflexionConsumerManager 2
net.sf.jhunlang.jmorph.sword.parser.SwordAffixReader 2
net.sf.jhunlang.jmorph.DictEntry 1
net.sf.jhunlang.jmorph.analysis.AnalyserControl 3
net.sf.jhunlang.jmorph.analysis.CompoundControl 3
net.sf.jhunlang.jmorph.analysis.IStem 1
net.sf.jhunlang.jmorph.sword.Case 1
net.sf.jhunlang.jmorph.sword.SwordAffixFlagFilter 1
net.sf.jhunlang.jmorph.parser.AffixConstants 2
net.sf.jhunlang.jmorph.synth.Synthetizer 1
net.sf.jhunlang.jmorph.sword.parser.EnglishReader 1
net.sf.jhunlang.jmorph.sword.parser.SwordReader 1
net.sf.jhunlang.jmorph.util.CacheHashtable$EntryEnum 1

net.sf.jhunlang.jmorph.Affix

Violation Line
EI: net.sf.jhunlang.jmorph.Affix.getEntries() may expose internal representation by returning net.sf.jhunlang.jmorph.Affix.entries 67

net.sf.jhunlang.jmorph.Conditions

Violation Line
EI: net.sf.jhunlang.jmorph.Conditions.getConditions() may expose internal representation by returning net.sf.jhunlang.jmorph.Conditions.conditions 73
UR: Uninitialized read of net.sf.jhunlang.jmorph.Conditions.hash in net.sf.jhunlang.jmorph.Conditions.<init>(Condition[]) 62

net.sf.jhunlang.jmorph.RangeCondition

Violation Line
EI2: net.sf.jhunlang.jmorph.RangeCondition.<init>(char[],boolean) may expose internal representation by storing an externally mutable object into net/sf/jhunlang/jmorph/RangeCondition.range 46
EI: net.sf.jhunlang.jmorph.RangeCondition.getRange() may expose internal representation by returning net.sf.jhunlang.jmorph.RangeCondition.range 79
MS: net.sf.jhunlang.jmorph.RangeCondition.maxMax should be package protected 0

net.sf.jhunlang.jmorph.analysis.AffixCache

Violation Line
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getSuffixCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.SL 103
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getCrossableSuffixCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.SCL 112
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getPrefixCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.PL 121
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getCrossablePrefixCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.PCL 130
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.PL 139
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.getCrossableCache() may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.PCL 149
EI: net.sf.jhunlang.jmorph.analysis.AffixCache.split(String,String) may expose internal representation by returning net.sf.jhunlang.jmorph.analysis.AffixCache.splits 298

net.sf.jhunlang.jmorph.sword.SwordEntry

Violation Line
ES: Comparison of String objects using == or != in net.sf.jhunlang.jmorph.sword.SwordEntry.hasFlag(net.sf.jhunlang.jmorph.AffixEntry) 111
ES: Comparison of String objects using == or != in net.sf.jhunlang.jmorph.sword.SwordEntry.getAccumulatedFlags() 136

net.sf.jhunlang.jmorph.synth.Synthetizer$Morph

Violation Line
UR: Uninitialized read of net.sf.jhunlang.jmorph.synth.Synthetizer$Morph.suffix in net.sf.jhunlang.jmorph.synth.Synthetizer$Morph.<init>(Synthetizer,String) 718

net.sf.jhunlang.jmorph.factory.JMorphFactory

Violation Line
SBSC: Method net.sf.jhunlang.jmorph.factory.JMorphFactory.readDef(java.io.BufferedReader,java.net.URL) concatenates strings using + in a loop 232

net.sf.jhunlang.jmorph.analysis.consumer.InflexionConsumerManager

Violation Line
MF: Class net.sf.jhunlang.jmorph.analysis.consumer.InflexionConsumerManager defines field that obscures superclass field net.sf.jhunlang.jmorph.analysis.consumer.ConsumerManager.dictConsumer 0
MF: Class net.sf.jhunlang.jmorph.analysis.consumer.InflexionConsumerManager defines field that obscures superclass field net.sf.jhunlang.jmorph.analysis.consumer.ConsumerManager.crossConsumer 0

net.sf.jhunlang.jmorph.sword.parser.SwordAffixReader

Violation Line
OS: net.sf.jhunlang.jmorph.sword.parser.SwordAffixReader.readDerivatives(String) may fail to close stream 65
OS: net.sf.jhunlang.jmorph.sword.parser.SwordAffixReader.createCompoundController(String) may fail to close stream 187

net.sf.jhunlang.jmorph.DictEntry

Violation Line
MS: net.sf.jhunlang.jmorph.DictEntry.CAPS should be package protected 0

net.sf.jhunlang.jmorph.analysis.AnalyserControl

Violation Line
MS: net.sf.jhunlang.jmorph.analysis.AnalyserControl.DEFAULT_DEPTH isn't final but should be 0
MS: net.sf.jhunlang.jmorph.analysis.AnalyserControl.DEPTHS is a mutable array 0
MS: net.sf.jhunlang.jmorph.analysis.AnalyserControl.XES is a mutable array 0

net.sf.jhunlang.jmorph.analysis.CompoundControl

Violation Line
MS: net.sf.jhunlang.jmorph.analysis.CompoundControl.HINTS should be package protected 0
MS: net.sf.jhunlang.jmorph.analysis.CompoundControl.DEFAULT_MIN isn't final but should be 0
MS: net.sf.jhunlang.jmorph.analysis.CompoundControl.DEFAULT_MAX isn't final but should be 0

net.sf.jhunlang.jmorph.analysis.IStem

Violation Line
MS: net.sf.jhunlang.jmorph.analysis.IStem.TYPES should be package protected 0

net.sf.jhunlang.jmorph.sword.Case

Violation Line
MS: net.sf.jhunlang.jmorph.sword.Case.ZERO_MORPHS should be package protected 0

net.sf.jhunlang.jmorph.sword.SwordAffixFlagFilter

Violation Line
MS: net.sf.jhunlang.jmorph.sword.SwordAffixFlagFilter.TYPES should be package protected 0

net.sf.jhunlang.jmorph.parser.AffixConstants

Violation Line
MS: net.sf.jhunlang.jmorph.parser.AffixConstants.FLAGS should be moved out of an interface and made package protected 0
MS: net.sf.jhunlang.jmorph.parser.AffixConstants.CROSS should be moved out of an interface and made package protected 0

net.sf.jhunlang.jmorph.synth.Synthetizer

Violation Line
MS: net.sf.jhunlang.jmorph.synth.Synthetizer.ZERO_MORPHS should be package protected 0

net.sf.jhunlang.jmorph.sword.parser.EnglishReader

Violation Line
MS: net.sf.jhunlang.jmorph.sword.parser.EnglishReader.derivatives isn't final but should be 0

net.sf.jhunlang.jmorph.sword.parser.SwordReader

Violation Line
MS: net.sf.jhunlang.jmorph.sword.parser.SwordReader.derivatives should be package protected 0

net.sf.jhunlang.jmorph.util.CacheHashtable$EntryEnum

Violation Line
SIC: Should net.sf.jhunlang.jmorph.util.CacheHashtable$EntryEnum be a _static_ inner class? 0