Preparing report...

Report for github.com/openhue/openhue-go

(v0.3.0)

A+    Excellent!    Found 1 issues across 9 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo88%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • openhue.gen.go
    • Line 6829: warning: cyclomatic complexity 35 of function ParseGetBridgeHomeResponse() is high (> 15) (gocyclo)
    • Line 7027: warning: cyclomatic complexity 35 of function ParseDeleteDeviceResponse() is high (> 15) (gocyclo)
    • Line 6532: warning: cyclomatic complexity 35 of function ParseGetBridgeResponse() is high (> 15) (gocyclo)
    • Line 6433: warning: cyclomatic complexity 35 of function ParseGetBridgesResponse() is high (> 15) (gocyclo)
    • Line 8215: warning: cyclomatic complexity 35 of function ParseGetLightLevelResponse() is high (> 15) (gocyclo)
    • Line 6334: warning: cyclomatic complexity 35 of function ParseGetResourcesResponse() is high (> 15) (gocyclo)
    • Line 6730: warning: cyclomatic complexity 35 of function ParseGetBridgeHomesResponse() is high (> 15) (gocyclo)
    • Line 10294: warning: cyclomatic complexity 35 of function ParseGetZoneResponse() is high (> 15) (gocyclo)
    • Line 7225: warning: cyclomatic complexity 35 of function ParseUpdateDeviceResponse() is high (> 15) (gocyclo)
    • Line 7126: warning: cyclomatic complexity 35 of function ParseGetDeviceResponse() is high (> 15) (gocyclo)
    • Line 6631: warning: cyclomatic complexity 35 of function ParseUpdateBridgeResponse() is high (> 15) (gocyclo)
    • Line 6928: warning: cyclomatic complexity 35 of function ParseGetDevicesResponse() is high (> 15) (gocyclo)
    • Line 9106: warning: cyclomatic complexity 35 of function ParseUpdateRoomResponse() is high (> 15) (gocyclo)
    • Line 7324: warning: cyclomatic complexity 35 of function ParseGetDevicePowersResponse() is high (> 15) (gocyclo)
    • Line 8908: warning: cyclomatic complexity 35 of function ParseDeleteRoomResponse() is high (> 15) (gocyclo)
    • Line 8314: warning: cyclomatic complexity 35 of function ParseUpdateLightLevelResponse() is high (> 15) (gocyclo)
    • Line 10096: warning: cyclomatic complexity 35 of function ParseCreateZoneResponse() is high (> 15) (gocyclo)
    • Line 9700: warning: cyclomatic complexity 35 of function ParseGetTemperaturesResponse() is high (> 15) (gocyclo)
    • Line 9304: warning: cyclomatic complexity 35 of function ParseCreateSceneResponse() is high (> 15) (gocyclo)
    • Line 9502: warning: cyclomatic complexity 35 of function ParseGetSceneResponse() is high (> 15) (gocyclo)
    • Line 7423: warning: cyclomatic complexity 35 of function ParseGetDevicePowerResponse() is high (> 15) (gocyclo)
    • Line 9403: warning: cyclomatic complexity 35 of function ParseDeleteSceneResponse() is high (> 15) (gocyclo)
    • Line 7522: warning: cyclomatic complexity 35 of function ParseGetGroupedLightsResponse() is high (> 15) (gocyclo)
    • Line 8611: warning: cyclomatic complexity 35 of function ParseUpdateMotionSensorResponse() is high (> 15) (gocyclo)
    • Line 7621: warning: cyclomatic complexity 35 of function ParseGetGroupedLightResponse() is high (> 15) (gocyclo)
    • Line 7720: warning: cyclomatic complexity 35 of function ParseUpdateGroupedLightResponse() is high (> 15) (gocyclo)
    • Line 8809: warning: cyclomatic complexity 35 of function ParseCreateRoomResponse() is high (> 15) (gocyclo)
    • Line 9007: warning: cyclomatic complexity 35 of function ParseGetRoomResponse() is high (> 15) (gocyclo)
    • Line 7819: warning: cyclomatic complexity 35 of function ParseGetLightsResponse() is high (> 15) (gocyclo)
    • Line 9205: warning: cyclomatic complexity 35 of function ParseGetScenesResponse() is high (> 15) (gocyclo)
    • Line 7918: warning: cyclomatic complexity 35 of function ParseGetLightResponse() is high (> 15) (gocyclo)
    • Line 9898: warning: cyclomatic complexity 35 of function ParseUpdateTemperatureResponse() is high (> 15) (gocyclo)
    • Line 8017: warning: cyclomatic complexity 35 of function ParseUpdateLightResponse() is high (> 15) (gocyclo)
    • Line 9601: warning: cyclomatic complexity 35 of function ParseUpdateSceneResponse() is high (> 15) (gocyclo)
    • Line 8116: warning: cyclomatic complexity 35 of function ParseGetLightLevelsResponse() is high (> 15) (gocyclo)
    • Line 9799: warning: cyclomatic complexity 35 of function ParseGetTemperatureResponse() is high (> 15) (gocyclo)
    • Line 10393: warning: cyclomatic complexity 35 of function ParseUpdateZoneResponse() is high (> 15) (gocyclo)
    • Line 9997: warning: cyclomatic complexity 35 of function ParseGetZonesResponse() is high (> 15) (gocyclo)
    • Line 8413: warning: cyclomatic complexity 35 of function ParseGetMotionSensorsResponse() is high (> 15) (gocyclo)
    • Line 10195: warning: cyclomatic complexity 35 of function ParseDeleteZoneResponse() is high (> 15) (gocyclo)
    • Line 8512: warning: cyclomatic complexity 35 of function ParseGetMotionSensorResponse() is high (> 15) (gocyclo)
    • Line 8710: warning: cyclomatic complexity 35 of function ParseGetRoomsResponse() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell88%

Misspell Finds commonly misspelled English words