Preparing report...

Report for github.com/awterman/dataframe

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


gocyclo83%

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.


golint0%

Golint is a linter for Go source code.

    • dataframe/functions/builder.go
    • Line 9: warning: exported type Builder should have comment or be unexported (golint)
    • Line 15: warning: exported function NewBuilder should have comment or be unexported (golint)
    • Line 64: warning: exported method Builder.WriteRow should have comment or be unexported (golint)
    • Line 83: warning: exported method Builder.Build should have comment or be unexported (golint)
    • dataframe/functions/functions.go
    • Line 11: warning: don't use underscores in Go names; func range_ should be range (golint)
    • Line 19: warning: exported function Combine should have comment or be unexported (golint)
    • Line 36: warning: exported function Sort should have comment or be unexported (golint)
    • Line 52: warning: exported function Max should have comment or be unexported (golint)
    • Line 64: warning: exported function Min should have comment or be unexported (golint)
    • dataframe/dataframe.go
    • Line 5: warning: exported type DataFrame should have comment or be unexported (golint)
    • Line 24: warning: exported function NewDataFrame should have comment or be unexported (golint)
    • dataframe/options.go
    • Line 26: warning: exported type Option should have comment or be unexported (golint)
    • Line 28: warning: exported function WithFormatter should have comment or be unexported (golint)
    • dataframe/series.go
    • Line 3: warning: exported type Type should have comment or be unexported (golint)
    • Line 6: warning: exported const None should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported type Series should have comment or be unexported (golint)
    • Line 53: warning: exported type CustomSeries should have comment or be unexported (golint)
    • Line 59: warning: exported function NewSeries should have comment or be unexported (golint)
    • dataframe/series_impl.go
    • Line 18: warning: exported function NewBoolSeries should have comment or be unexported (golint)
    • Line 92: warning: exported function NewNumberSeries should have comment or be unexported (golint)
    • Line 166: warning: exported function NewStringSeries should have comment or be unexported (golint)
    • Line 240: warning: exported function NewPlaceholderSeries should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign83%

IneffAssign detects ineffectual assignments in Go code.

    • dataframe/functions/builder.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/awterman/dataframe (invalid package name: "") (ineffassign)
    • Line 68: warning: b.GetSeries undefined (type *Builder has no field or method GetSeries) (ineffassign)
    • Line 70: warning: b.NRow undefined (type *Builder has no field or method NRow) (ineffassign)
    • Line 71: warning: b.AppendSeries undefined (type *Builder has no field or method AppendSeries) (ineffassign)
    • Line 73: warning: b.NRow undefined (type *Builder has no field or method NRow) (ineffassign)
    • Line 74: warning: b.SetSeriesDirectly undefined (type *Builder has no field or method SetSeriesDirectly) (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!