The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.coverage.filter.raster.RasterFilter.applyDoubleFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 279 | Medium |
org.deegree.coverage.filter.raster.RasterFilter.applyFloatFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 242 | Medium |
org.deegree.coverage.filter.raster.RasterFilter.applyIntFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 205 | Medium |
org.deegree.coverage.filter.raster.RasterFilter.applyShortFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 168 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.rangeset.RangeSetBuilder.createNullValue(RasterDataInfo): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 127 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.cache.CacheInfoFile.read(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 169 | High |
Found reliance on default encoding in org.deegree.coverage.raster.cache.CacheInfoFile.write(File, CacheInfoFile): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 132 | High |
org.deegree.coverage.raster.cache.CacheInfoFile.getTilesOnFile() may expose internal representation by returning CacheInfoFile.tilesOnFile | MALICIOUS_CODE | EI_EXPOSE_REP | 245 | Medium |
new org.deegree.coverage.raster.cache.CacheInfoFile(RasterGeoReference, int, int, int, int, RasterDataInfo, int, int, boolean[][], long) may expose internal representation by storing an externally mutable object into CacheInfoFile.tilesOnFile | MALICIOUS_CODE | EI_EXPOSE_REP2 | 92 | Medium |
Dereference of the result of readLine() without nullcheck in org.deegree.coverage.raster.cache.CacheInfoFile.read(File) | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 177 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The field org.deegree.coverage.raster.data.info.RasterDataInfo.noDataWrapper is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.deegree.coverage.raster.io.RasterIOOptions defines non-transient non-serializable instance field geoRef | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.readWorldFile(File, RasterIOOptions): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 208 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.readWorldFile(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 110 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.writeWorldFile(RasterGeoReference, File, String): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 242 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCReader.load(File, RasterIOOptions): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 345 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCReader.load(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 357 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, File, RasterIOOptions): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 93 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, OutputStream, RasterIOOptions): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 297 | High |
Redundant nullcheck of crs, which is known to be non-null in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, BufferedWriter, RasterIOOptions) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 113 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.grid.GridMetaInfoFile.readFromFile(File, RasterIOOptions): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 144 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.grid.GridMetaInfoFile.writeToFile(File, GridMetaInfoFile, RasterIOOptions): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 216 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of crs, which is known to be non-null in org.deegree.coverage.raster.io.imageio.geotiff.GeoTiffWriter.addCRS(Map, ICRS) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 230 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.load(File, RasterIOOptions): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 341 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.load(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 383 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.read(RasterRect, ByteBuffer): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 416 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZWriter.write(AbstractRaster, File, RasterIOOptions): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 91 | High |
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZWriter.write(AbstractRaster, OutputStream, RasterIOOptions): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 305 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of format, which is known to be non-null in org.deegree.coverage.raster.utils.RasterBuilder.buildTiledRaster(File, boolean, RasterIOOptions) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 408 | Medium |
exceptional return value of java.io.File.delete() ignored in org.deegree.coverage.raster.utils.RasterBuilder.buildTiledRaster(File, boolean, RasterIOOptions) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 435 | Medium |