Preparing report...

Report for github.com/xyproto/textoutput

A+    Excellent!    Found 1 issues across 7 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!


golint85%

Golint is a linter for Go source code.

    • textoutput/textoutput.go
    • Line 64: warning: comment on exported method TextOutput.OutputWords should be of the form "OutputWords ..." (golint)
    • Line 73: warning: comment on exported method TextOutput.Println should be of the form "Println ..." (golint)
    • Line 80: warning: comment on exported method TextOutput.Printf should be of the form "Printf ..." (golint)
    • Line 100: warning: comment on exported method TextOutput.Print should be of the form "Print ..." (golint)
    • Line 107: warning: comment on exported method TextOutput.Err should be of the form "Err ..." (golint)
    • Line 118: warning: comment on exported method TextOutput.ErrExit should be of the form "ErrExit ..." (golint)
    • Line 124: warning: comment on exported method TextOutput.IsEnabled should be of the form "IsEnabled ..." (golint)
    • Line 139: warning: exported method TextOutput.DarkRed should have comment or be unexported (golint)
    • Line 146: warning: exported method TextOutput.DarkGreen should have comment or be unexported (golint)
    • Line 153: warning: exported method TextOutput.DarkYellow should have comment or be unexported (golint)
    • Line 160: warning: exported method TextOutput.DarkBlue should have comment or be unexported (golint)
    • Line 167: warning: exported method TextOutput.DarkPurple should have comment or be unexported (golint)
    • Line 174: warning: exported method TextOutput.DarkCyan should have comment or be unexported (golint)
    • Line 181: warning: exported method TextOutput.DarkGray should have comment or be unexported (golint)
    • Line 188: warning: exported method TextOutput.LightRed should have comment or be unexported (golint)
    • Line 195: warning: exported method TextOutput.LightGreen should have comment or be unexported (golint)
    • Line 202: warning: exported method TextOutput.LightYellow should have comment or be unexported (golint)
    • Line 209: warning: exported method TextOutput.LightBlue should have comment or be unexported (golint)
    • Line 216: warning: exported method TextOutput.LightPurple should have comment or be unexported (golint)
    • Line 223: warning: exported method TextOutput.LightCyan should have comment or be unexported (golint)
    • Line 230: warning: exported method TextOutput.White should have comment or be unexported (golint)
    • Line 237: warning: comment on exported method TextOutput.Words should be of the form "Words ..." (golint)
    • Line 247: warning: comment on exported method TextOutput.ColorOn should be of the form "ColorOn ..." (golint)
    • Line 255: warning: comment on exported method TextOutput.ColorOff should be of the form "ColorOff ..." (golint)
    • Line 263: warning: comment on exported method TextOutput.LightTags should be of the form "LightTags ..." (golint)
    • Line 269: warning: comment on exported method TextOutput.Tags should be of the form "Tags ..." (golint)
    • Line 287: warning: comment on exported method TextOutput.DarkTags should be of the form "DarkTags ..." (golint)
    • Line 293: warning: exported method TextOutput.DisableColors should have comment or be unexported (golint)
    • Line 298: warning: exported method TextOutput.EnableColors should have comment or be unexported (golint)
    • Line 303: warning: exported method TextOutput.Disable should have comment or be unexported (golint)
    • Line 307: warning: exported method TextOutput.Enable should have comment or be unexported (golint)
    • Line 380: warning: comment on exported method TextOutput.Extract should be of the form "Extract ..." (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!