The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.deegree.layer.Utils | 1 |
org.deegree.layer.dims.Dimension | 2 |
org.deegree.layer.dims.DimensionsLexer | 2 |
org.deegree.layer.dims.DimensionsParser | 5 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.deegree.layer.Utils.calcScaleWMS130(int, int, Envelope, ICRS) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 298 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Primitive value is unboxed and coerced for ternary operator in org.deegree.layer.dims.Dimension.parseTypedInterval(Object, boolean) | CORRECTNESS | BX_UNBOXED_AND_COERCED_FOR_TERNARY_OPERATOR | 279 | Medium |
Boxed value is unboxed and then immediately reboxed in org.deegree.layer.dims.Dimension.parseTypedInterval(Object, boolean) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 279 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.deegree.layer.dims.DimensionsLexer.mTokens() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 332 | Medium |
Switch statement found in org.deegree.layer.dims.DimensionsLexer.mVALUE() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.layer.dims.DimensionsParser.getTokenNames() may expose internal representation by returning DimensionsParser.tokenNames | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.deegree.layer.dims.DimensionsParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 13 | Medium |
Switch statement found in org.deegree.layer.dims.DimensionsParser.dimensionvalues() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 79 | Medium |
Switch statement found in org.deegree.layer.dims.DimensionsParser.interval() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 304 | Medium |
Switch statement found in org.deegree.layer.dims.DimensionsParser.value() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 173 | Medium |