Preparing report...

Report for github.com/bvinc/go-sqlite-lite

A+    Excellent!    Found 5 issues across 9 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!


gocyclo66%

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.


golint66%

Golint is a linter for Go source code.

    • go-sqlite-lite/sqlite3/session.go
    • Line 44: warning: exported type Session should have comment or be unexported (golint)
    • Line 87: warning: comment on exported method Session.IsIndirect should be of the form "IsIndirect ..." (golint)
    • Line 92: warning: comment on exported method Session.SetIndirect should be of the form "SetIndirect ..." (golint)
    • Line 97: warning: comment on exported method Session.IsEmpty should be of the form "IsEmpty ..." (golint)
    • Line 117: warning: exported method Session.Diff should have comment or be unexported (golint)
    • Line 128: warning: exported method Session.Changeset should have comment or be unexported (golint)
    • Line 139: warning: comment on exported method Session.Patchset should be of the form "Patchset ..." (golint)
    • Line 151: warning: comment on exported method Conn.ChangesetApply should be of the form "ChangesetApply ..." (golint)
    • Line 181: warning: comment on exported function ChangesetInvert should be of the form "ChangesetInvert ..." (golint)
    • Line 198: warning: comment on exported function ChangesetConcat should be of the form "ChangesetConcat ..." (golint)
    • Line 218: warning: exported type ChangesetIter should have comment or be unexported (golint)
    • Line 224: warning: comment on exported function ChangesetIterStart should be of the form "ChangesetIterStart ..." (golint)
    • Line 240: warning: comment on exported method ChangesetIter.Close should be of the form "Close ..." (golint)
    • Line 252: warning: comment on exported method ChangesetIter.Old should be of the form "Old ..." (golint)
    • Line 261: warning: comment on exported method ChangesetIter.New should be of the form "New ..." (golint)
    • Line 270: warning: comment on exported method ChangesetIter.Conflict should be of the form "Conflict ..." (golint)
    • Line 279: warning: exported method ChangesetIter.Next should have comment or be unexported (golint)
    • Line 291: warning: comment on exported method ChangesetIter.Op should be of the form "Op ..." (golint)
    • Line 306: warning: comment on exported method ChangesetIter.FKConflicts should be of the form "FKConflicts ..." (golint)
    • Line 316: warning: comment on exported method ChangesetIter.PK should be of the form "PK ..." (golint)
    • Line 334: warning: exported type OpType should have comment or be unexported (golint)
    • Line 336: warning: exported type ConflictType should have comment or be unexported (golint)
    • Line 339: warning: exported const CHANGESET_DATA should have comment (or a comment on this block) or be unexported (golint)
    • Line 346: warning: exported type ConflictAction should have comment or be unexported (golint)
    • Line 349: warning: exported const CHANGESET_OMIT should have comment (or a comment on this block) or be unexported (golint)
    • Line 354: warning: exported type Changegroup should have comment or be unexported (golint)
    • Line 358: warning: comment on exported function NewChangegroup should be of the form "NewChangegroup ..." (golint)
    • Line 368: warning: comment on exported method Changegroup.Add should be of the form "Add ..." (golint)
    • Line 386: warning: comment on exported method Changegroup.Output should be of the form "Output ..." (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!