Preparing report...

Report for github.com/rubiojr/rplay

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


golint38%

Golint is a linter for Go source code.

    • rplay/version.go
    • Line 3: warning: exported const RPLAY_VERSION should have comment or be unexported (golint)
    • rplay/internal/fps/fps.go
    • Line 10: warning: exported var ErrMetadataNotFound should have comment or be unexported (golint)
    • Line 12: warning: exported type Fingerprinter should have comment or be unexported (golint)
    • Line 16: warning: exported type AcoustIDFingerprinter should have comment or be unexported (golint)
    • Line 20: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 28: warning: exported function New should have comment or be unexported (golint)
    • Line 32: warning: exported method AcoustIDFingerprinter.Fingerprint should have comment or be unexported (golint)
    • rplay/internal/acoustid/acoustid.go
    • Line 15: warning: exported type Fingerprint should have comment or be unexported (golint)
    • Line 20: warning: exported type AcoustIDRequest should have comment or be unexported (golint)
    • Line 27: warning: exported type Result should have comment or be unexported (golint)
    • Line 51: warning: exported type AcoustIDResponse should have comment or be unexported (golint)
    • Line 56: warning: exported function FindFPCALC should have comment or be unexported (golint)
    • Line 65: warning: exported function NewFingerprint should have comment or be unexported (golint)
    • Line 90: warning: exported function MakeAcoustIDRequest should have comment or be unexported (golint)
    • rplay/cmd_index.go
    • Line 27: warning: exported type AudioFilter should have comment or be unexported (golint)
    • Line 29: warning: exported type MP3DocumentBuilder should have comment or be unexported (golint)
    • Line 52: warning: exported method AudioFilter.ShouldIndex should have comment or be unexported (golint)
    • Line 93: warning: exported method MP3DocumentBuilder.BuildDocument should have comment or be unexported (golint)
    • rplay/float32reader.go
    • Line 21: warning: exported type Float32Reader should have comment or be unexported (golint)
    • Line 25: warning: exported function NewReaderFromFloat32Reader should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign92%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!