Preparing report...

Report for github.com/dc0d/boltron

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


golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign18%

IneffAssign detects ineffectual assignments in Go code.

    • boltron/boltron_test.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/stretchr/testify/assert (invalid package name: "") (ineffassign)
    • Line 21: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 22: warning: db.Close undefined (type *DB has no field or method Close) (ineffassign)
    • Line 88: warning: db.Close undefined (type *DB has no field or method Close) (ineffassign)
    • Line 136: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 136: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 151: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 151: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 180: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 180: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 223: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 223: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 236: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 236: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 251: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 251: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 276: warning: db.Close undefined (type *DB has no field or method Close) (ineffassign)
    • Line 326: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 326: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 341: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 341: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 384: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 384: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 397: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 397: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • boltron/bbolt_db_test.go
    • Line 21: warning: could not import github.com/coreos/bbolt (invalid package name: "") (ineffassign)
    • Line 112: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 149: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 183: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 186: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 189: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 247: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 250: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 255: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 430: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 502: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 522: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 544: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 557: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 576: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 620: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 632: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 640: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 671: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 711: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 729: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 763: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 789: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 815: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 841: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 874: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 885: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 895: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 910: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 922: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 939: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 950: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 964: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 971: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 985: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 993: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1003: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1072: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1086: warning: db.Batch undefined (type *DB has no field or method Batch) (ineffassign)
    • Line 1100: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1129: warning: db.Batch undefined (type *DB has no field or method Batch) (ineffassign)
    • Line 1147: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1158: warning: db.Batch undefined (type *DB has no field or method Batch) (ineffassign)
    • Line 1163: warning: db.MaxBatchSize undefined (type *DB has no field or method MaxBatchSize) (ineffassign)
    • Line 1165: warning: db.MaxBatchDelay undefined (type *DB has no field or method MaxBatchDelay) (ineffassign)
    • Line 1190: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1206: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1217: warning: db.Batch undefined (type *DB has no field or method Batch) (ineffassign)
    • Line 1222: warning: db.MaxBatchSize undefined (type *DB has no field or method MaxBatchSize) (ineffassign)
    • Line 1223: warning: db.MaxBatchDelay undefined (type *DB has no field or method MaxBatchDelay) (ineffassign)
    • Line 1237: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1395: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1423: warning: db.Batch undefined (type *DB has no field or method Batch) (ineffassign)
    • Line 1440: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1467: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1484: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1517: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1560: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1602: warning: db.Path undefined (type *DB has no field or method Path) (ineffassign)
    • Line 1624: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 1639: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1678: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • boltron/bbolt_cursor_test.go
    • Line 21: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 39: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 62: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 113: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 133: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 153: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 176: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 196: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 236: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 243: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 262: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 268: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 287: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 305: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 358: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 376: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 422: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 438: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 469: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 487: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 517: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 539: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 575: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 597: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 630: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 649: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 672: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 691: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • boltron/bbolt_tx_test.go
    • Line 18: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 66: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 89: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 106: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 119: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 157: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 172: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 189: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 206: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 230: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 243: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 257: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 278: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 292: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 313: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 323: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 337: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 353: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 367: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 379: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 398: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 414: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 428: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 443: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 467: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 494: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 514: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 534: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 550: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 603: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 619: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 630: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 646: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 647: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 668: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 680: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 696: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • boltron/boltron.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/coreos/bbolt (invalid package name: "") (ineffassign)
    • Line 164: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 164: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • Line 9: warning: could not import github.com/coreos/bbolt (invalid package name: "") (ineffassign)
    • Line 164: warning: c.First undefined (type *Cursor has no field or method First) (ineffassign)
    • Line 164: warning: c.Next undefined (type *Cursor has no field or method Next) (ineffassign)
    • boltron/bbolt_bucket_test.go
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: could not import github.com/dc0d/boltron (invalid package name: "") (ineffassign)
    • Line 24: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 43: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 64: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 92: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 103: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 128: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 151: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 179: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 194: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 221: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 245: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 267: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 291: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 300: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 316: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 341: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 358: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 370: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 394: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 415: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 429: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 440: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 441: warning: db.Stats undefined (type *DB has no field or method Stats) (ineffassign)
    • Line 450: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 464: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 483: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 508: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 520: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 534: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 546: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 569: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 591: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 600: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 615: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 638: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 670: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 694: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 721: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 737: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 758: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 773: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 795: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 818: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 840: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 867: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 882: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 925: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 934: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 943: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 961: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 970: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 985: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 1006: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1063: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1103: warning: db.Begin undefined (type *DB has no field or method Begin) (ineffassign)
    • Line 1127: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1148: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1172: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1194: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1208: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1219: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1251: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 1289: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1310: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1346: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1363: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1384: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 1410: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1422: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1443: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 1470: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1508: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1545: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 1579: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1598: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1618: warning: db.Info undefined (type *DB has no field or method Info) (ineffassign)
    • Line 1653: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1663: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1674: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1709: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1718: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1731: warning: db.View undefined (type *DB has no field or method View) (ineffassign)
    • Line 1762: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1771: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1785: warning: db.Update undefined (type *DB has no field or method Update) (ineffassign)
    • Line 1793: warning: db.View undefined (type *DB has no field or method View) (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!