Preparing report...

Report for github.com/tinyhubs/et

A    Great!    Found 7 issues across 9 files

Tweet

gofmt55%

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!


golint66%

Golint is a linter for Go source code.

    • et/et/et-ext.go
    • Line 9: warning: exported type Equal should have comment or be unexported (golint)
    • Line 14: warning: exported method Equal.Assert should have comment or be unexported (golint)
    • Line 22: warning: exported type NotEqual should have comment or be unexported (golint)
    • Line 27: warning: exported method NotEqual.Assert should have comment or be unexported (golint)
    • Line 35: warning: exported type True should have comment or be unexported (golint)
    • Line 39: warning: exported method True.Assert should have comment or be unexported (golint)
    • Line 47: warning: exported type False should have comment or be unexported (golint)
    • Line 51: warning: exported method False.Assert should have comment or be unexported (golint)
    • Line 59: warning: exported type Panic should have comment or be unexported (golint)
    • Line 63: warning: exported method Panic.Assert should have comment or be unexported (golint)
    • Line 82: warning: exported type NoPanic should have comment or be unexported (golint)
    • Line 86: warning: exported method NoPanic.Assert should have comment or be unexported (golint)
    • Line 104: warning: exported type Match should have comment or be unexported (golint)
    • Line 109: warning: exported method Match.Assert should have comment or be unexported (golint)
    • Line 118: warning: exported type NotMatch should have comment or be unexported (golint)
    • Line 123: warning: exported method NotMatch.Assert should have comment or be unexported (golint)
    • Line 132: warning: exported type Nil should have comment or be unexported (golint)
    • Line 136: warning: exported method Nil.Assert should have comment or be unexported (golint)
    • Line 144: warning: exported type NotNil should have comment or be unexported (golint)
    • Line 148: warning: exported method NotNil.Assert should have comment or be unexported (golint)
    • et/expect/expect.go
    • Line 8: warning: comment on exported function Equal should be of the form "Equal ..." (golint)
    • Line 13: warning: exported function Equali should have comment or be unexported (golint)
    • Line 22: warning: comment on exported function NotEquali should be of the form "NotEquali ..." (golint)
    • Line 32: warning: comment on exported function Truei should be of the form "Truei ..." (golint)
    • Line 62: warning: comment on exported function NoPanici should be of the form "NoPanici ..." (golint)
    • Line 77: warning: exported function NotMatch should have comment or be unexported (golint)
    • Line 81: warning: exported function NotMatchi should have comment or be unexported (golint)
    • Line 85: warning: exported function Nil should have comment or be unexported (golint)
    • Line 89: warning: exported function Nili should have comment or be unexported (golint)
    • Line 93: warning: exported function NotNil should have comment or be unexported (golint)
    • Line 97: warning: exported function NotNili should have comment or be unexported (golint)
    • et/et/et-core.go
    • Line 8: warning: exported type Assertor should have comment or be unexported (golint)
    • Line 12: warning: exported function AssertInner should have comment or be unexported (golint)
    • Line 24: warning: exported function ExpectInner should have comment or be unexported (golint)
    • Line 36: warning: exported function Assert should have comment or be unexported (golint)
    • Line 40: warning: exported function Asserti should have comment or be unexported (golint)
    • Line 44: warning: exported function Expect should have comment or be unexported (golint)
    • Line 48: warning: exported function Expecti 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!