FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1463000

org.deegree.coverage.filter.raster.RasterFilter

BugCategoryDetailsLinePriority
org.deegree.coverage.filter.raster.RasterFilter.applyDoubleFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR279Medium
org.deegree.coverage.filter.raster.RasterFilter.applyFloatFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR242Medium
org.deegree.coverage.filter.raster.RasterFilter.applyIntFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR205Medium
org.deegree.coverage.filter.raster.RasterFilter.applyShortFilter(RasterData, RasterData, List, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR168Medium

org.deegree.coverage.rangeset.RangeSetBuilder

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.rangeset.RangeSetBuilder.createNullValue(RasterDataInfo): new String(byte[])I18NDM_DEFAULT_ENCODING127High

org.deegree.coverage.raster.cache.CacheInfoFile

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.cache.CacheInfoFile.read(File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING169High
Found reliance on default encoding in org.deegree.coverage.raster.cache.CacheInfoFile.write(File, CacheInfoFile): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING132High
org.deegree.coverage.raster.cache.CacheInfoFile.getTilesOnFile() may expose internal representation by returning CacheInfoFile.tilesOnFileMALICIOUS_CODEEI_EXPOSE_REP245Medium
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.tilesOnFileMALICIOUS_CODEEI_EXPOSE_REP292Medium
Dereference of the result of readLine() without nullcheck in org.deegree.coverage.raster.cache.CacheInfoFile.read(File)STYLENP_DEREFERENCE_OF_READLINE_VALUE177Medium

org.deegree.coverage.raster.data.info.RasterDataInfo

BugCategoryDetailsLinePriority
The field org.deegree.coverage.raster.data.info.RasterDataInfo.noDataWrapper is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDMedium

org.deegree.coverage.raster.io.RasterIOOptions

BugCategoryDetailsLinePriority
Class org.deegree.coverage.raster.io.RasterIOOptions defines non-transient non-serializable instance field geoRefBAD_PRACTICESE_BAD_FIELDHigh

org.deegree.coverage.raster.io.WorldFileAccess

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.readWorldFile(File, RasterIOOptions): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING208High
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.readWorldFile(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING110High
Found reliance on default encoding in org.deegree.coverage.raster.io.WorldFileAccess.writeWorldFile(RasterGeoReference, File, String): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING242High

org.deegree.coverage.raster.io.asc.ASCReader

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCReader.load(File, RasterIOOptions): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING345High
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCReader.load(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING357High

org.deegree.coverage.raster.io.asc.ASCWriter

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, File, RasterIOOptions): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING93High
Found reliance on default encoding in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, OutputStream, RasterIOOptions): new java.io.OutputStreamWriter(OutputStream)I18NDM_DEFAULT_ENCODING297High
Redundant nullcheck of crs, which is known to be non-null in org.deegree.coverage.raster.io.asc.ASCWriter.write(AbstractRaster, BufferedWriter, RasterIOOptions)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE113Medium

org.deegree.coverage.raster.io.grid.GridMetaInfoFile

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.grid.GridMetaInfoFile.readFromFile(File, RasterIOOptions): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING144High
Found reliance on default encoding in org.deegree.coverage.raster.io.grid.GridMetaInfoFile.writeToFile(File, GridMetaInfoFile, RasterIOOptions): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING216High

org.deegree.coverage.raster.io.imageio.geotiff.GeoTiffWriter

BugCategoryDetailsLinePriority
Redundant nullcheck of crs, which is known to be non-null in org.deegree.coverage.raster.io.imageio.geotiff.GeoTiffWriter.addCRS(Map, ICRS)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE230Medium

org.deegree.coverage.raster.io.xyz.XYZReader

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.load(File, RasterIOOptions): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING341High
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.load(InputStream, RasterIOOptions): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING383High
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZReader.read(RasterRect, ByteBuffer): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING416High

org.deegree.coverage.raster.io.xyz.XYZWriter

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZWriter.write(AbstractRaster, File, RasterIOOptions): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING91High
Found reliance on default encoding in org.deegree.coverage.raster.io.xyz.XYZWriter.write(AbstractRaster, OutputStream, RasterIOOptions): new java.io.OutputStreamWriter(OutputStream)I18NDM_DEFAULT_ENCODING305High

org.deegree.coverage.raster.utils.RasterBuilder

BugCategoryDetailsLinePriority
Redundant nullcheck of format, which is known to be non-null in org.deegree.coverage.raster.utils.RasterBuilder.buildTiledRaster(File, boolean, RasterIOOptions)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE408Medium
exceptional return value of java.io.File.delete() ignored in org.deegree.coverage.raster.utils.RasterBuilder.buildTiledRaster(File, boolean, RasterIOOptions)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE435Medium