Preparing report...

Report for github.com/viant/vec

(v0.0.0-20220127161207-e275e63a980b)

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


golint71%

Golint is a linter for Go source code.

    • pack/expand_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _expand_mask_avx should be _expandMaskAvx (golint)
    • Line 11: warning: exported method Uint64s.Expand should have comment or be unexported (golint)
    • pack/shrink_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _packed_mask_avx should be _packedMaskAvx (golint)
    • Line 11: warning: exported method Uint64.Shrink should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; func _packed_mask2_avx should be _packedMask2Avx (golint)
    • Line 18: warning: exported method Uint64.ShrinkValue should have comment or be unexported (golint)
    • lut/lookup_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _lookup_512vbmi should be _lookup512vbmi (golint)
    • Line 11: warning: exported function Lookup should have comment or be unexported (golint)
    • lut/lookup_subrange_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _lookup_subrange_avx should be _lookupSubrangeAvx (golint)
    • Line 9: warning: don't use underscores in Go names; func parameter range_upper should be rangeUpper (golint)
    • Line 11: warning: exported function LookupSubrange should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; func parameter range_upper should be rangeUpper (golint)
    • cpu/cpu.go
    • Line 15: warning: exported var Info should have comment or be unexported (golint)
    • bits/count_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _count_optimized should be _countOptimized (golint)
    • Line 10: warning: exported function Count should have comment or be unexported (golint)
    • pack/uint64.go
    • Line 3: warning: exported type Uint64 should have comment or be unexported (golint)
    • lut/lookup.go
    • Line 10: warning: don't use underscores in Go names; func parameter range_upper should be rangeUpper (golint)
    • bitwise/bitwise_amd64.go
    • Line 9: warning: don't use underscores in Go names; func _and_optimized should be _andOptimized (golint)
    • Line 17: warning: don't use underscores in Go names; func _and_avx2 should be _andAvx2 (golint)
    • Line 25: warning: don't use underscores in Go names; func _and_avx512 should be _andAvx512 (golint)
    • Line 33: warning: don't use underscores in Go names; func _and_v3_avx2 should be _andV3Avx2 (golint)
    • Line 41: warning: don't use underscores in Go names; func _and_v3_avx512 should be _andV3Avx512 (golint)
    • Line 49: warning: don't use underscores in Go names; func _and_v3_optimized should be _andV3Optimized (golint)
    • Line 57: warning: don't use underscores in Go names; func _or_optimized should be _orOptimized (golint)
    • Line 65: warning: don't use underscores in Go names; func _or_avx2 should be _orAvx2 (golint)
    • Line 73: warning: don't use underscores in Go names; func _or_avx512 should be _orAvx512 (golint)
    • Line 81: warning: don't use underscores in Go names; func _or_v3_avx2 should be _orV3Avx2 (golint)
    • Line 89: warning: don't use underscores in Go names; func _or_v3_avx512 should be _orV3Avx512 (golint)
    • Line 97: warning: don't use underscores in Go names; func _or_v3_optimized should be _orV3Optimized (golint)
    • Line 105: warning: don't use underscores in Go names; func _xor_optimized should be _xorOptimized (golint)
    • Line 113: warning: don't use underscores in Go names; func _xor_avx2 should be _xorAvx2 (golint)
    • Line 121: warning: don't use underscores in Go names; func _xor_avx512 should be _xorAvx512 (golint)
    • Line 129: warning: don't use underscores in Go names; func _xor_v3_avx2 should be _xorV3Avx2 (golint)
    • Line 137: warning: don't use underscores in Go names; func _xor_v3_avx512 should be _xorV3Avx512 (golint)
    • Line 145: warning: don't use underscores in Go names; func _xor_v3_optimized should be _xorV3Optimized (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!