Preparing report...

Report for github.com/monadicstack/frodo

A+    Excellent!    Found 15 issues across 53 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!


golint84%

Golint is a linter for Go source code.

    • frodo/example/names/name_service.go
    • Line 5: warning: exported type NameService should have comment or be unexported (golint)
    • Line 12: warning: exported type NameRequest should have comment or be unexported (golint)
    • Line 16: warning: exported type SplitRequest should have comment or be unexported (golint)
    • Line 18: warning: exported type SplitResponse should have comment or be unexported (golint)
    • Line 23: warning: exported type FirstNameRequest should have comment or be unexported (golint)
    • Line 27: warning: exported type FirstNameResponse should have comment or be unexported (golint)
    • Line 31: warning: exported type LastNameRequest should have comment or be unexported (golint)
    • Line 35: warning: exported type LastNameResponse should have comment or be unexported (golint)
    • Line 39: warning: exported type SortNameRequest should have comment or be unexported (golint)
    • Line 43: warning: exported type SortNameResponse should have comment or be unexported (golint)
    • frodo/example/names/name_service_handler.go
    • Line 11: warning: exported type NameServiceHandler should have comment or be unexported (golint)
    • Line 14: warning: exported method NameServiceHandler.Split should have comment or be unexported (golint)
    • Line 30: warning: exported method NameServiceHandler.FirstName should have comment or be unexported (golint)
    • Line 38: warning: exported method NameServiceHandler.LastName should have comment or be unexported (golint)
    • Line 46: warning: exported method NameServiceHandler.SortName should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign86%

IneffAssign detects ineffectual assignments in Go code.

    • frodo/example/multiservice/main.go
    • Line 9: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/games/gen; to add it: (ineffassign)
    • Line 11: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/scores/gen; to add it: (ineffassign)
    • Line 9: warning: could not import github.com/monadicstack/frodo/example/multiservice/games/gen (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/monadicstack/frodo/example/multiservice/scores/gen (invalid package name: "") (ineffassign)
    • frodo/example/multiservice/scores/cmd/main.go
    • Line 6: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/games/gen; to add it: (ineffassign)
    • Line 8: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/scores/gen; to add it: (ineffassign)
    • Line 6: warning: could not import github.com/monadicstack/frodo/example/multiservice/games/gen (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/monadicstack/frodo/example/multiservice/scores/gen (invalid package name: "") (ineffassign)
    • frodo/example/basic/calc/cmd/main.go
    • Line 7: warning: no required module provides package github.com/monadicstack/frodo/example/basic/calc/gen; to add it: (ineffassign)
    • Line 7: warning: could not import github.com/monadicstack/frodo/example/basic/calc/gen (invalid package name: "") (ineffassign)
    • frodo/example/names/cmd/main.go
    • Line 7: warning: no required module provides package github.com/monadicstack/frodo/example/names/gen; to add it: (ineffassign)
    • Line 7: warning: could not import github.com/monadicstack/frodo/example/names/gen (invalid package name: "") (ineffassign)
    • frodo/example/multiservice/games/cmd/main.go
    • Line 7: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/games/gen; to add it: (ineffassign)
    • Line 7: warning: could not import github.com/monadicstack/frodo/example/multiservice/games/gen (invalid package name: "") (ineffassign)
    • frodo/example/compose/main.go
    • Line 11: warning: no required module provides package github.com/monadicstack/frodo/example/basic/calc/gen; to add it: (ineffassign)
    • Line 13: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/games/gen; to add it: (ineffassign)
    • Line 15: warning: no required module provides package github.com/monadicstack/frodo/example/multiservice/scores/gen; to add it: (ineffassign)
    • Line 11: warning: could not import github.com/monadicstack/frodo/example/basic/calc/gen (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/monadicstack/frodo/example/multiservice/games/gen (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/monadicstack/frodo/example/multiservice/scores/gen (invalid package name: "") (ineffassign)
    • frodo/example/basic/main.go
    • Line 9: warning: no required module provides package github.com/monadicstack/frodo/example/basic/calc/gen; to add it: (ineffassign)
    • Line 9: warning: could not import github.com/monadicstack/frodo/example/basic/calc/gen (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!