Preparing report...

Report for github.com/JosiahWitt/lambgo

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


golint61%

Golint is a linter for Go source code.

    • lambgo/internal/builder/builder.go
    • Line 16: warning: exported type ErkMultipleFailures should have comment or be unexported (golint)
    • Line 17: warning: exported type ErkBuildError should have comment or be unexported (golint)
    • Line 21: warning: exported var ErrMultipleBuildFailures should have comment or be unexported (golint)
    • Line 27: warning: exported type LambdaBuilderAPI should have comment or be unexported (golint)
    • Line 31: warning: exported type LambdaBuilder should have comment or be unexported (golint)
    • lambgo/internal/lambgofile/lambgofile.go
    • Line 32: warning: exported type ErkCannotLoadConfig should have comment or be unexported (golint)
    • Line 35: warning: exported var ErrCannotFindGoModule should have comment or be unexported (golint)
    • Line 41: warning: exported type LoaderAPI should have comment or be unexported (golint)
    • lambgo/internal/runcmd/runcmd.go
    • Line 10: warning: exported type ExecParams should have comment or be unexported (golint)
    • Line 18: warning: exported type RunnerAPI should have comment or be unexported (golint)
    • Line 22: warning: exported type Runner should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign76%

IneffAssign detects ineffectual assignments in Go code.

    • lambgo/internal/builder/builder_test.go
    • Line 13: warning: no required module provides package github.com/JosiahWitt/lambgo/internal/mocks/mock_runcmd; to add it: (ineffassign)
    • Line 14: warning: no required module provides package github.com/JosiahWitt/lambgo/internal/mocks/mock_zipper; to add it: (ineffassign)
    • Line 13: warning: could not import github.com/JosiahWitt/lambgo/internal/mocks/mock_runcmd (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/JosiahWitt/lambgo/internal/mocks/mock_zipper (invalid package name: "") (ineffassign)
    • lambgo/internal/lambgofile/lambgofile_test.go
    • Line 11: warning: no required module provides package github.com/JosiahWitt/lambgo/internal/mocks/bursavich.dev/fs-shim/io/mock_fs; to add it: (ineffassign)
    • Line 11: warning: could not import github.com/JosiahWitt/lambgo/internal/mocks/bursavich.dev/fs-shim/io/mock_fs (invalid package name: "") (ineffassign)
    • lambgo/internal/cmd/build_test.go
    • Line 11: warning: no required module provides package github.com/JosiahWitt/lambgo/internal/mocks/mock_builder; to add it: (ineffassign)
    • Line 12: warning: no required module provides package github.com/JosiahWitt/lambgo/internal/mocks/mock_lambgofile; to add it: (ineffassign)
    • Line 11: warning: could not import github.com/JosiahWitt/lambgo/internal/mocks/mock_builder (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/JosiahWitt/lambgo/internal/mocks/mock_lambgofile (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!