Preparing report...

Report for github.com/powerman/sensitive

A+    Excellent!    Found 18 issues across 40 files

Tweet

gofmt97%

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


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!


golint57%

Golint is a linter for Go source code.

    • sensitive/float64.go
    • Line 14: warning: exported var FormatFloat64Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Float64 should have comment or be unexported (golint)
    • Line 19: warning: exported method Float64.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Float64.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Float64.MarshalText should have comment or be unexported (golint)
    • sensitive/int32.go
    • Line 14: warning: exported var FormatInt32Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Int32 should have comment or be unexported (golint)
    • Line 19: warning: exported method Int32.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Int32.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Int32.MarshalText should have comment or be unexported (golint)
    • sensitive/uint32.go
    • Line 14: warning: exported var FormatUint32Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Uint32 should have comment or be unexported (golint)
    • Line 19: warning: exported method Uint32.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint32.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Uint32.MarshalText should have comment or be unexported (golint)
    • sensitive/uint8.go
    • Line 14: warning: exported var FormatUint8Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Uint8 should have comment or be unexported (golint)
    • Line 19: warning: exported method Uint8.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint8.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Uint8.MarshalText should have comment or be unexported (golint)
    • sensitive/bool.go
    • Line 14: warning: exported var FormatBoolFn should have comment or be unexported (golint)
    • Line 17: warning: exported type Bool should have comment or be unexported (golint)
    • Line 19: warning: exported method Bool.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Bool.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Bool.MarshalText should have comment or be unexported (golint)
    • sensitive/decimal.go
    • Line 16: warning: exported var FormatDecimalFn should have comment or be unexported (golint)
    • Line 19: warning: exported type Decimal should have comment or be unexported (golint)
    • Line 21: warning: exported method Decimal.Format should have comment or be unexported (golint)
    • Line 25: warning: exported method Decimal.MarshalJSON should have comment or be unexported (golint)
    • Line 38: warning: exported method Decimal.MarshalText should have comment or be unexported (golint)
    • sensitive/int.go
    • Line 14: warning: exported var FormatIntFn should have comment or be unexported (golint)
    • Line 17: warning: exported type Int should have comment or be unexported (golint)
    • Line 19: warning: exported method Int.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Int.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Int.MarshalText should have comment or be unexported (golint)
    • sensitive/int8.go
    • Line 14: warning: exported var FormatInt8Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Int8 should have comment or be unexported (golint)
    • Line 19: warning: exported method Int8.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Int8.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Int8.MarshalText should have comment or be unexported (golint)
    • sensitive/uint.go
    • Line 14: warning: exported var FormatUintFn should have comment or be unexported (golint)
    • Line 17: warning: exported type Uint should have comment or be unexported (golint)
    • Line 19: warning: exported method Uint.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Uint.MarshalText should have comment or be unexported (golint)
    • sensitive/bytes.go
    • Line 13: warning: exported var FormatBytesFn should have comment or be unexported (golint)
    • Line 16: warning: exported type Bytes should have comment or be unexported (golint)
    • Line 18: warning: exported method Bytes.Format should have comment or be unexported (golint)
    • Line 22: warning: exported method Bytes.MarshalJSON should have comment or be unexported (golint)
    • Line 28: warning: exported method Bytes.MarshalText should have comment or be unexported (golint)
    • sensitive/int16.go
    • Line 14: warning: exported var FormatInt16Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Int16 should have comment or be unexported (golint)
    • Line 19: warning: exported method Int16.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Int16.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Int16.MarshalText should have comment or be unexported (golint)
    • sensitive/int64.go
    • Line 14: warning: exported var FormatInt64Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Int64 should have comment or be unexported (golint)
    • Line 19: warning: exported method Int64.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Int64.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Int64.MarshalText should have comment or be unexported (golint)
    • sensitive/string.go
    • Line 13: warning: exported var FormatStringFn should have comment or be unexported (golint)
    • Line 16: warning: exported type String should have comment or be unexported (golint)
    • Line 18: warning: exported method String.Format should have comment or be unexported (golint)
    • Line 22: warning: exported method String.MarshalJSON should have comment or be unexported (golint)
    • Line 28: warning: exported method String.MarshalText should have comment or be unexported (golint)
    • sensitive/uint16.go
    • Line 14: warning: exported var FormatUint16Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Uint16 should have comment or be unexported (golint)
    • Line 19: warning: exported method Uint16.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint16.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Uint16.MarshalText should have comment or be unexported (golint)
    • sensitive/float32.go
    • Line 14: warning: exported var FormatFloat32Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Float32 should have comment or be unexported (golint)
    • Line 19: warning: exported method Float32.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Float32.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Float32.MarshalText should have comment or be unexported (golint)
    • sensitive/sensitive.go
    • Line 17: warning: exported type State should have comment or be unexported (golint)
    • Line 26: warning: exported method State.Width should have comment or be unexported (golint)
    • Line 30: warning: exported method State.Precision should have comment or be unexported (golint)
    • Line 34: warning: exported method State.Flag should have comment or be unexported (golint)
    • sensitive/uint64.go
    • Line 14: warning: exported var FormatUint64Fn should have comment or be unexported (golint)
    • Line 17: warning: exported type Uint64 should have comment or be unexported (golint)
    • Line 19: warning: exported method Uint64.Format should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint64.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method Uint64.MarshalText 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!