Preparing report...

Report for github.com/alash3al/olive-go

A+    Excellent!    Found 1 issues across 1 files

Tweet

gofmt99%

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!


golint79%

Golint is a linter for Go source code.

    • olive-go/olive.go
    • Line 1: warning: package comment should be of the form "Package olive ..." (golint)
    • Line 21: warning: comment on exported type Context should be of the form "Context ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported method Context.SetStatus should be of the form "SetStatus ..." (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: comment on exported method Context.SetHeader should be of the form "SetHeader ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: comment on exported method Context.AddHeader should be of the form "AddHeader ..." (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: comment on exported method Context.GetHeader should be of the form "GetHeader ..." (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: comment on exported method Context.DelHeader should be of the form "DelHeader ..." (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: comment on exported method Context.GetQuery should be of the form "GetQuery ..." (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: comment on exported method Context.LimitBody should be of the form "LimitBody ..." (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: comment on exported method Context.GetBody should be of the form "GetBody ..." (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: comment on exported method Context.SetBody should be of the form "SetBody ..." (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: comment on exported type App should be of the form "App ..." (with optional leading article) (golint)
    • Line 129: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 138: warning: comment on exported method App.GroupBy should be of the form "GroupBy ..." (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: comment on exported method App.METHOD should be of the form "METHOD ..." (golint)
    • Line 159: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: comment on exported method App.ANY should be of the form "ANY ..." (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: comment on exported method App.GET should be of the form "GET ..." (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: comment on exported method App.POST should be of the form "POST ..." (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: comment on exported method App.PUT should be of the form "PUT ..." (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 193: warning: comment on exported method App.PATCH should be of the form "PATCH ..." (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 199: warning: comment on exported method App.HEAD should be of the form "HEAD ..." (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 205: warning: comment on exported method App.DELETE should be of the form "DELETE ..." (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 211: warning: comment on exported method App.OPTIONS should be of the form "OPTIONS ..." (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 217: warning: comment on exported method App.TRACE should be of the form "TRACE ..." (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: comment on exported method App.CONNECT should be of the form "CONNECT ..." (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 230: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: don't use underscores in Go names; var current_path should be currentPath (golint)
    • Line 233: warning: don't use underscores in Go names; var current_method should be currentMethod (golint)
    • Line 234: warning: don't use underscores in Go names; var current_host should be currentHost (golint)
    • Line 237: warning: don't use underscores in Go names; var re_vhost should be reVhost (golint)
    • Line 237: warning: don't use underscores in Go names; var re_path should be rePath (golint)
    • Line 259: warning: comment on exported method App.Listen should be of the form "Listen ..." (golint)
    • Line 260: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 264: warning: comment on exported method App.ListenTLS should be of the form "ListenTLS ..." (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: comment on exported function Handler should be of the form "Handler ..." (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!