Preparing report...

Report for github.com/leighmcculloch/go-biblepassageapi

A    Great!    Found 6 issues across 6 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!


golint0%

Golint is a linter for Go source code.

    • go-biblepassageapi/bible_net.go
    • Line 9: warning: exported type BibleNET should have comment or be unexported (golint)
    • Line 11: warning: exported function NewBibleNET should have comment or be unexported (golint)
    • Line 15: warning: exported method BibleNET.Source should have comment or be unexported (golint)
    • Line 19: warning: exported method BibleNET.NameShort should have comment or be unexported (golint)
    • Line 23: warning: exported method BibleNET.NameCommon should have comment or be unexported (golint)
    • Line 27: warning: exported method BibleNET.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method BibleNET.GetPassage should have comment or be unexported (golint)
    • go-biblepassageapi/passage.go
    • Line 5: warning: exported type Passage should have comment or be unexported (golint)
    • Line 11: warning: exported method Passage.TimeToReadInMinutes should have comment or be unexported (golint)
    • go-biblepassageapi/bible_biblesorg.go
    • Line 21: warning: exported var CEV should have comment or be unexported (golint)
    • Line 62: warning: exported type BibleBiblesOrg should have comment or be unexported (golint)
    • Line 67: warning: exported function NewBiblesOrg should have comment or be unexported (golint)
    • Line 71: warning: exported method BibleBiblesOrg.Source should have comment or be unexported (golint)
    • Line 75: warning: exported method BibleBiblesOrg.NameShort should have comment or be unexported (golint)
    • Line 79: warning: exported method BibleBiblesOrg.NameCommon should have comment or be unexported (golint)
    • Line 83: warning: exported method BibleBiblesOrg.Name should have comment or be unexported (golint)
    • Line 87: warning: exported method BibleBiblesOrg.GetPassage should have comment or be unexported (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-biblepassageapi/bible_esvapi.go
    • Line 9: warning: exported type BibleESVAPI should have comment or be unexported (golint)
    • Line 13: warning: exported function NewESVAPI should have comment or be unexported (golint)
    • Line 17: warning: exported method BibleESVAPI.Source should have comment or be unexported (golint)
    • Line 21: warning: exported method BibleESVAPI.NameShort should have comment or be unexported (golint)
    • Line 25: warning: exported method BibleESVAPI.NameCommon should have comment or be unexported (golint)
    • Line 29: warning: exported method BibleESVAPI.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method BibleESVAPI.GetPassage 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!