Preparing report...

Report for github.com/otiai10/largo

A+    Excellent!    Found 7 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!


golint30%

Golint is a linter for Go source code.

    • largo/values/bool.go
    • Line 5: warning: exported type BoolValue should have comment or be unexported (golint)
    • Line 7: warning: exported method BoolValue.Set should have comment or be unexported (golint)
    • Line 16: warning: exported method BoolValue.Get should have comment or be unexported (golint)
    • largo/values/int.go
    • Line 5: warning: exported type IntValue should have comment or be unexported (golint)
    • Line 7: warning: exported method IntValue.Set should have comment or be unexported (golint)
    • Line 16: warning: exported method IntValue.Get should have comment or be unexported (golint)
    • largo/values/string.go
    • Line 3: warning: exported type StringValue should have comment or be unexported (golint)
    • Line 5: warning: exported method StringValue.Set should have comment or be unexported (golint)
    • Line 10: warning: exported method StringValue.Get should have comment or be unexported (golint)
    • largo/flagset.go
    • Line 12: warning: exported type FlagSet should have comment or be unexported (golint)
    • Line 20: warning: exported type Flag should have comment or be unexported (golint)
    • Line 26: warning: exported type ErrorHandling should have comment or be unexported (golint)
    • Line 36: warning: exported function NewFlagSet should have comment or be unexported (golint)
    • Line 43: warning: exported method FlagSet.ParseLine should have comment or be unexported (golint)
    • Line 47: warning: exported method FlagSet.Parse should have comment or be unexported (golint)
    • Line 122: warning: exported method FlagSet.Rest should have comment or be unexported (golint)
    • Line 126: warning: exported method FlagSet.StringVar should have comment or be unexported (golint)
    • Line 132: warning: exported method FlagSet.BoolVar should have comment or be unexported (golint)
    • Line 138: warning: exported method FlagSet.IntVar should have comment or be unexported (golint)
    • Line 144: warning: exported method FlagSet.Var should have comment or be unexported (golint)
    • Line 153: warning: exported method FlagSet.Lookup should have comment or be unexported (golint)
    • largo/tokenize.go
    • Line 9: warning: comment on exported function Tokenize should be of the form "Tokenize ..." (golint)
    • Line 14: warning: exported function TokenizeBytes 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!


misspell90%

Misspell Finds commonly misspelled English words