Preparing report...

Report for github.com/matthewdale/fnplot

A    Great!    Found 4 issues across 5 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!


gocyclo80%

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.


golint20%

Golint is a linter for Go source code.

    • fnplot/fnplot.go
    • Line 36: warning: exported type ValuesSet should have comment or be unexported (golint)
    • Line 74: warning: exported method ValuesSet.PointsOn should have comment or be unexported (golint)
    • Line 160: warning: exported function NewFn should have comment or be unexported (golint)
    • Line 194: warning: exported method Fn.ValuesSet should have comment or be unexported (golint)
    • Line 198: warning: exported type Plot should have comment or be unexported (golint)
    • fnplot/gen.go
    • Line 10: warning: exported type Generator should have comment or be unexported (golint)
    • Line 15: warning: exported function Float64Range should have comment or be unexported (golint)
    • Line 19: warning: exported function Float64 should have comment or be unexported (golint)
    • Line 23: warning: exported function Float32Range should have comment or be unexported (golint)
    • Line 27: warning: exported function Float32 should have comment or be unexported (golint)
    • Line 34: warning: exported function RuneRange should have comment or be unexported (golint)
    • Line 38: warning: exported function Rune should have comment or be unexported (golint)
    • Line 42: warning: exported function RuneNoControl should have comment or be unexported (golint)
    • Line 49: warning: exported function NumChar should have comment or be unexported (golint)
    • Line 53: warning: exported function AlphaUpperChar should have comment or be unexported (golint)
    • Line 57: warning: exported function AlphaLowerChar should have comment or be unexported (golint)
    • Line 61: warning: exported function AlphaChar should have comment or be unexported (golint)
    • Line 65: warning: exported function AlphaNumChar should have comment or be unexported (golint)
    • Line 69: warning: exported function UnicodeChar should have comment or be unexported (golint)
    • Line 76: warning: exported function AnyString should have comment or be unexported (golint)
    • Line 80: warning: exported function AlphaString should have comment or be unexported (golint)
    • Line 84: warning: exported function NumString should have comment or be unexported (golint)
    • Line 88: warning: exported function Identifier should have comment or be unexported (golint)
    • Line 92: warning: exported function UnicodeString should have comment or be unexported (golint)
    • fnplot/axis.go
    • Line 9: warning: exported type Axis should have comment or be unexported (golint)
    • Line 14: warning: exported type StdAxix should have comment or be unexported (golint)
    • Line 16: warning: exported method StdAxix.Point should have comment or be unexported (golint)
    • Line 21: warning: exported method StdAxix.SetMaxValue should have comment or be unexported (golint)
    • Line 23: warning: exported type ScaledAxis should have comment or be unexported (golint)
    • Line 28: warning: exported method ScaledAxis.Point should have comment or be unexported (golint)
    • Line 33: warning: exported method ScaledAxis.SetMaxValue should have comment or be unexported (golint)
    • Line 37: warning: exported type LnAxis should have comment or be unexported (golint)
    • Line 39: warning: exported method LnAxis.Point should have comment or be unexported (golint)
    • Line 47: warning: exported method LnAxis.SetMaxValue should have comment or be unexported (golint)
    • Line 49: warning: exported type LnScaledAxis should have comment or be unexported (golint)
    • Line 54: warning: exported method LnScaledAxis.Point should have comment or be unexported (golint)
    • Line 62: warning: exported method LnScaledAxis.SetMaxValue should have comment or be unexported (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!