SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.1

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
107 90 0 0

Files

Class Bugs
org.cugos.wkg.GeoJSONReader 1
org.cugos.wkg.internal.JSONLexer 5
org.cugos.wkg.internal.JSONParser 5
org.cugos.wkg.internal.WKTLexer 5
org.cugos.wkg.internal.WKTParser 21
org.cugos.wkg.internal.WKTParser$CircularStringContext 2
org.cugos.wkg.internal.WKTParser$CompoundCurveContext 2
org.cugos.wkg.internal.WKTParser$CompoundCurveItemsContext 2
org.cugos.wkg.internal.WKTParser$CoordinatesContext 2
org.cugos.wkg.internal.WKTParser$CoordinatesetsContext 2
org.cugos.wkg.internal.WKTParser$CoordinatesetssetContext 2
org.cugos.wkg.internal.WKTParser$CurvePolygonContext 2
org.cugos.wkg.internal.WKTParser$CurvePolygonItemsContext 2
org.cugos.wkg.internal.WKTParser$DimensionContext 2
org.cugos.wkg.internal.WKTParser$GeometryCollectionContext 2
org.cugos.wkg.internal.WKTParser$GeometryCollectionItemsContext 2
org.cugos.wkg.internal.WKTParser$LineStringContext 2
org.cugos.wkg.internal.WKTParser$LineStringCoordinatesContext 2
org.cugos.wkg.internal.WKTParser$MultiCurveContext 2
org.cugos.wkg.internal.WKTParser$MultiCurveItemsContext 2
org.cugos.wkg.internal.WKTParser$MultiLineStringContext 2
org.cugos.wkg.internal.WKTParser$MultiPointContext 2
org.cugos.wkg.internal.WKTParser$MultiPolygonContext 2
org.cugos.wkg.internal.WKTParser$MultiSurfaceContext 2
org.cugos.wkg.internal.WKTParser$MultiSurfaceItemsContext 2
org.cugos.wkg.internal.WKTParser$PointContext 2
org.cugos.wkg.internal.WKTParser$PolyHedralSurfaceContext 2
org.cugos.wkg.internal.WKTParser$PolygonContext 2
org.cugos.wkg.internal.WKTParser$PolygonCoordinatesContext 2
org.cugos.wkg.internal.WKTParser$SridContext 1
org.cugos.wkg.internal.WKTParser$TinContext 2
org.cugos.wkg.internal.WKTParser$TriangleContext 2

org.cugos.wkg.GeoJSONReader

Bug Category Details Line Priority
Unread field: org.cugos.wkg.GeoJSONReader.srid; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 19 Medium

org.cugos.wkg.internal.JSONLexer

Bug Category Details Line Priority
org.cugos.wkg.internal.JSONLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 22 Medium
org.cugos.wkg.internal.JSONLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 26 Medium
org.cugos.wkg.internal.JSONLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 192 Medium
org.cugos.wkg.internal.JSONLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 36 Medium
org.cugos.wkg.internal.JSONLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 60 Medium

org.cugos.wkg.internal.JSONParser

Bug Category Details Line Priority
org.cugos.wkg.internal.JSONParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 498 Medium
org.cugos.wkg.internal.JSONParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 29 Medium
org.cugos.wkg.internal.JSONParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 53 Medium
Switch statement found in org.cugos.wkg.internal.JSONParser.array() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 308 Medium
Switch statement found in org.cugos.wkg.internal.JSONParser.obj() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 174 Medium

org.cugos.wkg.internal.WKTLexer

Bug Category Details Line Priority
org.cugos.wkg.internal.WKTLexer.channelNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 24 Medium
org.cugos.wkg.internal.WKTLexer.modeNames should be both final and package protected MALICIOUS_CODE MS_FINAL_PKGPROTECT 28 Medium
org.cugos.wkg.internal.WKTLexer._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 293 Medium
org.cugos.wkg.internal.WKTLexer.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 40 Medium
org.cugos.wkg.internal.WKTLexer.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 68 Medium

org.cugos.wkg.internal.WKTParser

Bug Category Details Line Priority
org.cugos.wkg.internal.WKTParser._decisionToDFA should be package protected MALICIOUS_CODE MS_PKGPROTECT 4356 Medium
org.cugos.wkg.internal.WKTParser.ruleNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 48 Medium
org.cugos.wkg.internal.WKTParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 76 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.circularString() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1061 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.compoundCurve() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1803 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.curvePolygon() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1517 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.curvePolygonElements() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1713 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.geometryCollection() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2686 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.lineString() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 478 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiCurve() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2095 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiCurveElements() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2304 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiLineString() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 947 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiPoint() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 823 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiPolygon() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1403 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.multiSurface() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2394 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.point() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 364 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.polyHedralSurface() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1289 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.polygon() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 592 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.tin() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1175 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.triangle() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 706 Medium
Switch statement found in org.cugos.wkg.internal.WKTParser.wkt() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 190 Medium

org.cugos.wkg.internal.WKTParser$CircularStringContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CircularStringContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1014 Medium
The method name org.cugos.wkg.internal.WKTParser$CircularStringContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1016 Medium

org.cugos.wkg.internal.WKTParser$CompoundCurveContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CompoundCurveContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1756 Medium
The method name org.cugos.wkg.internal.WKTParser$CompoundCurveContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1758 Medium

org.cugos.wkg.internal.WKTParser$CompoundCurveItemsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CompoundCurveItemsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1870 Medium
The method name org.cugos.wkg.internal.WKTParser$CompoundCurveItemsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1872 Medium

org.cugos.wkg.internal.WKTParser$CoordinatesContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CoordinatesContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3229 Medium
The method name org.cugos.wkg.internal.WKTParser$CoordinatesContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3231 Medium

org.cugos.wkg.internal.WKTParser$CoordinatesetsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CoordinatesetsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3331 Medium
The method name org.cugos.wkg.internal.WKTParser$CoordinatesetsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3333 Medium

org.cugos.wkg.internal.WKTParser$CoordinatesetssetContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CoordinatesetssetContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3499 Medium
The method name org.cugos.wkg.internal.WKTParser$CoordinatesetssetContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3501 Medium

org.cugos.wkg.internal.WKTParser$CurvePolygonContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CurvePolygonContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1470 Medium
The method name org.cugos.wkg.internal.WKTParser$CurvePolygonContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1472 Medium

org.cugos.wkg.internal.WKTParser$CurvePolygonItemsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$CurvePolygonItemsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1584 Medium
The method name org.cugos.wkg.internal.WKTParser$CurvePolygonItemsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1586 Medium

org.cugos.wkg.internal.WKTParser$DimensionContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$DimensionContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3746 Medium
The method name org.cugos.wkg.internal.WKTParser$DimensionContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3748 Medium

org.cugos.wkg.internal.WKTParser$GeometryCollectionContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$GeometryCollectionContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2639 Medium
The method name org.cugos.wkg.internal.WKTParser$GeometryCollectionContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2641 Medium

org.cugos.wkg.internal.WKTParser$GeometryCollectionItemsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$GeometryCollectionItemsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2753 Medium
The method name org.cugos.wkg.internal.WKTParser$GeometryCollectionItemsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2755 Medium

org.cugos.wkg.internal.WKTParser$LineStringContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$LineStringContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 431 Medium
The method name org.cugos.wkg.internal.WKTParser$LineStringContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 433 Medium

org.cugos.wkg.internal.WKTParser$LineStringCoordinatesContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$LineStringCoordinatesContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2909 Medium
The method name org.cugos.wkg.internal.WKTParser$LineStringCoordinatesContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2911 Medium

org.cugos.wkg.internal.WKTParser$MultiCurveContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiCurveContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2048 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiCurveContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2050 Medium

org.cugos.wkg.internal.WKTParser$MultiCurveItemsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiCurveItemsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2162 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiCurveItemsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2164 Medium

org.cugos.wkg.internal.WKTParser$MultiLineStringContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiLineStringContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 900 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiLineStringContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 902 Medium

org.cugos.wkg.internal.WKTParser$MultiPointContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiPointContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 773 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiPointContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 775 Medium

org.cugos.wkg.internal.WKTParser$MultiPolygonContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiPolygonContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1356 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiPolygonContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1358 Medium

org.cugos.wkg.internal.WKTParser$MultiSurfaceContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiSurfaceContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2347 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiSurfaceContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2349 Medium

org.cugos.wkg.internal.WKTParser$MultiSurfaceItemsContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$MultiSurfaceItemsContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2461 Medium
The method name org.cugos.wkg.internal.WKTParser$MultiSurfaceItemsContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2463 Medium

org.cugos.wkg.internal.WKTParser$PointContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$PointContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 317 Medium
The method name org.cugos.wkg.internal.WKTParser$PointContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 319 Medium

org.cugos.wkg.internal.WKTParser$PolyHedralSurfaceContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$PolyHedralSurfaceContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1242 Medium
The method name org.cugos.wkg.internal.WKTParser$PolyHedralSurfaceContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1244 Medium

org.cugos.wkg.internal.WKTParser$PolygonContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$PolygonContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 545 Medium
The method name org.cugos.wkg.internal.WKTParser$PolygonContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 547 Medium

org.cugos.wkg.internal.WKTParser$PolygonCoordinatesContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$PolygonCoordinatesContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2994 Medium
The method name org.cugos.wkg.internal.WKTParser$PolygonCoordinatesContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 2996 Medium

org.cugos.wkg.internal.WKTParser$SridContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$SridContext.Number() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 3696 Medium

org.cugos.wkg.internal.WKTParser$TinContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$TinContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1128 Medium
The method name org.cugos.wkg.internal.WKTParser$TinContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1130 Medium

org.cugos.wkg.internal.WKTParser$TriangleContext

Bug Category Details Line Priority
The method name org.cugos.wkg.internal.WKTParser$TriangleContext.WhiteSpace() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 659 Medium
The method name org.cugos.wkg.internal.WKTParser$TriangleContext.WhiteSpace(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 661 Medium