Preparing report...

Report for github.com/frouioui/tagenal

A+    Excellent!    Found 13 issues across 35 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!


golint62%

Golint is a linter for Go source code.

    • tagenal/jobs/popularity/main.go
    • Line 19: warning: exported type UserReadCount should have comment or be unexported (golint)
    • Line 24: warning: exported type Popularity should have comment or be unexported (golint)
    • Line 32: warning: exported type DatabaseManager should have comment or be unexported (golint)
    • Line 37: warning: exported type Params should have comment or be unexported (golint)
    • tagenal/frontend/main.go
    • Line 21: warning: exported type Template should have comment or be unexported (golint)
    • Line 25: warning: exported method Template.Render should have comment or be unexported (golint)
    • tagenal/frontend/client/articles.go
    • Line 39: warning: exported function InitArticlesGRPC should have comment or be unexported (golint)
    • Line 50: warning: exported function ArticlesFromIDGRPC should have comment or be unexported (golint)
    • Line 80: warning: exported function ArticleFromID should have comment or be unexported (golint)
    • Line 118: warning: exported function ArticlesFromCategoryGRPC should have comment or be unexported (golint)
    • Line 135: warning: exported function ArticlesFromCategory should have comment or be unexported (golint)
    • Line 173: warning: exported function ArticlesFromRegionGRPC should have comment or be unexported (golint)
    • Line 190: warning: exported function ArticlesFromRegion should have comment or be unexported (golint)
    • tagenal/frontend/models/info.go
    • Line 3: warning: exported type ServiceInfo should have comment or be unexported (golint)
    • Line 10: warning: exported function GetDefaultServicesInfos should have comment or be unexported (golint)
    • tagenal/frontend/client/users.go
    • Line 42: warning: exported function InitUsersGRPC should have comment or be unexported (golint)
    • Line 54: warning: exported function UsersFromIDGRPC should have comment or be unexported (golint)
    • Line 86: warning: exported function UserFromID should have comment or be unexported (golint)
    • Line 121: warning: exported function UsersFromRegionGRPC should have comment or be unexported (golint)
    • Line 151: warning: exported function UsersFromRegion should have comment or be unexported (golint)
    • tagenal/frontend/models/articles.go
    • Line 12: warning: exported type Article should have comment or be unexported (golint)
    • Line 27: warning: exported function TransformProtosToArticles should have comment or be unexported (golint)
    • Line 47: warning: exported method Article.GetAssetsInfo should have comment or be unexported (golint)
    • Line 67: warning: exported method Article.GetText should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!