Preparing report...

Report for github.com/merkur0/go-slices

(v0.0.0-20191008224404-0191b04c1ee8)

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


golint88%

Golint is a linter for Go source code.

    • slices.go
    • Line 3: warning: exported function ContainsByte should have comment or be unexported (golint)
    • Line 12: warning: exported function CountByte should have comment or be unexported (golint)
    • Line 22: warning: exported function DeleteByte should have comment or be unexported (golint)
    • Line 26: warning: exported function IndexByte should have comment or be unexported (golint)
    • Line 35: warning: exported function LastIndexByte should have comment or be unexported (golint)
    • Line 45: warning: exported function MapByte should have comment or be unexported (golint)
    • Line 54: warning: exported function PopByte should have comment or be unexported (golint)
    • Line 58: warning: exported function ReplaceByte should have comment or be unexported (golint)
    • Line 70: warning: exported function ReplaceAllByte should have comment or be unexported (golint)
    • Line 81: warning: exported function ShiftByte should have comment or be unexported (golint)
    • Line 85: warning: exported function ContainsBool should have comment or be unexported (golint)
    • Line 94: warning: exported function CountBool should have comment or be unexported (golint)
    • Line 104: warning: exported function DeleteBool should have comment or be unexported (golint)
    • Line 108: warning: exported function IndexBool should have comment or be unexported (golint)
    • Line 117: warning: exported function LastIndexBool should have comment or be unexported (golint)
    • Line 127: warning: exported function MapBool should have comment or be unexported (golint)
    • Line 136: warning: exported function PopBool should have comment or be unexported (golint)
    • Line 140: warning: exported function ReplaceBool should have comment or be unexported (golint)
    • Line 152: warning: exported function ReplaceAllBool should have comment or be unexported (golint)
    • Line 163: warning: exported function ShiftBool should have comment or be unexported (golint)
    • Line 167: warning: exported function ContainsInt should have comment or be unexported (golint)
    • Line 176: warning: exported function CountInt should have comment or be unexported (golint)
    • Line 186: warning: exported function DeleteInt should have comment or be unexported (golint)
    • Line 190: warning: exported function IndexInt should have comment or be unexported (golint)
    • Line 199: warning: exported function LastIndexInt should have comment or be unexported (golint)
    • Line 209: warning: exported function MapInt should have comment or be unexported (golint)
    • Line 218: warning: exported function PopInt should have comment or be unexported (golint)
    • Line 222: warning: exported function ReplaceInt should have comment or be unexported (golint)
    • Line 234: warning: exported function ReplaceAllInt should have comment or be unexported (golint)
    • Line 245: warning: exported function ShiftInt should have comment or be unexported (golint)
    • Line 249: warning: exported function MaxInt should have comment or be unexported (golint)
    • Line 259: warning: exported function MinInt should have comment or be unexported (golint)
    • Line 269: warning: exported function ContainsInt8 should have comment or be unexported (golint)
    • Line 278: warning: exported function CountInt8 should have comment or be unexported (golint)
    • Line 288: warning: exported function DeleteInt8 should have comment or be unexported (golint)
    • Line 292: warning: exported function IndexInt8 should have comment or be unexported (golint)
    • Line 301: warning: exported function LastIndexInt8 should have comment or be unexported (golint)
    • Line 311: warning: exported function MapInt8 should have comment or be unexported (golint)
    • Line 320: warning: exported function PopInt8 should have comment or be unexported (golint)
    • Line 324: warning: exported function ReplaceInt8 should have comment or be unexported (golint)
    • Line 336: warning: exported function ReplaceAllInt8 should have comment or be unexported (golint)
    • Line 347: warning: exported function ShiftInt8 should have comment or be unexported (golint)
    • Line 351: warning: exported function MaxInt8 should have comment or be unexported (golint)
    • Line 361: warning: exported function MinInt8 should have comment or be unexported (golint)
    • Line 371: warning: exported function ContainsInt16 should have comment or be unexported (golint)
    • Line 380: warning: exported function CountInt16 should have comment or be unexported (golint)
    • Line 390: warning: exported function DeleteInt16 should have comment or be unexported (golint)
    • Line 394: warning: exported function IndexInt16 should have comment or be unexported (golint)
    • Line 403: warning: exported function LastIndexInt16 should have comment or be unexported (golint)
    • Line 413: warning: exported function MapInt16 should have comment or be unexported (golint)
    • Line 422: warning: exported function PopInt16 should have comment or be unexported (golint)
    • Line 426: warning: exported function ReplaceInt16 should have comment or be unexported (golint)
    • Line 438: warning: exported function ReplaceAllInt16 should have comment or be unexported (golint)
    • Line 449: warning: exported function ShiftInt16 should have comment or be unexported (golint)
    • Line 453: warning: exported function MaxInt16 should have comment or be unexported (golint)
    • Line 463: warning: exported function MinInt16 should have comment or be unexported (golint)
    • Line 473: warning: exported function ContainsInt32 should have comment or be unexported (golint)
    • Line 482: warning: exported function CountInt32 should have comment or be unexported (golint)
    • Line 492: warning: exported function DeleteInt32 should have comment or be unexported (golint)
    • Line 496: warning: exported function IndexInt32 should have comment or be unexported (golint)
    • Line 505: warning: exported function LastIndexInt32 should have comment or be unexported (golint)
    • Line 515: warning: exported function MapInt32 should have comment or be unexported (golint)
    • Line 524: warning: exported function PopInt32 should have comment or be unexported (golint)
    • Line 528: warning: exported function ReplaceInt32 should have comment or be unexported (golint)
    • Line 540: warning: exported function ReplaceAllInt32 should have comment or be unexported (golint)
    • Line 551: warning: exported function ShiftInt32 should have comment or be unexported (golint)
    • Line 555: warning: exported function MaxInt32 should have comment or be unexported (golint)
    • Line 565: warning: exported function MinInt32 should have comment or be unexported (golint)
    • Line 575: warning: exported function ContainsInt64 should have comment or be unexported (golint)
    • Line 584: warning: exported function CountInt64 should have comment or be unexported (golint)
    • Line 594: warning: exported function DeleteInt64 should have comment or be unexported (golint)
    • Line 598: warning: exported function IndexInt64 should have comment or be unexported (golint)
    • Line 607: warning: exported function LastIndexInt64 should have comment or be unexported (golint)
    • Line 617: warning: exported function MapInt64 should have comment or be unexported (golint)
    • Line 626: warning: exported function PopInt64 should have comment or be unexported (golint)
    • Line 630: warning: exported function ReplaceInt64 should have comment or be unexported (golint)
    • Line 642: warning: exported function ReplaceAllInt64 should have comment or be unexported (golint)
    • Line 653: warning: exported function ShiftInt64 should have comment or be unexported (golint)
    • Line 657: warning: exported function MaxInt64 should have comment or be unexported (golint)
    • Line 667: warning: exported function MinInt64 should have comment or be unexported (golint)
    • Line 677: warning: exported function ContainsFloat32 should have comment or be unexported (golint)
    • Line 686: warning: exported function CountFloat32 should have comment or be unexported (golint)
    • Line 696: warning: exported function DeleteFloat32 should have comment or be unexported (golint)
    • Line 700: warning: exported function IndexFloat32 should have comment or be unexported (golint)
    • Line 709: warning: exported function LastIndexFloat32 should have comment or be unexported (golint)
    • Line 719: warning: exported function MapFloat32 should have comment or be unexported (golint)
    • Line 728: warning: exported function PopFloat32 should have comment or be unexported (golint)
    • Line 732: warning: exported function ReplaceFloat32 should have comment or be unexported (golint)
    • Line 744: warning: exported function ReplaceAllFloat32 should have comment or be unexported (golint)
    • Line 755: warning: exported function ShiftFloat32 should have comment or be unexported (golint)
    • Line 759: warning: exported function MaxFloat32 should have comment or be unexported (golint)
    • Line 769: warning: exported function MinFloat32 should have comment or be unexported (golint)
    • Line 779: warning: exported function ContainsFloat64 should have comment or be unexported (golint)
    • Line 788: warning: exported function CountFloat64 should have comment or be unexported (golint)
    • Line 798: warning: exported function DeleteFloat64 should have comment or be unexported (golint)
    • Line 802: warning: exported function IndexFloat64 should have comment or be unexported (golint)
    • Line 811: warning: exported function LastIndexFloat64 should have comment or be unexported (golint)
    • Line 821: warning: exported function MapFloat64 should have comment or be unexported (golint)
    • Line 830: warning: exported function PopFloat64 should have comment or be unexported (golint)
    • Line 834: warning: exported function ReplaceFloat64 should have comment or be unexported (golint)
    • Line 846: warning: exported function ReplaceAllFloat64 should have comment or be unexported (golint)
    • Line 857: warning: exported function ShiftFloat64 should have comment or be unexported (golint)
    • Line 861: warning: exported function MaxFloat64 should have comment or be unexported (golint)
    • Line 871: warning: exported function MinFloat64 should have comment or be unexported (golint)
    • Line 881: warning: exported function ContainsString should have comment or be unexported (golint)
    • Line 890: warning: exported function CountString should have comment or be unexported (golint)
    • Line 900: warning: exported function DeleteString should have comment or be unexported (golint)
    • Line 904: warning: exported function IndexString should have comment or be unexported (golint)
    • Line 913: warning: exported function LastIndexString should have comment or be unexported (golint)
    • Line 923: warning: exported function MapString should have comment or be unexported (golint)
    • Line 932: warning: exported function PopString should have comment or be unexported (golint)
    • Line 936: warning: exported function ReplaceString should have comment or be unexported (golint)
    • Line 948: warning: exported function ReplaceAllString should have comment or be unexported (golint)
    • Line 959: warning: exported function ShiftString should have comment or be unexported (golint)
    • Line 963: warning: exported function MaxString should have comment or be unexported (golint)
    • Line 973: warning: exported function MinString should have comment or be unexported (golint)
    • Line 983: warning: exported function ContainsUint should have comment or be unexported (golint)
    • Line 992: warning: exported function CountUint should have comment or be unexported (golint)
    • Line 1002: warning: exported function DeleteUint should have comment or be unexported (golint)
    • Line 1006: warning: exported function IndexUint should have comment or be unexported (golint)
    • Line 1015: warning: exported function LastIndexUint should have comment or be unexported (golint)
    • Line 1025: warning: exported function MapUint should have comment or be unexported (golint)
    • Line 1034: warning: exported function PopUint should have comment or be unexported (golint)
    • Line 1038: warning: exported function ReplaceUint should have comment or be unexported (golint)
    • Line 1050: warning: exported function ReplaceAllUint should have comment or be unexported (golint)
    • Line 1061: warning: exported function ShiftUint should have comment or be unexported (golint)
    • Line 1065: warning: exported function MaxUint should have comment or be unexported (golint)
    • Line 1075: warning: exported function MinUint should have comment or be unexported (golint)
    • Line 1085: warning: exported function ContainsUint8 should have comment or be unexported (golint)
    • Line 1094: warning: exported function CountUint8 should have comment or be unexported (golint)
    • Line 1104: warning: exported function DeleteUint8 should have comment or be unexported (golint)
    • Line 1108: warning: exported function IndexUint8 should have comment or be unexported (golint)
    • Line 1117: warning: exported function LastIndexUint8 should have comment or be unexported (golint)
    • Line 1127: warning: exported function MapUint8 should have comment or be unexported (golint)
    • Line 1136: warning: exported function PopUint8 should have comment or be unexported (golint)
    • Line 1140: warning: exported function ReplaceUint8 should have comment or be unexported (golint)
    • Line 1152: warning: exported function ReplaceAllUint8 should have comment or be unexported (golint)
    • Line 1163: warning: exported function ShiftUint8 should have comment or be unexported (golint)
    • Line 1167: warning: exported function MaxUint8 should have comment or be unexported (golint)
    • Line 1177: warning: exported function MinUint8 should have comment or be unexported (golint)
    • Line 1187: warning: exported function ContainsUint16 should have comment or be unexported (golint)
    • Line 1196: warning: exported function CountUint16 should have comment or be unexported (golint)
    • Line 1206: warning: exported function DeleteUint16 should have comment or be unexported (golint)
    • Line 1210: warning: exported function IndexUint16 should have comment or be unexported (golint)
    • Line 1219: warning: exported function LastIndexUint16 should have comment or be unexported (golint)
    • Line 1229: warning: exported function MapUint16 should have comment or be unexported (golint)
    • Line 1238: warning: exported function PopUint16 should have comment or be unexported (golint)
    • Line 1242: warning: exported function ReplaceUint16 should have comment or be unexported (golint)
    • Line 1254: warning: exported function ReplaceAllUint16 should have comment or be unexported (golint)
    • Line 1265: warning: exported function ShiftUint16 should have comment or be unexported (golint)
    • Line 1269: warning: exported function MaxUint16 should have comment or be unexported (golint)
    • Line 1279: warning: exported function MinUint16 should have comment or be unexported (golint)
    • Line 1289: warning: exported function ContainsUint32 should have comment or be unexported (golint)
    • Line 1298: warning: exported function CountUint32 should have comment or be unexported (golint)
    • Line 1308: warning: exported function DeleteUint32 should have comment or be unexported (golint)
    • Line 1312: warning: exported function IndexUint32 should have comment or be unexported (golint)
    • Line 1321: warning: exported function LastIndexUint32 should have comment or be unexported (golint)
    • Line 1331: warning: exported function MapUint32 should have comment or be unexported (golint)
    • Line 1340: warning: exported function PopUint32 should have comment or be unexported (golint)
    • Line 1344: warning: exported function ReplaceUint32 should have comment or be unexported (golint)
    • Line 1356: warning: exported function ReplaceAllUint32 should have comment or be unexported (golint)
    • Line 1367: warning: exported function ShiftUint32 should have comment or be unexported (golint)
    • Line 1371: warning: exported function MaxUint32 should have comment or be unexported (golint)
    • Line 1381: warning: exported function MinUint32 should have comment or be unexported (golint)
    • Line 1391: warning: exported function ContainsUint64 should have comment or be unexported (golint)
    • Line 1400: warning: exported function CountUint64 should have comment or be unexported (golint)
    • Line 1410: warning: exported function DeleteUint64 should have comment or be unexported (golint)
    • Line 1414: warning: exported function IndexUint64 should have comment or be unexported (golint)
    • Line 1423: warning: exported function LastIndexUint64 should have comment or be unexported (golint)
    • Line 1433: warning: exported function MapUint64 should have comment or be unexported (golint)
    • Line 1442: warning: exported function PopUint64 should have comment or be unexported (golint)
    • Line 1446: warning: exported function ReplaceUint64 should have comment or be unexported (golint)
    • Line 1458: warning: exported function ReplaceAllUint64 should have comment or be unexported (golint)
    • Line 1469: warning: exported function ShiftUint64 should have comment or be unexported (golint)
    • Line 1473: warning: exported function MaxUint64 should have comment or be unexported (golint)
    • Line 1483: warning: exported function MinUint64 should have comment or be unexported (golint)
    • Line 1493: warning: exported function ContainsUintptr should have comment or be unexported (golint)
    • Line 1502: warning: exported function CountUintptr should have comment or be unexported (golint)
    • Line 1512: warning: exported function DeleteUintptr should have comment or be unexported (golint)
    • Line 1516: warning: exported function IndexUintptr should have comment or be unexported (golint)
    • Line 1525: warning: exported function LastIndexUintptr should have comment or be unexported (golint)
    • Line 1535: warning: exported function MapUintptr should have comment or be unexported (golint)
    • Line 1544: warning: exported function PopUintptr should have comment or be unexported (golint)
    • Line 1548: warning: exported function ReplaceUintptr should have comment or be unexported (golint)
    • Line 1560: warning: exported function ReplaceAllUintptr should have comment or be unexported (golint)
    • Line 1571: warning: exported function ShiftUintptr should have comment or be unexported (golint)
    • Line 1575: warning: exported function ContainsComplex64 should have comment or be unexported (golint)
    • Line 1584: warning: exported function CountComplex64 should have comment or be unexported (golint)
    • Line 1594: warning: exported function DeleteComplex64 should have comment or be unexported (golint)
    • Line 1598: warning: exported function IndexComplex64 should have comment or be unexported (golint)
    • Line 1607: warning: exported function LastIndexComplex64 should have comment or be unexported (golint)
    • Line 1617: warning: exported function MapComplex64 should have comment or be unexported (golint)
    • Line 1626: warning: exported function PopComplex64 should have comment or be unexported (golint)
    • Line 1630: warning: exported function ReplaceComplex64 should have comment or be unexported (golint)
    • Line 1642: warning: exported function ReplaceAllComplex64 should have comment or be unexported (golint)
    • Line 1653: warning: exported function ShiftComplex64 should have comment or be unexported (golint)
    • Line 1657: warning: exported function ContainsComplex128 should have comment or be unexported (golint)
    • Line 1666: warning: exported function CountComplex128 should have comment or be unexported (golint)
    • Line 1676: warning: exported function DeleteComplex128 should have comment or be unexported (golint)
    • Line 1680: warning: exported function IndexComplex128 should have comment or be unexported (golint)
    • Line 1689: warning: exported function LastIndexComplex128 should have comment or be unexported (golint)
    • Line 1699: warning: exported function MapComplex128 should have comment or be unexported (golint)
    • Line 1708: warning: exported function PopComplex128 should have comment or be unexported (golint)
    • Line 1712: warning: exported function ReplaceComplex128 should have comment or be unexported (golint)
    • Line 1724: warning: exported function ReplaceAllComplex128 should have comment or be unexported (golint)
    • Line 1735: warning: exported function ShiftComplex128 should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!