Preparing report...

Report for github.com/senselogic/GENERIS

D    Needs lots of improvement    Found 2 issues across 2 files

Tweet

gofmt0%

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!


golint0%

Golint is a linter for Go source code.

    • GENERIS/SAMPLE/GO/sample.go
    • Line 29: warning: exported type StringStack should have comment or be unexported (golint)
    • Line 35: warning: exported method StringStack.IsEmpty should have comment or be unexported (golint)
    • Line 41: warning: exported method StringStack.Push should have comment or be unexported (golint)
    • Line 47: warning: exported method StringStack.Pop should have comment or be unexported (golint)
    • Line 58: warning: exported type Int32Stack should have comment or be unexported (golint)
    • Line 64: warning: exported method Int32Stack.IsEmpty should have comment or be unexported (golint)
    • Line 70: warning: exported method Int32Stack.Push should have comment or be unexported (golint)
    • Line 76: warning: exported method Int32Stack.Pop should have comment or be unexported (golint)
    • Line 88: warning: exported function HandleRootPage should have comment or be unexported (golint)
    • Line 88: warning: don't use underscores in Go names; func parameter response_writer should be responseWriter (golint)
    • Line 93: warning: don't use underscores in Go names; var escaped_html_text should be escapedHTMLText (golint)
    • Line 93: warning: don't use underscores in Go names; var escaped_url_text should be escapedURLText (golint)
    • Line 94: warning: don't use underscores in Go names; var integer_stack should be integerStack (golint)
    • GENERIS/TEST/GO/test.go
    • Line 35: warning: exported type Int32Stack should have comment or be unexported (golint)
    • Line 41: warning: exported function HandleRootPage should have comment or be unexported (golint)
    • Line 41: warning: don't use underscores in Go names; func parameter response_writer should be responseWriter (golint)
    • Line 42: warning: don't use underscores in Go names; var real_32 should be real32 (golint)
    • Line 43: warning: don't use underscores in Go names; var real_64 should be real64 (golint)
    • Line 44: warning: don't use underscores in Go names; var integer_8 should be integer8 (golint)
    • Line 45: warning: don't use underscores in Go names; var integer_16 should be integer16 (golint)
    • Line 46: warning: don't use underscores in Go names; var integer_32 should be integer32 (golint)
    • Line 47: warning: don't use underscores in Go names; var integer_64 should be integer64 (golint)
    • Line 48: warning: don't use underscores in Go names; var escaped_html_text should be escapedHTMLText (golint)
    • Line 48: warning: don't use underscores in Go names; var escaped_url_text should be escapedURLText (golint)
    • Line 49: warning: don't use underscores in Go names; var natural_8 should be natural8 (golint)
    • Line 50: warning: don't use underscores in Go names; var natural_16 should be natural16 (golint)
    • Line 51: warning: don't use underscores in Go names; var natural_32 should be natural32 (golint)
    • Line 52: warning: don't use underscores in Go names; var natural_64 should be natural64 (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!