Preparing report...

Report for github.com/RoboCup-SSL/ssl-vision-client

A+    Excellent!    Found 8 issues across 10 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo100%

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.

No problems detected. Good job!


golint20%

Golint is a linter for Go source code.

    • ssl-vision-client/pkg/client/converter.go
    • Line 26: warning: exported type ShapesByOrderNumber should have comment or be unexported (golint)
    • Line 32: warning: exported method Package.AddDetectionFrame should have comment or be unexported (golint)
    • Line 48: warning: exported method Package.AddTrackedFrame should have comment or be unexported (golint)
    • Line 83: warning: exported method Package.AddGeometryShapes should have comment or be unexported (golint)
    • Line 188: warning: exported method Package.SortShapes should have comment or be unexported (golint)
    • Line 192: warning: exported method Package.AddLineSegment should have comment or be unexported (golint)
    • Line 211: warning: exported method Package.AddCircle should have comment or be unexported (golint)
    • ssl-vision-client/pkg/client/publisher.go
    • Line 18: warning: exported type PublishType should have comment or be unexported (golint)
    • Line 20: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 29: warning: exported function NewPublisher should have comment or be unexported (golint)
    • Line 38: warning: exported type PublisherClient should have comment or be unexported (golint)
    • Line 44: warning: exported method Publisher.Handler should have comment or be unexported (golint)
    • ssl-vision-client/pkg/tracked/receiver.go
    • Line 11: warning: exported type Receiver should have comment or be unexported (golint)
    • Line 19: warning: exported function NewReceiver should have comment or be unexported (golint)
    • Line 28: warning: exported method Receiver.Start should have comment or be unexported (golint)
    • Line 32: warning: exported method Receiver.TrackedFrames should have comment or be unexported (golint)
    • ssl-vision-client/pkg/vision/receiver.go
    • Line 11: warning: exported type Receiver should have comment or be unexported (golint)
    • Line 21: warning: exported function NewReceiver should have comment or be unexported (golint)
    • Line 31: warning: exported method Receiver.Start should have comment or be unexported (golint)
    • Line 35: warning: exported method Receiver.Detections should have comment or be unexported (golint)
    • Line 65: warning: exported method Receiver.CombinedDetectionFrames should have comment or be unexported (golint)
    • Line 98: warning: exported method Receiver.CurrentGeometry should have comment or be unexported (golint)
    • ssl-vision-client/pkg/visualization/receiver.go
    • Line 11: warning: exported type Receiver should have comment or be unexported (golint)
    • Line 18: warning: exported function NewReceiver should have comment or be unexported (golint)
    • Line 26: warning: exported method Receiver.Start should have comment or be unexported (golint)
    • Line 58: warning: exported method Receiver.GetLineSegments should have comment or be unexported (golint)
    • Line 68: warning: exported method Receiver.GetCircles should have comment or be unexported (golint)
    • ssl-vision-client/pkg/sslnet/multicast_server.go
    • Line 12: warning: exported type MulticastServer should have comment or be unexported (golint)
    • Line 21: warning: exported function NewMulticastServer should have comment or be unexported (golint)
    • Line 27: warning: exported method MulticastServer.Start should have comment or be unexported (golint)
    • Line 32: warning: exported method MulticastServer.Stop should have comment or be unexported (golint)
    • ssl-vision-client/pkg/client/api.go
    • Line 3: warning: exported type Request should have comment or be unexported (golint)
    • Line 7: warning: exported type Package should have comment or be unexported (golint)
    • Line 18: warning: exported type Shape should have comment or be unexported (golint)
    • Line 26: warning: exported type Point should have comment or be unexported (golint)
    • Line 31: warning: exported type Style should have comment or be unexported (golint)
    • Line 39: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 45: warning: exported type Line should have comment or be unexported (golint)
    • Line 52: warning: exported type Circle should have comment or be unexported (golint)
    • Line 59: warning: exported type Path should have comment or be unexported (golint)
    • Line 65: warning: exported type PathElement should have comment or be unexported (golint)
    • Line 70: warning: exported type Text should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!