Preparing report...

Report for gitlab.com/Ma_124/awesome-framework

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


gocyclo87%

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.


golint50%

Golint is a linter for Go source code.

    • /gitlab.com/Ma_124/awesome-framework/byname.go
    • Line 10: warning: exported function InputByName should have comment or be unexported (golint)
    • Line 32: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 40: warning: exported function OutputByName should have comment or be unexported (golint)
    • Line 74: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • /gitlab.com/Ma_124/awesome-framework/compile.go
    • Line 11: warning: comment on exported type Input should be of the form "Input ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type Ctx should be of the form "Ctx ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported type Output should be of the form "Output ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type ApisCfg should be of the form "ApisCfg ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported type ApiCfg should be of the form "ApiCfg ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported function CompileFile should be of the form "CompileFile ..." (golint)
    • Line 82: warning: exported function NewCtx should have comment or be unexported (golint)
    • Line 88: warning: exported function NewDebugReqsApisCfg should have comment or be unexported (golint)
    • Line 95: warning: exported function NewDebugCfg should have comment or be unexported (golint)
    • Line 102: warning: exported function NewDebugCtx should have comment or be unexported (golint)
    • Line 106: warning: comment on exported function Compile should be of the form "Compile ..." (golint)
    • /gitlab.com/Ma_124/awesome-framework/markdown.go
    • Line 10: warning: comment on exported function InputMarkdown should be of the form "InputMarkdown ..." (golint)
    • Line 43: warning: comment on exported function OutputSimpleMarkdown should be of the form "OutputSimpleMarkdown ..." (golint)
    • Line 51: warning: comment on exported function OutputMarkdown should be of the form "OutputMarkdown ..." (golint)
    • Line 109: warning: comment on exported function OutputSimpleMarkdownHtml should be of the form "OutputSimpleMarkdownHtml ..." (golint)
    • Line 114: warning: comment on exported function OutputMarkdownHtml should be of the form "OutputMarkdownHtml ..." (golint)
    • Line 144: warning: exported function OutputBlackfriday should have comment or be unexported (golint)
    • /gitlab.com/Ma_124/awesome-framework/meta.go
    • Line 18: warning: comment on exported type Meta should be of the form "Meta ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported const NA should be of the form "NA ..." (golint)
    • Line 64: warning: comment on exported function FetchMeta should be of the form "FetchMeta ..." (golint)
    • /gitlab.com/Ma_124/awesome-framework/tabsep.go
    • Line 10: warning: exported var NameUrlDescTabSepPattern should have comment or be unexported (golint)
    • Line 18: warning: comment on exported function InputTabSep should be of the form "InputTabSep ..." (golint)
    • Line 89: warning: comment on exported function OutputTabSep should be of the form "OutputTabSep ..." (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!