Preparing report...

Report for github.com/ysicing/go-utils

A+    Excellent!    Found 2 issues across 32 files

Tweet

gofmt93%

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!


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!


golint96%

Golint is a linter for Go source code.

    • go-utils/exmisc/color.go
    • Line 39: warning: comment on exported function Green should be of the form "Green ..." (golint)
    • Line 44: warning: comment on exported function White should be of the form "White ..." (golint)
    • Line 49: warning: comment on exported function Yellow should be of the form "Yellow ..." (golint)
    • Line 54: warning: comment on exported function Red should be of the form "Red ..." (golint)
    • Line 59: warning: comment on exported function Blue should be of the form "Blue ..." (golint)
    • Line 64: warning: comment on exported function Magenta should be of the form "Magenta ..." (golint)
    • Line 69: warning: comment on exported function Cyan should be of the form "Cyan ..." (golint)
    • Line 76: warning: comment on exported function SGreen should be of the form "SGreen ..." (golint)
    • Line 81: warning: comment on exported function SWhite should be of the form "SWhite ..." (golint)
    • Line 86: warning: comment on exported function SYellow should be of the form "SYellow ..." (golint)
    • Line 91: warning: comment on exported function SRed should be of the form "SRed ..." (golint)
    • Line 96: warning: comment on exported function SBlue should be of the form "SBlue ..." (golint)
    • Line 101: warning: comment on exported function SMagenta should be of the form "SMagenta ..." (golint)
    • Line 106: warning: comment on exported function SCyan should be of the form "SCyan ..." (golint)
    • Line 113: warning: comment on exported function GreenBG should be of the form "GreenBG ..." (golint)
    • Line 118: warning: comment on exported function WhiteBG should be of the form "WhiteBG ..." (golint)
    • Line 123: warning: comment on exported function YellowBG should be of the form "YellowBG ..." (golint)
    • Line 128: warning: comment on exported function RedBG should be of the form "RedBG ..." (golint)
    • Line 133: warning: comment on exported function BlueBG should be of the form "BlueBG ..." (golint)
    • Line 138: warning: comment on exported function MagentaBG should be of the form "MagentaBG ..." (golint)
    • Line 143: warning: comment on exported function CyanBG should be of the form "CyanBG ..." (golint)
    • Line 150: warning: comment on exported function SGreenBG should be of the form "SGreenBG ..." (golint)
    • Line 155: warning: comment on exported function SWhiteBG should be of the form "SWhiteBG ..." (golint)
    • Line 160: warning: comment on exported function SYellowBG should be of the form "SYellowBG ..." (golint)
    • Line 165: warning: comment on exported function SRedBG should be of the form "SRedBG ..." (golint)
    • Line 170: warning: comment on exported function SBlueBG should be of the form "SBlueBG ..." (golint)
    • Line 175: warning: comment on exported function SMagentaBG should be of the form "SMagentaBG ..." (golint)
    • Line 180: warning: comment on exported function SCyanBG should be of the form "SCyanBG ..." (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!