Preparing report...

Report for github.com/chloe-codes1/awsctl

A    Great!    Found 12 issues across 13 files

Tweet

gofmt84%

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!


golint23%

Golint is a linter for Go source code.

    • awsctl/internal/connector/lambda_connector.go
    • Line 12: warning: comment on exported function ListFunctions should be of the form "ListFunctions ..." (golint)
    • Line 37: warning: comment on exported function ListFunctionsPages should be of the form "ListFunctionsPages ..." (golint)
    • Line 52: warning: exported function GetFunction should have comment or be unexported (golint)
    • Line 78: warning: exported function UpdateFunctionConfiguration should have comment or be unexported (golint)
    • awsctl/pkg/lambda/lambda_subnet.go
    • Line 9: warning: exported function GetLambdaWithVpc should have comment or be unexported (golint)
    • Line 35: warning: exported function ModifyLambdaVpcConfig should have comment or be unexported (golint)
    • awsctl/internal/config/config.go
    • Line 11: warning: exported var VPCConf should have comment or be unexported (golint)
    • Line 15: warning: exported type AppConfig should have comment or be unexported (golint)
    • Line 20: warning: exported type VPCConfig should have comment or be unexported (golint)
    • Line 24: warning: exported type SubnetConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type PrivateSubnetConfig should have comment or be unexported (golint)
    • Line 36: warning: exported type ServerlessSubnetConfig should have comment or be unexported (golint)
    • Line 43: warning: exported function ReadConfig should have comment or be unexported (golint)
    • awsctl/internal/connector/aws_client.go
    • Line 11: warning: exported type AWSClient should have comment or be unexported (golint)
    • Line 22: warning: exported function GetLambdaService should have comment or be unexported (golint)
    • Line 29: warning: exported function GetASGService should have comment or be unexported (golint)
    • awsctl/cmd/root.go
    • Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
    • Line 56: warning: exported function Execute should have comment or be unexported (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!