Preparing report...

Report for github.com/rzajac/riff

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


gocyclo96%

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.


golint66%

Golint is a linter for Go source code.

    • riff/chunk_rawc.go
    • Line 50: warning: exported method ChunkRAWC.ID should have comment or be unexported (golint)
    • Line 51: warning: exported method ChunkRAWC.Size should have comment or be unexported (golint)
    • Line 52: warning: exported method ChunkRAWC.Type should have comment or be unexported (golint)
    • Line 53: warning: exported method ChunkRAWC.Multi should have comment or be unexported (golint)
    • Line 54: warning: exported method ChunkRAWC.Chunks should have comment or be unexported (golint)
    • Line 55: warning: exported method ChunkRAWC.Raw should have comment or be unexported (golint)
    • Line 57: warning: exported method ChunkRAWC.Body should have comment or be unexported (golint)
    • Line 61: warning: exported method ChunkRAWC.ReadFrom should have comment or be unexported (golint)
    • Line 94: warning: exported method ChunkRAWC.WriteTo should have comment or be unexported (golint)
    • Line 122: warning: exported method ChunkRAWC.Reset should have comment or be unexported (golint)
    • riff/chunk_smpl.go
    • Line 124: warning: exported method ChunkSMPL.ID should have comment or be unexported (golint)
    • Line 125: warning: exported method ChunkSMPL.Size should have comment or be unexported (golint)
    • Line 126: warning: exported method ChunkSMPL.Type should have comment or be unexported (golint)
    • Line 127: warning: exported method ChunkSMPL.Multi should have comment or be unexported (golint)
    • Line 128: warning: exported method ChunkSMPL.Chunks should have comment or be unexported (golint)
    • Line 129: warning: exported method ChunkSMPL.Raw should have comment or be unexported (golint)
    • Line 136: warning: exported method ChunkSMPL.ReadFrom should have comment or be unexported (golint)
    • Line 181: warning: exported method ChunkSMPL.WriteTo should have comment or be unexported (golint)
    • Line 226: warning: exported method ChunkSMPL.Reset should have comment or be unexported (golint)
    • riff/chunk_data.go
    • Line 24: warning: exported method ChunkDATA.ID should have comment or be unexported (golint)
    • Line 25: warning: exported method ChunkDATA.Size should have comment or be unexported (golint)
    • Line 26: warning: exported method ChunkDATA.Type should have comment or be unexported (golint)
    • Line 27: warning: exported method ChunkDATA.Multi should have comment or be unexported (golint)
    • Line 28: warning: exported method ChunkDATA.Chunks should have comment or be unexported (golint)
    • Line 29: warning: exported method ChunkDATA.Raw should have comment or be unexported (golint)
    • Line 73: warning: exported method ChunkDATA.ReadFrom should have comment or be unexported (golint)
    • Line 105: warning: exported method ChunkDATA.WriteTo should have comment or be unexported (golint)
    • riff/chunk_info.go
    • Line 135: warning: exported method ChunkINFO.ID should have comment or be unexported (golint)
    • Line 136: warning: exported method ChunkINFO.Size should have comment or be unexported (golint)
    • Line 137: warning: exported method ChunkINFO.Type should have comment or be unexported (golint)
    • Line 138: warning: exported method ChunkINFO.Multi should have comment or be unexported (golint)
    • Line 139: warning: exported method ChunkINFO.Chunks should have comment or be unexported (golint)
    • Line 140: warning: exported method ChunkINFO.Raw should have comment or be unexported (golint)
    • Line 147: warning: exported method ChunkINFO.ReadFrom should have comment or be unexported (golint)
    • Line 173: warning: exported method ChunkINFO.WriteTo should have comment or be unexported (golint)
    • Line 197: warning: exported method ChunkINFO.Reset should have comment or be unexported (golint)
    • riff/chunk_list.go
    • Line 56: warning: exported method ChunkLIST.ID should have comment or be unexported (golint)
    • Line 57: warning: exported method ChunkLIST.Size should have comment or be unexported (golint)
    • Line 58: warning: exported method ChunkLIST.Type should have comment or be unexported (golint)
    • Line 59: warning: exported method ChunkLIST.Multi should have comment or be unexported (golint)
    • Line 60: warning: exported method ChunkLIST.Chunks should have comment or be unexported (golint)
    • Line 61: warning: exported method ChunkLIST.Raw should have comment or be unexported (golint)
    • Line 63: warning: exported method ChunkLIST.ReadFrom should have comment or be unexported (golint)
    • Line 131: warning: exported method ChunkLIST.WriteTo should have comment or be unexported (golint)
    • Line 165: warning: exported method ChunkLIST.Reset should have comment or be unexported (golint)
    • riff/chunk_ltxt.go
    • Line 75: warning: exported method ChunkLTXT.ID should have comment or be unexported (golint)
    • Line 76: warning: exported method ChunkLTXT.Size should have comment or be unexported (golint)
    • Line 77: warning: exported method ChunkLTXT.Type should have comment or be unexported (golint)
    • Line 78: warning: exported method ChunkLTXT.Multi should have comment or be unexported (golint)
    • Line 79: warning: exported method ChunkLTXT.Chunks should have comment or be unexported (golint)
    • Line 80: warning: exported method ChunkLTXT.Raw should have comment or be unexported (golint)
    • Line 87: warning: exported method ChunkLTXT.ReadFrom should have comment or be unexported (golint)
    • Line 117: warning: exported method ChunkLTXT.WriteTo should have comment or be unexported (golint)
    • Line 146: warning: exported method ChunkLTXT.Reset should have comment or be unexported (golint)
    • riff/chunk_fmt.go
    • Line 82: warning: exported method ChunkFMT.ID should have comment or be unexported (golint)
    • Line 83: warning: exported method ChunkFMT.Size should have comment or be unexported (golint)
    • Line 84: warning: exported method ChunkFMT.Type should have comment or be unexported (golint)
    • Line 85: warning: exported method ChunkFMT.Multi should have comment or be unexported (golint)
    • Line 86: warning: exported method ChunkFMT.Chunks should have comment or be unexported (golint)
    • Line 87: warning: exported method ChunkFMT.Raw should have comment or be unexported (golint)
    • Line 126: warning: exported method ChunkFMT.ReadFrom should have comment or be unexported (golint)
    • Line 185: warning: exported method ChunkFMT.WriteTo should have comment or be unexported (golint)
    • Line 235: warning: exported method ChunkFMT.Reset should have comment or be unexported (golint)
    • riff/chunk_labl.go
    • Line 40: warning: exported method ChunkLABL.ID should have comment or be unexported (golint)
    • Line 41: warning: exported method ChunkLABL.Size should have comment or be unexported (golint)
    • Line 42: warning: exported method ChunkLABL.Type should have comment or be unexported (golint)
    • Line 43: warning: exported method ChunkLABL.Multi should have comment or be unexported (golint)
    • Line 44: warning: exported method ChunkLABL.Chunks should have comment or be unexported (golint)
    • Line 45: warning: exported method ChunkLABL.Raw should have comment or be unexported (golint)
    • Line 52: warning: exported method ChunkLABL.ReadFrom should have comment or be unexported (golint)
    • Line 82: warning: exported method ChunkLABL.WriteTo should have comment or be unexported (golint)
    • Line 111: warning: exported method ChunkLABL.Reset should have comment or be unexported (golint)
    • riff/chunk_list_test.go
    • Line 15: warning: don't use underscores in Go names; func listChunkType_INFO should be listChunkTypeINFO (golint)
    • Line 27: warning: don't use underscores in Go names; func listChunkType_adtl should be listChunkTypeAdtl (golint)
    • Line 50: warning: don't use underscores in Go names; func listChunkType_unknown should be listChunkTypeUnknown (golint)
    • riff/riff.go
    • Line 95: warning: exported method RIFF.ID should have comment or be unexported (golint)
    • Line 96: warning: exported method RIFF.Size should have comment or be unexported (golint)
    • Line 97: warning: exported method RIFF.Type should have comment or be unexported (golint)
    • Line 98: warning: exported method RIFF.Multi should have comment or be unexported (golint)
    • Line 99: warning: exported method RIFF.Chunks should have comment or be unexported (golint)
    • Line 100: warning: exported method RIFF.Raw should have comment or be unexported (golint)
    • Line 107: warning: exported method RIFF.ReadFrom should have comment or be unexported (golint)
    • Line 159: warning: exported method RIFF.WriteTo 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!