Preparing report...

Report for github.com/SAP/sap-btp-service-operator-migration

A    Great!    Found 8 issues across 9 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!


gocyclo88%

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.


golint11%

Golint is a linter for Go source code.

    • sap-btp-service-operator-migration/migrate/migrator.go
    • Line 32: warning: exported type Migrator should have comment or be unexported (golint)
    • Line 57: warning: exported type ExecutionMode should have comment or be unexported (golint)
    • Line 60: warning: exported const Run should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported const ServiceInstances should have comment or be unexported (golint)
    • Line 66: warning: exported const ServiceBindings should have comment or be unexported (golint)
    • Line 68: warning: exported function NewMigrator should have comment or be unexported (golint)
    • Line 106: warning: exported method Migrator.Migrate should have comment or be unexported (golint)
    • sap-btp-service-operator-migration/sapoperator/register.go
    • Line 11: warning: exported const SVCATGroupName should have comment or be unexported (golint)
    • Line 12: warning: exported const SVCATGroupVersion should have comment or be unexported (golint)
    • Line 13: warning: exported const OperatorGroupName should have comment or be unexported (golint)
    • Line 14: warning: exported const OperatorGroupVersion should have comment or be unexported (golint)
    • Line 16: warning: exported var SvcatSchemeGroupVersion should have comment or be unexported (golint)
    • Line 17: warning: exported var OperatorSchemeGroupVersion should have comment or be unexported (golint)
    • Line 20: warning: exported var SchemeBuilder should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (signal: killed)


misspell77%

Misspell Finds commonly misspelled English words