Preparing report...

Report for github.com/aserto-dev/mage-loot

A+    Excellent!    Found 11 issues across 28 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.


golint60%

Golint is a linter for Go source code.

    • mage-loot/fsutil/glob.go
    • Line 14: warning: exported function Glob should have comment or be unexported (golint)
    • Line 58: warning: exported method Globs.Expand should have comment or be unexported (golint)
    • mage-loot/common/openapi.go
    • Line 18: warning: exported function CreateOpenAPI should have comment or be unexported (golint)
    • Line 46: warning: exported function MergeOpenAPI should have comment or be unexported (golint)
    • Line 117: warning: exported function CopyOpenAPI should have comment or be unexported (golint)
    • mage-loot/common/version.go
    • Line 9: warning: exported function Commit should have comment or be unexported (golint)
    • Line 18: warning: exported function Version should have comment or be unexported (golint)
    • mage-loot/dotnet/dotnetbuild/dotnetbuild.go
    • Line 64: warning: comment on exported function Output should be of the form "Output ..." (golint)
    • Line 67: warning: comment on exported function Framework should be of the form "Framework ..." (golint)
    • Line 70: warning: comment on exported function Configuration should be of the form "Configuration ..." (golint)
    • Line 73: warning: comment on exported function Runtime should be of the form "Runtime ..." (golint)
    • Line 76: warning: comment on exported function VersionSuffix should be of the form "VersionSuffix ..." (golint)
    • Line 79: warning: comment on exported function NoIncremental should be of the form "NoIncremental ..." (golint)
    • Line 82: warning: comment on exported function NoDependencies should be of the form "NoDependencies ..." (golint)
    • Line 85: warning: comment on exported function NoLogo should be of the form "NoLogo ..." (golint)
    • Line 88: warning: comment on exported function NoRestore should be of the form "NoRestore ..." (golint)
    • Line 91: warning: comment on exported function Interactive should be of the form "Interactive ..." (golint)
    • Line 94: warning: comment on exported function Verbosity should be of the form "Verbosity ..." (golint)
    • mage-loot/dotnet/dotnetrestore/dotnetrestore.go
    • Line 64: warning: comment on exported function Source should be of the form "Source ..." (golint)
    • Line 67: warning: comment on exported function Runtime should be of the form "Runtime ..." (golint)
    • Line 70: warning: comment on exported function Packages should be of the form "Packages ..." (golint)
    • Line 73: warning: comment on exported function DisableParallel should be of the form "DisableParallel ..." (golint)
    • Line 76: warning: comment on exported function ConfigFile should be of the form "ConfigFile ..." (golint)
    • Line 79: warning: comment on exported function NoCache should be of the form "NoCache ..." (golint)
    • Line 82: warning: comment on exported function IgnoreFailedSources should be of the form "IgnoreFailedSources ..." (golint)
    • Line 85: warning: comment on exported function NoDependencies should be of the form "NoDependencies ..." (golint)
    • Line 92: warning: comment on exported function Verbosity should be of the form "Verbosity ..." (golint)
    • Line 95: warning: comment on exported function Interactive should be of the form "Interactive ..." (golint)
    • Line 98: warning: comment on exported function LockedMode should be of the form "LockedMode ..." (golint)
    • Line 101: warning: comment on exported function LockFilePath should be of the form "LockFilePath ..." (golint)
    • Line 104: warning: comment on exported function ForceElevate should be of the form "ForceElevate ..." (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!