Preparing report...

Report for github.com/Cryptkeeper/go-fseq

A    Great!    Found 13 issues across 15 files

Tweet

gofmt93%

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!


gocyclo93%

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.


golint20%

Golint is a linter for Go source code.

    • go-fseq/pkg/v1/color.go
    • Line 3: warning: exported type ColorEncoding should have comment or be unexported (golint)
    • Line 5: warning: exported const RGB should have comment or be unexported (golint)
    • go-fseq/pkg/v1/header.go
    • Line 5: warning: exported type Header should have comment or be unexported (golint)
    • Line 22: warning: exported method Header.Duration should have comment or be unexported (golint)
    • Line 27: warning: exported method Header.FramesPerSecond should have comment or be unexported (golint)
    • go-fseq/pkg/v2/compression.go
    • Line 3: warning: exported type Compression should have comment or be unexported (golint)
    • Line 19: warning: exported const None should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type CompressionBlock should have comment or be unexported (golint)
    • go-fseq/pkg/v2/const.go
    • Line 3: warning: exported var Identifier should have comment or be unexported (golint)
    • Line 6: warning: exported const HeaderLength should have comment (or a comment on this block) or be unexported (golint)
    • go-fseq/pkg/fvar/code.go
    • Line 3: warning: exported type Code should have comment or be unexported (golint)
    • Line 6: warning: exported var MediaFile should have comment or be unexported (golint)
    • go-fseq/pkg/fvar/fvar.go
    • Line 9: warning: exported type Var should have comment or be unexported (golint)
    • Line 14: warning: exported method Var.Len should have comment or be unexported (golint)
    • Line 23: warning: exported method Var.CodeString should have comment or be unexported (golint)
    • Line 27: warning: exported method Var.DataString should have comment or be unexported (golint)
    • Line 35: warning: exported function Write should have comment or be unexported (golint)
    • Line 45: warning: exported function Read should have comment or be unexported (golint)
    • go-fseq/fseq.go
    • Line 10: warning: exported function ReadVersion should have comment or be unexported (golint)
    • Line 15: warning: exported var ValidIdentifiers should have comment or be unexported (golint)
    • Line 20: warning: exported function ValidIdentifier should have comment or be unexported (golint)
    • go-fseq/pkg/v1/const.go
    • Line 3: warning: exported var Identifier should have comment or be unexported (golint)
    • Line 6: warning: exported const HeaderLength should have comment (or a comment on this block) or be unexported (golint)
    • go-fseq/pkg/uint24/uint24.go
    • Line 7: warning: exported const MaxUint24 should have comment or be unexported (golint)
    • Line 9: warning: exported function NewUint24 should have comment or be unexported (golint)
    • Line 15: warning: exported type Uint24 should have comment or be unexported (golint)
    • Line 17: warning: exported method Uint24.Set should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint24.Uint32 should have comment or be unexported (golint)
    • go-fseq/pkg/v2/header.go
    • Line 9: warning: exported const FppMaxCompressionBlockLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Header should have comment or be unexported (golint)
    • Line 31: warning: exported method Header.Duration should have comment or be unexported (golint)
    • Line 36: warning: exported method Header.FramesPerSecond should have comment or be unexported (golint)
    • Line 40: warning: exported method Header.ComputeMaxBlocks 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!