Preparing report...

Report for github.com/vapor-ware/synse-cli

A+    Excellent!    Found 4 issues across 111 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!


gocyclo99%

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.


golint97%

Golint is a linter for Go source code.

    • synse-cli/internal/test/grpc.go
    • Line 38: warning: exported type FakeClientStream should have comment or be unexported (golint)
    • Line 43: warning: exported method FakeClientStream.Header should have comment or be unexported (golint)
    • Line 47: warning: exported method FakeClientStream.Trailer should have comment or be unexported (golint)
    • Line 51: warning: exported method FakeClientStream.CloseSend should have comment or be unexported (golint)
    • Line 55: warning: exported method FakeClientStream.Context should have comment or be unexported (golint)
    • Line 59: warning: exported method FakeClientStream.SendMsg should have comment or be unexported (golint)
    • Line 63: warning: exported method FakeClientStream.RecvMsg should have comment or be unexported (golint)
    • Line 88: warning: exported type FakeDevicesClient should have comment or be unexported (golint)
    • Line 92: warning: exported method FakeDevicesClient.Recv should have comment or be unexported (golint)
    • Line 120: warning: exported method FakeGRPCClientV3.Devices should have comment or be unexported (golint)
    • Line 131: warning: exported method FakeGRPCClientV3.Health should have comment or be unexported (golint)
    • Line 149: warning: exported method FakeGRPCClientV3.Metadata should have comment or be unexported (golint)
    • Line 162: warning: exported type FakeReadClient should have comment or be unexported (golint)
    • Line 166: warning: exported method FakeReadClient.Recv should have comment or be unexported (golint)
    • Line 199: warning: exported method FakeGRPCClientV3.ReadCache should have comment or be unexported (golint)
    • Line 210: warning: exported method FakeGRPCClientV3.ReadStream should have comment or be unexported (golint)
    • Line 221: warning: exported method FakeGRPCClientV3.Test should have comment or be unexported (golint)
    • Line 230: warning: exported method FakeGRPCClientV3.Transaction should have comment or be unexported (golint)
    • Line 243: warning: exported type FakeTransactionsClient should have comment or be unexported (golint)
    • Line 247: warning: exported method FakeTransactionsClient.Recv should have comment or be unexported (golint)
    • Line 266: warning: exported method FakeGRPCClientV3.Transactions should have comment or be unexported (golint)
    • Line 277: warning: exported method FakeGRPCClientV3.Version should have comment or be unexported (golint)
    • Line 287: warning: exported type FakeWriteClient should have comment or be unexported (golint)
    • Line 291: warning: exported method FakeWriteClient.Recv should have comment or be unexported (golint)
    • Line 308: warning: exported method FakeGRPCClientV3.WriteAsync should have comment or be unexported (golint)
    • Line 319: warning: exported method FakeGRPCClientV3.WriteSync should have comment or be unexported (golint)
    • synse-cli/internal/test/http.go
    • Line 44: warning: exported method FakeHTTPClientV3.Status should have comment or be unexported (golint)
    • Line 54: warning: exported method FakeHTTPClientV3.Version should have comment or be unexported (golint)
    • Line 64: warning: exported method FakeHTTPClientV3.Config should have comment or be unexported (golint)
    • Line 79: warning: exported method FakeHTTPClientV3.Plugins should have comment or be unexported (golint)
    • Line 113: warning: exported method FakeHTTPClientV3.Plugin should have comment or be unexported (golint)
    • Line 144: warning: exported method FakeHTTPClientV3.PluginHealth should have comment or be unexported (golint)
    • Line 160: warning: exported method FakeHTTPClientV3.Scan should have comment or be unexported (golint)
    • Line 192: warning: exported method FakeHTTPClientV3.Tags should have comment or be unexported (golint)
    • Line 204: warning: exported method FakeHTTPClientV3.Info should have comment or be unexported (golint)
    • Line 269: warning: exported method FakeHTTPClientV3.ReadDevice should have comment or be unexported (golint)
    • Line 305: warning: exported method FakeHTTPClientV3.ReadCache should have comment or be unexported (golint)
    • Line 348: warning: exported method FakeHTTPClientV3.ReadStream should have comment or be unexported (golint)
    • Line 380: warning: exported method FakeHTTPClientV3.WriteAsync should have comment or be unexported (golint)
    • Line 406: warning: exported method FakeHTTPClientV3.WriteSync should have comment or be unexported (golint)
    • Line 440: warning: exported method FakeHTTPClientV3.Transactions should have comment or be unexported (golint)
    • Line 451: warning: exported method FakeHTTPClientV3.Transaction should have comment or be unexported (golint)
    • Line 470: warning: exported method FakeHTTPClientV3.GetOptions should have comment or be unexported (golint)
    • Line 474: warning: exported method FakeHTTPClientV3.Open should have comment or be unexported (golint)
    • Line 481: warning: exported method FakeHTTPClientV3.Close should have comment or be unexported (golint)
    • synse-cli/internal/test/utils.go
    • Line 30: warning: exported type Result should have comment or be unexported (golint)
    • Line 37: warning: exported method Result.AssertNoErr should have comment or be unexported (golint)
    • Line 41: warning: exported method Result.AssertErr should have comment or be unexported (golint)
    • Line 45: warning: exported method Result.AssertGolden should have comment or be unexported (golint)
    • Line 49: warning: exported method Result.AssertExited should have comment or be unexported (golint)
    • Line 53: warning: exported type Builder should have comment or be unexported (golint)
    • Line 61: warning: exported method Builder.Args should have comment or be unexported (golint)
    • Line 66: warning: exported method Builder.WithRoot should have comment or be unexported (golint)
    • Line 71: warning: exported method Builder.Run should have comment or be unexported (golint)
    • Line 127: warning: exported function Cmd 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!