Preparing report...

Report for github.com/triggermesh/aws-event-sources

A+    Excellent!    Found 26 issues across 363 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!


gocyclo96%

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.


golint96%

Golint is a linter for Go source code.

    • aws-event-sources/pkg/apis/sources/v1alpha1/awscloudwatch_types.go
    • Line 64: warning: comment on exported type AWSCloudWatchMetricQuery should be of the form "AWSCloudWatchMetricQuery ..." (with optional leading article) (golint)
    • Line 80: warning: exported type AWSCloudWatchMetricStat should have comment or be unexported (golint)
    • Line 87: warning: exported type AWSCloudWatchMetric should have comment or be unexported (golint)
    • Line 93: warning: exported type AWSCloudWatchMetricDimension should have comment or be unexported (golint)
    • aws-event-sources/pkg/reconciler/testing/reconcile.go
    • Line 72: warning: comment on exported function TestReconcileAdapter should be of the form "TestReconcileAdapter ..." (golint)
    • Line 532: warning: exported function NewServiceAccount should have comment or be unexported (golint)
    • Line 589: warning: exported function NewRoleBinding 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!


misspell99%

Misspell Finds commonly misspelled English words