Preparing report...

Report for github.com/AdikaStyle/go-df

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


golint22%

Golint is a linter for Go source code.

    • go-df/dataframe/default_joinable.go
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/types/datetime.go
    • Line 9: warning: exported type Datetime should have comment or be unexported (golint)
    • Line 15: warning: exported method Datetime.Equals should have comment or be unexported (golint)
    • Line 24: warning: exported method Datetime.Compare should have comment or be unexported (golint)
    • Line 43: warning: exported method Datetime.Cast should have comment or be unexported (golint)
    • Line 49: warning: exported method Datetime.Kind should have comment or be unexported (golint)
    • Line 53: warning: exported method Datetime.Ptr should have comment or be unexported (golint)
    • Line 57: warning: exported method Datetime.NativeType should have comment or be unexported (golint)
    • Line 61: warning: exported method Datetime.Precedence should have comment or be unexported (golint)
    • go-df/conds/comparision.go
    • Line 8: warning: exported function Eq should have comment or be unexported (golint)
    • Line 14: warning: exported function NotEq should have comment or be unexported (golint)
    • Line 20: warning: exported function Gt should have comment or be unexported (golint)
    • Line 27: warning: exported function Gte should have comment or be unexported (golint)
    • Line 36: warning: exported function Lt should have comment or be unexported (golint)
    • Line 43: warning: exported function Lte should have comment or be unexported (golint)
    • Line 52: warning: exported function In should have comment or be unexported (golint)
    • go-df/types/missing.go
    • Line 3: warning: exported type MissingValue should have comment or be unexported (golint)
    • Line 5: warning: exported var Missing should have comment or be unexported (golint)
    • Line 11: warning: exported method MissingValue.Equals should have comment or be unexported (golint)
    • Line 14: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 19: warning: exported method MissingValue.Compare should have comment or be unexported (golint)
    • Line 22: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 27: warning: exported method MissingValue.Cast should have comment or be unexported (golint)
    • Line 31: warning: exported method MissingValue.Kind should have comment or be unexported (golint)
    • Line 35: warning: exported method MissingValue.Ptr should have comment or be unexported (golint)
    • Line 39: warning: exported method MissingValue.NativeType should have comment or be unexported (golint)
    • Line 39: warning: receiver name b should be consistent with previous receiver name m for MissingValue (golint)
    • Line 43: warning: exported method MissingValue.Precedence should have comment or be unexported (golint)
    • go-df/types/utils.go
    • Line 10: warning: exported function PanicOnError should have comment or be unexported (golint)
    • Line 16: warning: exported function MatchKind should have comment or be unexported (golint)
    • Line 37: warning: exported function Convert should have comment or be unexported (golint)
    • Line 55: warning: exported function AutoCast should have comment or be unexported (golint)
    • go-df/dataframe/default_transformable.go
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/example.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 8: warning: should not use dot imports (golint)
    • Line 9: warning: should not use dot imports (golint)
    • Line 10: warning: should not use dot imports (golint)
    • go-df/backend/index.go
    • Line 5: warning: exported function New should have comment or be unexported (golint)
    • Line 9: warning: exported type Backend should have comment or be unexported (golint)
    • Line 28: warning: exported type RowVisitor should have comment or be unexported (golint)
    • Line 30: warning: exported type ColumnVisitor should have comment or be unexported (golint)
    • Line 32: warning: exported type MutateFunction should have comment or be unexported (golint)
    • Line 34: warning: exported type ApplyFunction should have comment or be unexported (golint)
    • Line 36: warning: exported type Row should have comment or be unexported (golint)
    • Line 38: warning: exported type Cell should have comment or be unexported (golint)
    • Line 43: warning: exported type Column should have comment or be unexported (golint)
    • Line 45: warning: exported type Columns should have comment or be unexported (golint)
    • Line 47: warning: exported type Headers should have comment or be unexported (golint)
    • Line 49: warning: exported type Header should have comment or be unexported (golint)
    • Line 55: warning: exported type Ordering should have comment or be unexported (golint)
    • Line 58: warning: exported const Asc should have comment (or a comment on this block) or be unexported (golint)
    • go-df/dataframe/default_aggregatable.go
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/types/boolean.go
    • Line 8: warning: exported type Boolean should have comment or be unexported (golint)
    • Line 13: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 18: warning: exported method Boolean.Equals should have comment or be unexported (golint)
    • Line 25: warning: exported method Boolean.Compare should have comment or be unexported (golint)
    • Line 45: warning: exported method Boolean.Cast should have comment or be unexported (golint)
    • Line 51: warning: exported method Boolean.Kind should have comment or be unexported (golint)
    • Line 55: warning: exported method Boolean.Ptr should have comment or be unexported (golint)
    • Line 59: warning: exported method Boolean.NativeType should have comment or be unexported (golint)
    • Line 63: warning: exported method Boolean.Precedence should have comment or be unexported (golint)
    • go-df/types/string.go
    • Line 8: warning: exported type String should have comment or be unexported (golint)
    • Line 14: warning: exported method String.Equals should have comment or be unexported (golint)
    • Line 21: warning: exported method String.Compare should have comment or be unexported (golint)
    • Line 40: warning: exported method String.Cast should have comment or be unexported (golint)
    • Line 46: warning: exported method String.Kind should have comment or be unexported (golint)
    • Line 50: warning: exported method String.Ptr should have comment or be unexported (golint)
    • Line 54: warning: exported method String.NativeType should have comment or be unexported (golint)
    • Line 58: warning: exported method String.Precedence should have comment or be unexported (golint)
    • go-df/dataframe/default_filterable.go
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/dataframe/index.go
    • Line 11: warning: exported function New should have comment or be unexported (golint)
    • Line 15: warning: exported type Dataframe should have comment or be unexported (golint)
    • Line 32: warning: exported type Filterable should have comment or be unexported (golint)
    • Line 37: warning: exported type Transformable should have comment or be unexported (golint)
    • Line 46: warning: exported type Aggregatable should have comment or be unexported (golint)
    • Line 51: warning: exported type Joinable should have comment or be unexported (golint)
    • Line 58: warning: exported type Printable should have comment or be unexported (golint)
    • Line 63: warning: exported type By should have comment or be unexported (golint)
    • Line 64: warning: exported type Aggs should have comment or be unexported (golint)
    • go-df/aggs/agg_others.go
    • Line 8: warning: exported function Count should have comment or be unexported (golint)
    • Line 14: warning: exported function CountDistinct should have comment or be unexported (golint)
    • Line 24: warning: exported function First should have comment or be unexported (golint)
    • Line 30: warning: exported function Last should have comment or be unexported (golint)
    • go-df/adapters/csv_load.go
    • Line 13: warning: exported function ReadCsv should have comment or be unexported (golint)
    • Line 17: warning: exported function ReadCsvWithHeaders should have comment or be unexported (golint)
    • Line 31: warning: exported function LoadCSV should have comment or be unexported (golint)
    • Line 35: warning: exported function LoadCSVWithHeaders should have comment or be unexported (golint)
    • go-df/aggs/agg_numeric.go
    • Line 9: warning: exported function Sum should have comment or be unexported (golint)
    • Line 21: warning: exported function Avg should have comment or be unexported (golint)
    • Line 27: warning: exported function Min should have comment or be unexported (golint)
    • Line 41: warning: exported function Max should have comment or be unexported (golint)
    • go-df/conds/logical.go
    • Line 5: warning: exported function Not should have comment or be unexported (golint)
    • Line 11: warning: exported function And should have comment or be unexported (golint)
    • Line 17: warning: exported function Or should have comment or be unexported (golint)
    • go-df/dataframe/default_printable.go
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/backend/columnar_backend.go
    • Line 20: warning: exported function NewColumnarBackend should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 257: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/types/index.go
    • Line 5: warning: exported type TypeComparision should have comment or be unexported (golint)
    • Line 8: warning: exported const Equals should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type TypeKind should have comment or be unexported (golint)
    • Line 16: warning: exported const KindBoolean should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type TypedValue should have comment or be unexported (golint)
    • go-df/types/integer.go
    • Line 8: warning: exported type Integer should have comment or be unexported (golint)
    • Line 18: warning: exported method Integer.Equals should have comment or be unexported (golint)
    • Line 25: warning: exported method Integer.Compare should have comment or be unexported (golint)
    • Line 44: warning: exported method Integer.Cast should have comment or be unexported (golint)
    • Line 50: warning: exported method Integer.Kind should have comment or be unexported (golint)
    • Line 54: warning: exported method Integer.Ptr should have comment or be unexported (golint)
    • Line 58: warning: exported method Integer.NativeType should have comment or be unexported (golint)
    • Line 62: warning: exported method Integer.Precedence should have comment or be unexported (golint)
    • go-df/conds/index.go
    • Line 5: warning: exported type Condition should have comment or be unexported (golint)
    • Line 7: warning: exported type JoinCondition should have comment or be unexported (golint)
    • go-df/dataframe/columnar_dataframe.go
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-df/types/decimal.go
    • Line 9: warning: exported type Decimal should have comment or be unexported (golint)
    • Line 19: warning: exported method Decimal.Equals should have comment or be unexported (golint)
    • Line 26: warning: exported method Decimal.Compare should have comment or be unexported (golint)
    • Line 45: warning: exported method Decimal.Cast should have comment or be unexported (golint)
    • Line 58: warning: exported method Decimal.Kind should have comment or be unexported (golint)
    • Line 62: warning: exported method Decimal.Ptr should have comment or be unexported (golint)
    • Line 66: warning: exported method Decimal.NativeType should have comment or be unexported (golint)
    • Line 70: warning: exported method Decimal.Precedence should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!