Violation | Line |
---|---|
EI: net.sf.jhunlang.jmorph.Affix.getEntries() may expose internal representation by returning net.sf.jhunlang.jmorph.Affix.entries | 67 |
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 |
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 |
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 |
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 |
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 |
Violation | Line |
---|---|
SBSC: Method net.sf.jhunlang.jmorph.factory.JMorphFactory.readDef(java.io.BufferedReader,java.net.URL) concatenates strings using + in a loop | 232 |
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 |
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 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.DictEntry.CAPS should be package protected | 0 |
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 |
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 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.analysis.IStem.TYPES should be package protected | 0 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.sword.Case.ZERO_MORPHS should be package protected | 0 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.sword.SwordAffixFlagFilter.TYPES should be package protected | 0 |
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 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.synth.Synthetizer.ZERO_MORPHS should be package protected | 0 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.sword.parser.EnglishReader.derivatives isn't final but should be | 0 |
Violation | Line |
---|---|
MS: net.sf.jhunlang.jmorph.sword.parser.SwordReader.derivatives should be package protected | 0 |
Violation | Line |
---|---|
SIC: Should net.sf.jhunlang.jmorph.util.CacheHashtable$EntryEnum be a _static_ inner class? | 0 |