Preparing report...

Report for github.com/SAP/go-ase

A+    Excellent!    Found 19 issues across 42 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!


gocyclo85%

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.

    • go-ase/cursor.go
    • Line 81: warning: cyclomatic complexity 47 of function (*Cursor).allocateOnServer() is high (> 15) (gocyclo)

golint57%

Golint is a linter for Go source code.

    • go-ase/dynamic.go
    • Line 53: warning: don't use underscores in Go names; method parameter create_proc should be createProc (golint)
    • go-ase/info.go
    • Line 15: warning: exported type Info should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function NewInfoWithFlags should be of the form "NewInfoWithFlags ..." (golint)
    • go-ase/conn.go
    • Line 166: warning: receiver name conn should be consistent with previous receiver name c for Conn (golint)
    • go-ase/cursorRows_test.go
    • Line 98: warning: don't use underscores in Go names; func cursorRows_Next should be cursorRowsNext (golint)
    • Line 132: warning: don't use underscores in Go names; func rows_Next should be rowsNext (golint)
    • go-ase/rows.go
    • Line 148: warning: exported method Conn.NewRows should have comment or be unexported (golint)
    • go-ase/examples/recorder/main.go
    • Line 21: warning: exported type Recorder should have comment or be unexported (golint)
    • Line 27: warning: exported function NewRecorder should have comment or be unexported (golint)
    • Line 35: warning: exported method Recorder.Reset should have comment or be unexported (golint)
    • Line 42: warning: exported method Recorder.AddMessage should have comment or be unexported (golint)
    • Line 49: warning: exported method Recorder.LogMessages should have comment or be unexported (golint)
    • Line 64: warning: exported function DoMain 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!