Preparing report...

Report for github.com/ktye/iv

(v0.0.0-20201221121524-5c1b6375ce57)

A    Great!    Found 112 issues across 139 files

Tweet

gofmt94%

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!


gocyclo76%

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.

    • apl/fmt.go
    • Line 194: warning: cyclomatic complexity 28 of function (*Apl).ScanRankArray() is high (> 15) (gocyclo)
    • apl/parse.go
    • Line 113: warning: cyclomatic complexity 23 of function (*parser).parseStatement() is high (> 15) (gocyclo)
    • Line 388: warning: cyclomatic complexity 17 of function (*parser).collectArray() is high (> 15) (gocyclo)
    • apl/table.go
    • Line 74: warning: cyclomatic complexity 17 of function (Table).write() is high (> 15) (gocyclo)
    • apl/operators/rank.go
    • Line 23: warning: cyclomatic complexity 67 of function rank() is high (> 15) (gocyclo)
    • Line 317: warning: cyclomatic complexity 16 of function Take() is high (> 15) (gocyclo)
    • apl/operators/assign.go
    • Line 258: warning: cyclomatic complexity 43 of function assignTable() is high (> 15) (gocyclo)
    • Line 113: warning: cyclomatic complexity 34 of function assignValue() is high (> 15) (gocyclo)
    • Line 423: warning: cyclomatic complexity 16 of function assignObject() is high (> 15) (gocyclo)
    • apl/var.go
    • Line 34: warning: cyclomatic complexity 16 of function (*Apl).AssignEnv() is high (> 15) (gocyclo)
    • apl/operators/reduce.go
    • Line 112: warning: cyclomatic complexity 28 of function reduct() is high (> 15) (gocyclo)
    • Line 766: warning: cyclomatic complexity 27 of function nwise() is high (> 15) (gocyclo)
    • Line 467: warning: cyclomatic complexity 22 of function Expand() is high (> 15) (gocyclo)
    • Line 248: warning: cyclomatic complexity 20 of function scanfunc() is high (> 15) (gocyclo)
    • Line 379: warning: cyclomatic complexity 18 of function Replicate() is high (> 15) (gocyclo)
    • apl/op.go
    • Line 67: warning: cyclomatic complexity 16 of function (*derived).Call() is high (> 15) (gocyclo)
    • apl/scan/scan.go
    • Line 394: warning: cyclomatic complexity 27 of function ReadString() is high (> 15) (gocyclo)
    • Line 210: warning: cyclomatic complexity 27 of function (*Scanner).nextToken() is high (> 15) (gocyclo)
    • apl/int.go
    • Line 157: warning: cyclomatic complexity 26 of function (Int).Gamma2() is high (> 15) (gocyclo)
    • apl/primitives/array.go
    • Line 200: warning: cyclomatic complexity 24 of function arrayAxis() is high (> 15) (gocyclo)
    • Line 21: warning: cyclomatic complexity 18 of function (arrays).To() is high (> 15) (gocyclo)
    • apl/primitives/table.go
    • Line 399: warning: cyclomatic complexity 46 of function tableQuery() is high (> 15) (gocyclo)
    • Line 281: warning: cyclomatic complexity 17 of function catenateTwoTables() is high (> 15) (gocyclo)
    • apl/uniform.go
    • Line 10: warning: cyclomatic complexity 31 of function (*Apl).Unify() is high (> 15) (gocyclo)
    • apl/primitives/index.go
    • Line 479: warning: cyclomatic complexity 28 of function tableSelection() is high (> 15) (gocyclo)
    • Line 617: warning: cyclomatic complexity 22 of function tableIndex() is high (> 15) (gocyclo)
    • apl/primitives/comma.go
    • Line 190: warning: cyclomatic complexity 27 of function catenate() is high (> 15) (gocyclo)
    • Line 93: warning: cyclomatic complexity 20 of function ravelWithAxis() is high (> 15) (gocyclo)

golint25%

Golint is a linter for Go source code.

    • apl/domain/numeric.go
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 79: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 87: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/domain/functions.go
    • Line 7: warning: exported function Function should have comment or be unexported (golint)
    • Line 32: warning: exported function IsPrimitive should have comment or be unexported (golint)
    • apl/assign.go
    • Line 33: warning: exported method Assignment.Copy should have comment or be unexported (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/eval.go
    • Line 69: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • cmd/testing.go
    • Line 98: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/domain/array.go
    • Line 125: warning: exported function ToBoolArray should have comment or be unexported (golint)
    • Line 129: warning: exported function IsBoolArray should have comment or be unexported (golint)
    • Line 212: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/operators/select.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 38: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/int.go
    • Line 14: warning: exported method Int.ToIndex should have comment or be unexported (golint)
    • Line 45: warning: exported method Int.Copy should have comment or be unexported (golint)
    • Line 49: warning: exported method Int.Export should have comment or be unexported (golint)
    • Line 63: warning: exported method Int.Less should have comment or be unexported (golint)
    • Line 67: warning: exported method Int.Add should have comment or be unexported (golint)
    • Line 70: warning: exported method Int.Add2 should have comment or be unexported (golint)
    • Line 74: warning: exported method Int.Sub should have comment or be unexported (golint)
    • Line 77: warning: exported method Int.Sub2 should have comment or be unexported (golint)
    • Line 81: warning: exported method Int.Mul should have comment or be unexported (golint)
    • Line 89: warning: exported method Int.Mul2 should have comment or be unexported (golint)
    • Line 93: warning: exported method Int.Div should have comment or be unexported (golint)
    • Line 101: warning: exported method Int.Div2 should have comment or be unexported (golint)
    • Line 101: warning: receiver name a should be consistent with previous receiver name i for Int (golint)
    • Line 113: warning: exported method Int.Pow should have comment or be unexported (golint)
    • Line 119: warning: exported method Int.Pow2 should have comment or be unexported (golint)
    • Line 123: warning: exported method Int.Log should have comment or be unexported (golint)
    • Line 126: warning: exported method Int.Log2 should have comment or be unexported (golint)
    • Line 130: warning: exported method Int.Abs should have comment or be unexported (golint)
    • Line 137: warning: exported method Int.Ceil should have comment or be unexported (golint)
    • Line 140: warning: exported method Int.Floor should have comment or be unexported (golint)
    • Line 144: warning: exported method Int.Gamma should have comment or be unexported (golint)
    • Line 157: warning: exported method Int.Gamma2 should have comment or be unexported (golint)
    • Line 157: warning: receiver name L should be consistent with previous receiver name i for Int (golint)
    • Line 206: warning: exported method Int.Gcd should have comment or be unexported (golint)
    • Line 206: warning: receiver name L should be consistent with previous receiver name i for Int (golint)
    • apl/parse.go
    • Line 404: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/xgo/convert.go
    • Line 52: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 75: warning: comment on exported function Convert should be of the form "Convert ..." (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/big/bigfloat/exp.go
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/dict.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 33: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/numbers/complexs.go
    • Line 19: warning: exported method ComplexArray.Copy should have comment or be unexported (golint)
    • Line 25: warning: exported method ComplexArray.At should have comment or be unexported (golint)
    • Line 29: warning: exported method ComplexArray.Shape should have comment or be unexported (golint)
    • Line 33: warning: exported method ComplexArray.Size should have comment or be unexported (golint)
    • Line 37: warning: exported method ComplexArray.Zero should have comment or be unexported (golint)
    • Line 41: warning: exported method ComplexArray.Set should have comment or be unexported (golint)
    • Line 52: warning: exported method ComplexArray.Make should have comment or be unexported (golint)
    • Line 70: warning: exported method ComplexArray.Reshape should have comment or be unexported (golint)
    • apl/image.go
    • Line 42: warning: exported method Image.Copy should have comment or be unexported (golint)
    • Line 44: warning: exported method Image.At should have comment or be unexported (golint)
    • Line 49: warning: exported method Image.Shape should have comment or be unexported (golint)
    • Line 52: warning: exported method Image.Size should have comment or be unexported (golint)
    • Line 55: warning: exported method Image.Set should have comment or be unexported (golint)
    • apl/op.go
    • Line 5: warning: comment on exported type Operator should be of the form "Operator ..." (with optional leading article) (golint)
    • apl/primitives/index.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 131: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 150: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 288: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 411: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 577: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 590: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/multiline.go
    • Line 35: warning: exported function NewLineBuffer should have comment or be unexported (golint)
    • Line 91: warning: exported method LineBuffer.Len should have comment or be unexported (golint)
    • apl/domain/domain.go
    • Line 9: warning: exported type SingleDomain should have comment or be unexported (golint)
    • Line 80: warning: exported function Split should have comment or be unexported (golint)
    • Line 179: warning: exported function Not should have comment or be unexported (golint)
    • Line 202: warning: exported function Or should have comment or be unexported (golint)
    • apl/io/fs.go
    • Line 96: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 204: warning: exported type Protocol should have comment or be unexported (golint)
    • apl/operators/reduce.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 125: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 158: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 188: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 196: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 234: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 256: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 472: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 497: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 570: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 757: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 773: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/array.go
    • Line 136: warning: exported function Prod should have comment or be unexported (golint)
    • Line 196: warning: exported function NewMixed should have comment or be unexported (golint)
    • Line 213: warning: exported method MixedArray.Copy should have comment or be unexported (golint)
    • Line 221: warning: exported method MixedArray.At should have comment or be unexported (golint)
    • Line 225: warning: exported method MixedArray.Set should have comment or be unexported (golint)
    • Line 233: warning: exported method MixedArray.Shape should have comment or be unexported (golint)
    • Line 237: warning: exported method MixedArray.Size should have comment or be unexported (golint)
    • Line 241: warning: exported method MixedArray.Reshape should have comment or be unexported (golint)
    • Line 254: warning: exported type EmptyArray should have comment or be unexported (golint)
    • Line 257: warning: exported method EmptyArray.Copy should have comment or be unexported (golint)
    • Line 258: warning: exported method EmptyArray.Eval should have comment or be unexported (golint)
    • Line 259: warning: exported method EmptyArray.At should have comment or be unexported (golint)
    • Line 260: warning: exported method EmptyArray.Shape should have comment or be unexported (golint)
    • Line 261: warning: exported method EmptyArray.Size should have comment or be unexported (golint)
    • Line 262: warning: exported method EmptyArray.Reshape should have comment or be unexported (golint)
    • Line 274: warning: comment on exported type IntArray should be of the form "IntArray ..." (with optional leading article) (golint)
    • Line 284: warning: exported method IntArray.Copy should have comment or be unexported (golint)
    • Line 290: warning: exported method IntArray.At should have comment or be unexported (golint)
    • Line 294: warning: exported method IntArray.Zero should have comment or be unexported (golint)
    • Line 298: warning: exported method IntArray.Size should have comment or be unexported (golint)
    • Line 302: warning: exported method IntArray.Shape should have comment or be unexported (golint)
    • Line 306: warning: exported method IntArray.Set should have comment or be unexported (golint)
    • Line 323: warning: exported method IntArray.Make should have comment or be unexported (golint)
    • Line 323: warning: receiver name s should be consistent with previous receiver name ar for IntArray (golint)
    • Line 341: warning: exported method IntArray.Reshape should have comment or be unexported (golint)
    • apl/function.go
    • Line 117: warning: exported method Primitive.Copy should have comment or be unexported (golint)
    • Line 128: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 147: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 198: warning: exported method ToFunction.Call should have comment or be unexported (golint)
    • Line 205: warning: exported method ToFunction.Copy should have comment or be unexported (golint)
    • apl/table.go
    • Line 43: warning: exported method Table.Copy should have comment or be unexported (golint)
    • Line 163: warning: exported method Apl.ParseTable should have comment or be unexported (golint)
    • apl/var.go
    • Line 20: warning: exported method Identifier.Copy should have comment or be unexported (golint)
    • Line 24: warning: exported method Identifier.Eval should have comment or be unexported (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/numbers/complex.go
    • Line 12: warning: exported type Complex should have comment or be unexported (golint)
    • Line 65: warning: exported method Complex.Copy should have comment or be unexported (golint)
    • Line 65: warning: receiver name z should be consistent with previous receiver name c for Complex (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 110: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 113: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 133: warning: exported method Complex.Add should have comment or be unexported (golint)
    • Line 136: warning: exported method Complex.Add2 should have comment or be unexported (golint)
    • Line 140: warning: exported method Complex.Sub should have comment or be unexported (golint)
    • Line 143: warning: exported method Complex.Sub2 should have comment or be unexported (golint)
    • Line 147: warning: exported method Complex.Mul should have comment or be unexported (golint)
    • Line 154: warning: exported method Complex.Mul2 should have comment or be unexported (golint)
    • Line 158: warning: exported method Complex.Div should have comment or be unexported (golint)
    • Line 165: warning: exported method Complex.Div2 should have comment or be unexported (golint)
    • Line 173: warning: exported method Complex.Pow should have comment or be unexported (golint)
    • Line 176: warning: exported method Complex.Pow2 should have comment or be unexported (golint)
    • Line 180: warning: exported method Complex.Log should have comment or be unexported (golint)
    • Line 187: warning: exported method Complex.Log2 should have comment or be unexported (golint)
    • Line 199: warning: exported method Complex.Abs should have comment or be unexported (golint)
    • Line 204: warning: exported method Complex.Floor should have comment or be unexported (golint)
    • Line 218: warning: exported method Complex.Ceil should have comment or be unexported (golint)
    • Line 249: warning: exported method Complex.Gamma should have comment or be unexported (golint)
    • Line 252: warning: exported method Complex.Gamma2 should have comment or be unexported (golint)
    • Line 262: warning: exported method Complex.PiTimes should have comment or be unexported (golint)
    • Line 265: warning: exported method Complex.Trig should have comment or be unexported (golint)
    • Line 265: warning: receiver name L should be consistent with previous receiver name c for Complex (golint)
    • apl/tower.go
    • Line 8: warning: exported type Tower should have comment or be unexported (golint)
    • Line 132: warning: exported method Apl.IsZero should have comment or be unexported (golint)
    • Line 140: warning: exported method Tower.ToBool should have comment or be unexported (golint)
    • Line 152: warning: exported method Tower.ToNumeric should have comment or be unexported (golint)
    • Line 198: warning: exported method NumExpr.Eval should have comment or be unexported (golint)
    • apl/numbers/time.go
    • Line 25: warning: exported function ParseTime should have comment or be unexported (golint)
    • Line 72: warning: exported method Time.Copy should have comment or be unexported (golint)
    • Line 74: warning: exported method Time.ToIndex should have comment or be unexported (golint)
    • Line 78: warning: exported method Time.Less should have comment or be unexported (golint)
    • Line 82: warning: exported method Time.Add should have comment or be unexported (golint)
    • Line 100: warning: exported method Time.Sub should have comment or be unexported (golint)
    • Line 134: warning: exported method Time.Mul should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method Time.Mul2 should be of the form "Mul2 ..." (golint)
    • Line 165: warning: comment on exported method Time.Div2 should be of the form "Div2 ..." (golint)
    • Line 177: warning: exported method Time.Abs should have comment or be unexported (golint)
    • Line 184: warning: exported method Time.Floor should have comment or be unexported (golint)
    • Line 188: warning: exported method Time.Ceil should have comment or be unexported (golint)
    • Line 192: warning: exported method Time.Floor2 should have comment or be unexported (golint)
    • Line 196: warning: exported method Time.Ceil2 should have comment or be unexported (golint)
    • Line 200: warning: exported method Time.Round should have comment or be unexported (golint)
    • apl/operators/assign.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 277: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 345: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 363: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 457: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/operators/power.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 48: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/channel.go
    • Line 26: warning: exported function NewChannel should have comment or be unexported (golint)
    • Line 36: warning: exported method Channel.Copy should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method Channel.Scope should be of the form "Scope ..." (golint)
    • Line 47: warning: receiver name R should be consistent with previous receiver name c for Channel (golint)
    • Line 83: warning: receiver name R should be consistent with previous receiver name c for Channel (golint)
    • Line 226: warning: exported method RuneScanner.ReadRune should have comment or be unexported (golint)
    • Line 241: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 254: warning: exported method RuneScanner.UnreadRune should have comment or be unexported (golint)
    • apl/fmt.go
    • Line 224: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 240: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/index.go
    • Line 26: warning: exported method IdxSpec.Copy should have comment or be unexported (golint)
    • Line 34: warning: exported method IdxSpec.Eval should have comment or be unexported (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 79: warning: exported method Axis.Copy should have comment or be unexported (golint)
    • apl/primitives/selection.go
    • Line 35: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/rpc/server.go
    • Line 32: warning: exported type Request should have comment or be unexported (golint)
    • Line 37: warning: exported type Response should have comment or be unexported (golint)
    • apl/a/register.go
    • Line 52: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/list.go
    • Line 25: warning: exported method List.Copy should have comment or be unexported (golint)
    • Line 33: warning: exported method List.At should have comment or be unexported (golint)
    • Line 37: warning: exported method List.Shape should have comment or be unexported (golint)
    • Line 41: warning: exported method List.Size should have comment or be unexported (golint)
    • Line 45: warning: exported method List.GetDeep should have comment or be unexported (golint)
    • Line 49: warning: exported method List.SetDeep should have comment or be unexported (golint)
    • Line 54: warning: exported method List.Depth should have comment or be unexported (golint)
    • Line 78: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 84: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/match.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 79: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 88: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 112: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/rpc/register.go
    • Line 29: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/big/complex.go
    • Line 12: warning: exported type Complex should have comment or be unexported (golint)
    • Line 16: warning: exported method Complex.Copy should have comment or be unexported (golint)
    • Line 47: warning: exported function ParseComplex should have comment or be unexported (golint)
    • Line 83: warning: exported method Complex.ToIndex should have comment or be unexported (golint)
    • Line 100: warning: exported method Complex.Equals should have comment or be unexported (golint)
    • Line 105: warning: exported method Complex.Add should have comment or be unexported (golint)
    • Line 110: warning: exported method Complex.Add2 should have comment or be unexported (golint)
    • Line 118: warning: exported method Complex.Sub should have comment or be unexported (golint)
    • Line 124: warning: exported method Complex.Sub2 should have comment or be unexported (golint)
    • Line 132: warning: exported method Complex.Mul should have comment or be unexported (golint)
    • Line 140: warning: exported method Complex.Mul2 should have comment or be unexported (golint)
    • Line 140: warning: receiver name L should be consistent with previous receiver name c for Complex (golint)
    • Line 158: warning: exported method Complex.Div should have comment or be unexported (golint)
    • Line 164: warning: exported method Complex.Div2 should have comment or be unexported (golint)
    • Line 164: warning: receiver name l should be consistent with previous receiver name c for Complex (golint)
    • Line 199: warning: don't use underscores in Go names; func div_ should be div (golint)
    • Line 236: warning: exported method Complex.Abs should have comment or be unexported (golint)
    • Line 266: warning: exported method Complex.Floor should have comment or be unexported (golint)
    • Line 285: warning: exported method Complex.Ceil should have comment or be unexported (golint)
    • apl/error.go
    • Line 16: warning: exported method Error.Copy should have comment or be unexported (golint)
    • apl/string.go
    • Line 10: warning: exported type String should have comment or be unexported (golint)
    • Line 26: warning: exported method String.Copy should have comment or be unexported (golint)
    • Line 30: warning: exported method String.Eval should have comment or be unexported (golint)
    • Line 34: warning: exported method String.ReadFrom should have comment or be unexported (golint)
    • Line 51: warning: exported method String.Export should have comment or be unexported (golint)
    • Line 65: warning: exported method StringArray.Copy should have comment or be unexported (golint)
    • Line 71: warning: exported method StringArray.At should have comment or be unexported (golint)
    • Line 75: warning: exported method StringArray.Shape should have comment or be unexported (golint)
    • Line 79: warning: exported method StringArray.Size should have comment or be unexported (golint)
    • Line 83: warning: exported method StringArray.Zero should have comment or be unexported (golint)
    • Line 87: warning: exported method StringArray.Set should have comment or be unexported (golint)
    • Line 98: warning: exported method StringArray.Make should have comment or be unexported (golint)
    • Line 116: warning: exported method StringArray.Reshape should have comment or be unexported (golint)
    • apl/primitives/elementary.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 392: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 395: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 416: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 419: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 522: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/take.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 133: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 218: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/bool.go
    • Line 7: warning: exported type Bool should have comment or be unexported (golint)
    • Line 21: warning: exported method Bool.Copy should have comment or be unexported (golint)
    • Line 23: warning: exported method Bool.Less should have comment or be unexported (golint)
    • Line 23: warning: receiver name i should be consistent with previous receiver name b for Bool (golint)
    • Line 31: warning: exported method Bool.ToIndex should have comment or be unexported (golint)
    • Line 31: warning: receiver name i should be consistent with previous receiver name b for Bool (golint)
    • Line 48: warning: exported method BoolArray.Copy should have comment or be unexported (golint)
    • Line 54: warning: exported method BoolArray.At should have comment or be unexported (golint)
    • Line 58: warning: exported method BoolArray.Shape should have comment or be unexported (golint)
    • Line 62: warning: exported method BoolArray.Size should have comment or be unexported (golint)
    • Line 66: warning: exported method BoolArray.Zero should have comment or be unexported (golint)
    • Line 70: warning: exported method BoolArray.Set should have comment or be unexported (golint)
    • Line 81: warning: exported method BoolArray.Make should have comment or be unexported (golint)
    • Line 81: warning: receiver name s should be consistent with previous receiver name b for BoolArray (golint)
    • Line 99: warning: exported method BoolArray.Reshape should have comment or be unexported (golint)
    • apl/xgo/type.go
    • Line 18: warning: exported type Value should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method Value.Copy should be of the form "Copy ..." (golint)
    • Line 70: warning: exported method Value.Methods should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method Value.At should be of the form "At ..." (golint)
    • Line 111: warning: exported method Value.Set should have comment or be unexported (golint)
    • apl/domain/image.go
    • Line 16: warning: exported function IsImage should have comment or be unexported (golint)
    • Line 36: warning: receiver name im should be consistent with previous receiver name i for image (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/big/rat.go
    • Line 16: warning: exported type Rat should have comment or be unexported (golint)
    • Line 20: warning: exported method Rat.Copy should have comment or be unexported (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 46: warning: exported method Rat.ToIndex should have comment or be unexported (golint)
    • Line 54: warning: exported function ParseRat should have comment or be unexported (golint)
    • Line 65: warning: exported method Rat.Equals should have comment or be unexported (golint)
    • Line 65: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 69: warning: exported method Rat.Less should have comment or be unexported (golint)
    • Line 69: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 73: warning: exported method Rat.Add should have comment or be unexported (golint)
    • Line 73: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 76: warning: exported method Rat.Add2 should have comment or be unexported (golint)
    • Line 76: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 82: warning: exported method Rat.Sub should have comment or be unexported (golint)
    • Line 82: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 87: warning: exported method Rat.Sub2 should have comment or be unexported (golint)
    • Line 87: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 93: warning: exported method Rat.Mul should have comment or be unexported (golint)
    • Line 93: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 96: warning: exported method Rat.Mul2 should have comment or be unexported (golint)
    • Line 96: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 102: warning: exported method Rat.Div should have comment or be unexported (golint)
    • Line 110: warning: exported method Rat.Div2 should have comment or be unexported (golint)
    • Line 110: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 131: warning: exported method Rat.Pow should have comment or be unexported (golint)
    • Line 137: warning: exported method Rat.Pow2 should have comment or be unexported (golint)
    • Line 137: warning: receiver name l should be consistent with previous receiver name r for Rat (golint)
    • Line 170: warning: exported method Rat.Abs should have comment or be unexported (golint)
    • Line 177: warning: exported method Rat.Ceil should have comment or be unexported (golint)
    • Line 181: warning: exported method Rat.Floor should have comment or be unexported (golint)
    • Line 186: warning: exported method Rat.Gcd should have comment or be unexported (golint)
    • Line 186: warning: receiver name L should be consistent with previous receiver name r for Rat (golint)
    • apl/io/env.go
    • Line 21: warning: exported type Env should have comment or be unexported (golint)
    • Line 34: warning: exported method Env.Copy should have comment or be unexported (golint)
    • Line 36: warning: exported method Env.Keys should have comment or be unexported (golint)
    • Line 49: warning: exported method Env.At should have comment or be unexported (golint)
    • Line 61: warning: exported method Env.Set should have comment or be unexported (golint)
    • apl/numbers/float.go
    • Line 13: warning: exported type Float should have comment or be unexported (golint)
    • Line 38: warning: exported method Float.Copy should have comment or be unexported (golint)
    • Line 38: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 51: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 63: warning: exported method Float.Less should have comment or be unexported (golint)
    • Line 63: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 67: warning: exported method Float.Add should have comment or be unexported (golint)
    • Line 67: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 70: warning: exported method Float.Add2 should have comment or be unexported (golint)
    • Line 70: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 74: warning: exported method Float.Sub should have comment or be unexported (golint)
    • Line 74: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 77: warning: exported method Float.Sub2 should have comment or be unexported (golint)
    • Line 77: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 81: warning: exported method Float.Mul should have comment or be unexported (golint)
    • Line 81: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 89: warning: exported method Float.Mul2 should have comment or be unexported (golint)
    • Line 89: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 93: warning: exported method Float.Div should have comment or be unexported (golint)
    • Line 93: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 100: warning: exported method Float.Div2 should have comment or be unexported (golint)
    • Line 100: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 108: warning: exported method Float.Pow should have comment or be unexported (golint)
    • Line 108: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 111: warning: exported method Float.Pow2 should have comment or be unexported (golint)
    • Line 111: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 115: warning: exported method Float.Log should have comment or be unexported (golint)
    • Line 115: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 122: warning: exported method Float.Log2 should have comment or be unexported (golint)
    • Line 122: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 134: warning: exported method Float.Abs should have comment or be unexported (golint)
    • Line 134: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 137: warning: exported method Float.Abs2 should have comment or be unexported (golint)
    • Line 137: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 141: warning: exported method Float.Floor should have comment or be unexported (golint)
    • Line 141: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 144: warning: exported method Float.Ceil should have comment or be unexported (golint)
    • Line 144: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 148: warning: exported method Float.Gamma should have comment or be unexported (golint)
    • Line 148: warning: receiver name f should be consistent with previous receiver name n for Float (golint)
    • Line 163: warning: exported method Float.Gamma2 should have comment or be unexported (golint)
    • Line 163: warning: receiver name L should be consistent with previous receiver name n for Float (golint)
    • Line 176: warning: exported method Float.PiTimes should have comment or be unexported (golint)
    • Line 176: warning: receiver name L should be consistent with previous receiver name n for Float (golint)
    • Line 179: warning: exported method Float.Trig should have comment or be unexported (golint)
    • Line 179: warning: receiver name L should be consistent with previous receiver name n for Float (golint)
    • Line 245: warning: exported method Float.Gcd should have comment or be unexported (golint)
    • Line 245: warning: receiver name L should be consistent with previous receiver name n for Float (golint)
    • apl/operators/dot.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 38: warning: exported function Scalarproduct should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 146: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/scan/scan.go
    • Line 14: warning: exported type Token should have comment or be unexported (golint)
    • Line 20: warning: exported type Type should have comment or be unexported (golint)
    • Line 23: warning: exported const Endl should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: comment on exported type Command should be of the form "Command ..." (with optional leading article) (golint)
    • Line 161: warning: exported function PrintTokens should have comment or be unexported (golint)
    • Line 172: warning: exported method Scanner.ReadRune should have comment or be unexported (golint)
    • Line 180: warning: exported method Scanner.UnreadRune should have comment or be unexported (golint)
    • Line 353: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 361: warning: comment on exported function AllowedInVarname should be of the form "AllowedInVarname ..." (golint)
    • cmd/iv.go
    • Line 9: warning: exported function Iv should have comment or be unexported (golint)
    • apl/big/float.go
    • Line 14: warning: exported type Float should have comment or be unexported (golint)
    • Line 18: warning: exported method Float.Copy should have comment or be unexported (golint)
    • Line 45: warning: exported function ParseFloat should have comment or be unexported (golint)
    • Line 54: warning: exported method Float.ToIndex should have comment or be unexported (golint)
    • Line 71: warning: exported method Float.Equals should have comment or be unexported (golint)
    • Line 75: warning: exported method Float.Less should have comment or be unexported (golint)
    • Line 79: warning: exported method Float.Add should have comment or be unexported (golint)
    • Line 82: warning: exported method Float.Add2 should have comment or be unexported (golint)
    • Line 87: warning: exported method Float.Sub should have comment or be unexported (golint)
    • Line 91: warning: exported method Float.Sub2 should have comment or be unexported (golint)
    • Line 96: warning: exported method Float.Mul should have comment or be unexported (golint)
    • Line 99: warning: exported method Float.Mul2 should have comment or be unexported (golint)
    • Line 104: warning: exported method Float.Div should have comment or be unexported (golint)
    • Line 107: warning: exported method Float.Div2 should have comment or be unexported (golint)
    • Line 127: warning: exported method Float.Pow should have comment or be unexported (golint)
    • Line 134: warning: exported method Float.Pow2 should have comment or be unexported (golint)
    • Line 145: warning: exported method Float.Log should have comment or be unexported (golint)
    • Line 151: warning: exported method Float.Log2 should have comment or be unexported (golint)
    • Line 164: warning: exported method Float.Abs should have comment or be unexported (golint)
    • Line 171: warning: exported method Float.Ceil should have comment or be unexported (golint)
    • Line 175: warning: exported method Float.Floor should have comment or be unexported (golint)
    • apl/operators/at.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 116: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/axis.go
    • Line 48: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/query.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 34: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 52: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/primitives/transpose.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 178: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/rpc/rpc.go
    • Line 12: warning: exported function Dial should have comment or be unexported (golint)
    • Line 20: warning: exported type Conn should have comment or be unexported (golint)
    • Line 31: warning: exported method Conn.Copy should have comment or be unexported (golint)
    • Line 33: warning: exported method Conn.Close should have comment or be unexported (golint)
    • Line 43: warning: exported method Conn.Call should have comment or be unexported (golint)
    • apl/big/int.go
    • Line 27: warning: exported method Int.Copy should have comment or be unexported (golint)
    • Line 33: warning: exported function ParseInt should have comment or be unexported (golint)
    • Line 43: warning: exported method Int.ToIndex should have comment or be unexported (golint)
    • Line 60: warning: exported method Int.Equals should have comment or be unexported (golint)
    • Line 64: warning: exported method Int.Less should have comment or be unexported (golint)
    • Line 68: warning: exported method Int.Add should have comment or be unexported (golint)
    • Line 71: warning: exported method Int.Add2 should have comment or be unexported (golint)
    • Line 77: warning: exported method Int.Sub should have comment or be unexported (golint)
    • Line 82: warning: exported method Int.Sub2 should have comment or be unexported (golint)
    • Line 88: warning: exported method Int.Mul should have comment or be unexported (golint)
    • Line 91: warning: exported method Int.Mul2 should have comment or be unexported (golint)
    • Line 97: warning: exported method Int.Div should have comment or be unexported (golint)
    • Line 110: warning: exported method Int.Div2 should have comment or be unexported (golint)
    • Line 136: warning: exported method Int.Pow should have comment or be unexported (golint)
    • Line 142: warning: exported method Int.Pow2 should have comment or be unexported (golint)
    • Line 153: warning: exported method Int.Abs should have comment or be unexported (golint)
    • Line 160: warning: exported method Int.Ceil should have comment or be unexported (golint)
    • Line 163: warning: exported method Int.Floor should have comment or be unexported (golint)
    • Line 167: warning: exported method Int.Gamma should have comment or be unexported (golint)
    • Line 185: warning: exported method Int.Gcd should have comment or be unexported (golint)
    • Line 185: warning: receiver name L should be consistent with previous receiver name i for Int (golint)
    • apl/domain/string.go
    • Line 35: warning: exported function ToStringArray should have comment or be unexported (golint)
    • Line 47: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/io/mount.go
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 108: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/object.go
    • Line 52: warning: exported method Dict.Keys should have comment or be unexported (golint)
    • Line 56: warning: exported method Dict.At should have comment or be unexported (golint)
    • Line 96: warning: exported method Dict.Copy should have comment or be unexported (golint)
    • Line 151: warning: exported method Apl.ParseDict should have comment or be unexported (golint)
    • apl/xgo/function.go
    • Line 10: warning: exported type Function should have comment or be unexported (golint)
    • Line 18: warning: exported method Function.Copy should have comment or be unexported (golint)
    • Line 61: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/xgo/register.go
    • Line 11: warning: exported function Register should have comment or be unexported (golint)
    • Line 25: warning: exported type I should have comment or be unexported (golint)
    • Line 37: warning: exported method T.Inc should have comment or be unexported (golint)
    • Line 41: warning: exported method T.Join should have comment or be unexported (golint)
    • Line 53: warning: exported method S.Sum should have comment or be unexported (golint)
    • Line 62: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 95: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 100: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/io/read.go
    • Line 72: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/numbers/floats.go
    • Line 18: warning: exported method FloatArray.Copy should have comment or be unexported (golint)
    • Line 24: warning: exported method FloatArray.At should have comment or be unexported (golint)
    • Line 28: warning: exported method FloatArray.Shape should have comment or be unexported (golint)
    • Line 32: warning: exported method FloatArray.Size should have comment or be unexported (golint)
    • Line 36: warning: exported method FloatArray.Zero should have comment or be unexported (golint)
    • Line 40: warning: exported method FloatArray.Set should have comment or be unexported (golint)
    • Line 51: warning: exported method FloatArray.Make should have comment or be unexported (golint)
    • Line 69: warning: exported method FloatArray.Reshape should have comment or be unexported (golint)
    • apl/numbers/times.go
    • Line 20: warning: exported method TimeArray.Copy should have comment or be unexported (golint)
    • Line 26: warning: exported method TimeArray.At should have comment or be unexported (golint)
    • Line 30: warning: exported method TimeArray.Shape should have comment or be unexported (golint)
    • Line 34: warning: exported method TimeArray.Size should have comment or be unexported (golint)
    • Line 38: warning: exported method TimeArray.Zero should have comment or be unexported (golint)
    • Line 42: warning: exported method TimeArray.Set should have comment or be unexported (golint)
    • Line 53: warning: exported method TimeArray.Reshape should have comment or be unexported (golint)
    • Line 69: warning: exported method TimeArray.Make should have comment or be unexported (golint)
    • apl/operators/axis.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 24: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/apl.go
    • Line 49: warning: exported type Format should have comment or be unexported (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 88: warning: exported method Apl.ParseAndEval should have comment or be unexported (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 96: warning: exported method Apl.Scan should have comment or be unexported (golint)
    • Line 110: warning: exported method Apl.SetOutput should have comment or be unexported (golint)
    • Line 114: warning: exported method Apl.GetOutput should have comment or be unexported (golint)
    • Line 121: warning: exported method Apl.SetImage should have comment or be unexported (golint)
    • apl/train.go
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 116: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/primitives/comma.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 126: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 153: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 180: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 252: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 420: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • apl/lambda.go
    • Line 133: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 167: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apl/register.go
    • Line 11: warning: comment on exported method Apl.RegisterPrimitive should be of the form "RegisterPrimitive ..." (golint)
    • apl/primitives/reverse.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license0%

Checks whether your project has a LICENSE file.


misspell89%

Misspell Finds commonly misspelled English words

    • apl/primitives/axis.go
    • Line 42: warning: "substracted" is a misspelling of "subtracted" (misspell)
    • Line 95: warning: "Substract" is a misspelling of "Subtract" (misspell)
    • Line 109: warning: "Substract" is a misspelling of "Subtract" (misspell)
    • apl/op.go
    • Line 20: warning: "registerd" is a misspelling of "registered" (misspell)
    • Line 76: warning: "registerd" is a misspelling of "registered" (misspell)
    • Line 143: warning: "registerd" is a misspelling of "registered" (misspell)