Preparing report...

Report for github.com/segmentio/conf

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


golint94%

Golint is a linter for Go source code.

    • conf/node.go
    • Line 289: warning: exported method Scalar.Kind should have comment or be unexported (golint)
    • Line 293: warning: exported method Scalar.Value should have comment or be unexported (golint)
    • Line 305: warning: exported method Scalar.Set should have comment or be unexported (golint)
    • Line 329: warning: exported method Scalar.EncodeValue should have comment or be unexported (golint)
    • Line 333: warning: exported method Scalar.DecodeValue should have comment or be unexported (golint)
    • Line 337: warning: exported method Scalar.IsBoolFlag should have comment or be unexported (golint)
    • Line 347: warning: exported method Array.Kind should have comment or be unexported (golint)
    • Line 351: warning: exported method Array.Value should have comment or be unexported (golint)
    • Line 358: warning: exported method Array.Items should have comment or be unexported (golint)
    • Line 365: warning: exported method Array.Item should have comment or be unexported (golint)
    • Line 369: warning: exported method Array.Len should have comment or be unexported (golint)
    • Line 394: warning: exported method Array.Set should have comment or be unexported (golint)
    • Line 398: warning: exported method Array.EncodeValue should have comment or be unexported (golint)
    • Line 409: warning: exported method Array.DecodeValue should have comment or be unexported (golint)
    • Line 446: warning: exported method Map.Kind should have comment or be unexported (golint)
    • Line 450: warning: exported method Map.Value should have comment or be unexported (golint)
    • Line 457: warning: exported method Map.Items should have comment or be unexported (golint)
    • Line 464: warning: exported method Map.Item should have comment or be unexported (golint)
    • Line 471: warning: exported method Map.Len should have comment or be unexported (golint)
    • Line 501: warning: exported method Map.Set should have comment or be unexported (golint)
    • Line 505: warning: exported method Map.EncodeValue should have comment or be unexported (golint)
    • Line 520: warning: exported method Map.DecodeValue should have comment or be unexported (golint)
    • Line 551: warning: exported method Map.Scan should have comment or be unexported (golint)

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.

    • conf/print.go
    • Line 57: warning: cyclomatic complexity 28 of function (Loader).fprintHelp() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell94%

Misspell Finds commonly misspelled English words