Preparing report...

Report for github.com/BlankOn/irgsh-go

A+    Excellent!    Found 11 issues across 22 files

Tweet

gofmt90%

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!


gocyclo90%

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.


golint59%

Golint is a linter for Go source code.

    • irgsh-go/cmd/builder/builder.go
    • Line 26: warning: comment on exported function Build should be of the form "Build ..." (golint)
    • Line 63: warning: exported function BuildPreparation should have comment or be unexported (golint)
    • Line 111: warning: exported function BuildPackage should have comment or be unexported (golint)
    • Line 185: warning: exported function StorePackage should have comment or be unexported (golint)
    • irgsh-go/cmd/builder/init.go
    • Line 13: warning: exported function InitBase should have comment or be unexported (golint)
    • Line 131: warning: exported function UpdateBase should have comment or be unexported (golint)
    • Line 153: warning: exported function InitBuilder should have comment or be unexported (golint)
    • irgsh-go/cmd/chief/handler.go
    • Line 41: warning: exported function PackageSubmitHandler should have comment or be unexported (golint)
    • Line 148: warning: exported function BuildStatusHandler should have comment or be unexported (golint)
    • Line 324: warning: exported function BuildISOHandler should have comment or be unexported (golint)
    • Line 449: warning: exported function MaintainersHandler should have comment or be unexported (golint)
    • Line 467: warning: exported function VersionHandler should have comment or be unexported (golint)
    • irgsh-go/internal/config/config.go
    • Line 13: warning: exported type IrgshConfig should have comment or be unexported (golint)
    • Line 23: warning: exported type ChiefConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type BuilderConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type ISOConfig should have comment or be unexported (golint)
    • Line 38: warning: exported type RepoConfig should have comment or be unexported (golint)
    • irgsh-go/cmd/repo/repo.go
    • Line 28: warning: comment on exported function Repo should be of the form "Repo ..." (golint)
    • Line 159: warning: exported function InitRepo should have comment or be unexported (golint)
    • Line 412: warning: exported function UpdateRepo should have comment or be unexported (golint)
    • irgsh-go/cmd/chief/main.go
    • Line 32: warning: exported type Submission should have comment or be unexported (golint)
    • Line 49: warning: exported type ArtifactsPayloadResponse should have comment or be unexported (golint)
    • Line 53: warning: exported type SubmitPayloadResponse should have comment or be unexported (golint)
    • Line 136: warning: exported function Move should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!