Preparing report...

Report for github.com/ligurio/recidive

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


golint42%

Golint is a linter for Go source code.

    • recidive/backend_travisci.go
    • Line 13: warning: exported function SyncTravisCI should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; var build_service should be buildService (golint)
    • recidive/backend_circleci.go
    • Line 13: warning: exported function SyncCircleCI should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; var project_path should be projectPath (golint)
    • recidive/backend_cirrusci.go
    • Line 31: warning: exported function SyncCirrusCI should have comment or be unexported (golint)
    • Line 32: warning: don't use underscores in Go names; var graphql_scheme should be graphqlScheme (golint)
    • recidive/backend_common.go
    • Line 25: warning: exported type Backend should have comment or be unexported (golint)
    • Line 37: warning: exported type Artifact should have comment or be unexported (golint)
    • Line 45: warning: comment on exported function NewAPIClient should be of the form "NewAPIClient ..." (golint)
    • Line 55: warning: exported method Backend.GetTestResults should have comment or be unexported (golint)
    • Line 70: warning: exported function DownloadFile should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign42%

IneffAssign detects ineffectual assignments in Go code.

    • recidive/backend_azure_devops.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/build (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/core (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/pipelines (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/testresults (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/shaman-scheduler/testres-formats (invalid package name: "") (ineffassign)
    • Line 130: warning: undeclared name: formats (ineffassign)
    • Line 10: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 5: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/build (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/core (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/pipelines (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/microsoft/azure-devops-go-api/azuredevops/testresults (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/shaman-scheduler/testres-formats (invalid package name: "") (ineffassign)
    • Line 130: warning: undeclared name: formats (ineffassign)
    • Line 10: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_travisci.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/shuheiktgw/go-travis (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 25: warning: undeclared name: formats (ineffassign)
    • Line 32: warning: undeclared name: formats (ineffassign)
    • Line 33: warning: undeclared name: formats (ineffassign)
    • Line 36: warning: undeclared name: formats (ineffassign)
    • Line 43: warning: undeclared name: formats (ineffassign)
    • Line 6: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 7: warning: could not import github.com/shuheiktgw/go-travis (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 25: warning: undeclared name: formats (ineffassign)
    • Line 32: warning: undeclared name: formats (ineffassign)
    • Line 33: warning: undeclared name: formats (ineffassign)
    • Line 36: warning: undeclared name: formats (ineffassign)
    • Line 43: warning: undeclared name: formats (ineffassign)
    • Line 6: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_gitlab.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/xanzy/go-gitlab (invalid package name: "") (ineffassign)
    • Line 12: warning: undeclared name: formats (ineffassign)
    • Line 73: warning: undeclared name: formats (ineffassign)
    • Line 5: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 6: warning: could not import github.com/xanzy/go-gitlab (invalid package name: "") (ineffassign)
    • Line 12: warning: undeclared name: formats (ineffassign)
    • Line 73: warning: undeclared name: formats (ineffassign)
    • Line 5: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_common.go
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 55: warning: undeclared name: formats (ineffassign)
    • Line 6: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 55: warning: undeclared name: formats (ineffassign)
    • Line 6: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_jenkins.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/bndr/gojenkins (invalid package name: "") (ineffassign)
    • Line 10: warning: undeclared name: formats (ineffassign)
    • Line 23: warning: undeclared name: formats (ineffassign)
    • Line 34: warning: undeclared name: formats (ineffassign)
    • Line 36: warning: undeclared name: formats (ineffassign)
    • Line 38: warning: undeclared name: formats (ineffassign)
    • Line 43: warning: undeclared name: formats (ineffassign)
    • Line 5: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 4: warning: could not import github.com/bndr/gojenkins (invalid package name: "") (ineffassign)
    • Line 10: warning: undeclared name: formats (ineffassign)
    • Line 23: warning: undeclared name: formats (ineffassign)
    • Line 34: warning: undeclared name: formats (ineffassign)
    • Line 36: warning: undeclared name: formats (ineffassign)
    • Line 38: warning: undeclared name: formats (ineffassign)
    • Line 43: warning: undeclared name: formats (ineffassign)
    • Line 5: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_teamcity.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/cvbarros/go-teamcity/teamcity (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 8: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 7: warning: could not import github.com/cvbarros/go-teamcity/teamcity (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 8: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_circleci.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/jszwedko/go-circleci (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 22: warning: undeclared name: circleci (ineffassign)
    • Line 6: warning: "github.com/jszwedko/go-circleci" imported but not used (ineffassign)
    • Line 7: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 6: warning: could not import github.com/jszwedko/go-circleci (invalid package name: "") (ineffassign)
    • Line 13: warning: undeclared name: formats (ineffassign)
    • Line 22: warning: undeclared name: circleci (ineffassign)
    • Line 6: warning: "github.com/jszwedko/go-circleci" imported but not used (ineffassign)
    • Line 7: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • recidive/backend_cirrusci.go
    • Line 25: warning: cannot find package "." in: (ineffassign)
    • Line 27: warning: cannot find package "." in: (ineffassign)
    • Line 25: warning: could not import github.com/machinebox/graphql (invalid package name: "") (ineffassign)
    • Line 27: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 31: warning: undeclared name: formats (ineffassign)
    • Line 26: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)
    • Line 25: warning: could not import github.com/machinebox/graphql (invalid package name: "") (ineffassign)
    • Line 27: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 31: warning: undeclared name: formats (ineffassign)
    • Line 26: warning: "github.com/shaman-scheduler/testres-formats" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!