Preparing report...

Report for github.com/tamada/wildcat

A+    Excellent!    Found 9 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!


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!


golint72%

Golint is a linter for Go source code.

    • wildcat/entry.go
    • Line 27: warning: exported type CompressedEntry should have comment or be unexported (golint)
    • Line 32: warning: exported method CompressedEntry.Name should have comment or be unexported (golint)
    • Line 36: warning: exported method CompressedEntry.Index should have comment or be unexported (golint)
    • Line 40: warning: exported method CompressedEntry.Open should have comment or be unexported (golint)
    • Line 51: warning: exported method CompressedEntry.Count should have comment or be unexported (golint)
    • Line 63: warning: exported type FileEntry should have comment or be unexported (golint)
    • Line 68: warning: exported function NewFileEntry should have comment or be unexported (golint)
    • Line 72: warning: exported function NewFileEntryWithIndex should have comment or be unexported (golint)
    • Line 76: warning: exported method FileEntry.Name should have comment or be unexported (golint)
    • Line 80: warning: exported method FileEntry.Index should have comment or be unexported (golint)
    • Line 84: warning: exported method FileEntry.Open should have comment or be unexported (golint)
    • Line 96: warning: exported method FileEntry.Count should have comment or be unexported (golint)
    • Line 100: warning: exported type URLEntry should have comment or be unexported (golint)
    • Line 105: warning: exported method URLEntry.Name should have comment or be unexported (golint)
    • Line 109: warning: exported method URLEntry.Index should have comment or be unexported (golint)
    • Line 113: warning: exported method URLEntry.Open should have comment or be unexported (golint)
    • Line 133: warning: exported method URLEntry.Count should have comment or be unexported (golint)
    • wildcat/progress.go
    • Line 12: warning: exported type Progress should have comment or be unexported (golint)
    • Line 32: warning: exported function NewProgress should have comment or be unexported (golint)
    • Line 44: warning: exported type ProgressBar should have comment or be unexported (golint)
    • Line 51: warning: exported method ProgressBar.Wait should have comment or be unexported (golint)
    • Line 57: warning: exported method ProgressBar.UpdateTarget should have comment or be unexported (golint)
    • Line 63: warning: exported method ProgressBar.Done should have comment or be unexported (golint)
    • wildcat/utils.go
    • Line 9: warning: exported function NormalizePath should have comment or be unexported (golint)
    • wildcat/archive.go
    • Line 16: warning: exported function ConvertToArchiveEntry should have comment or be unexported (golint)
    • Line 91: warning: exported type TarEntry should have comment or be unexported (golint)
    • Line 95: warning: exported method TarEntry.Name should have comment or be unexported (golint)
    • Line 99: warning: exported method TarEntry.Index should have comment or be unexported (golint)
    • Line 103: warning: exported method TarEntry.Open should have comment or be unexported (golint)
    • Line 107: warning: exported method TarEntry.Count should have comment or be unexported (golint)
    • Line 190: warning: exported type ZipEntry should have comment or be unexported (golint)
    • Line 194: warning: exported method ZipEntry.Index should have comment or be unexported (golint)
    • Line 198: warning: exported method ZipEntry.Name should have comment or be unexported (golint)
    • Line 202: warning: exported method ZipEntry.Open should have comment or be unexported (golint)
    • Line 206: warning: exported method ZipEntry.Count should have comment or be unexported (golint)
    • wildcat/iowrapper/io.go
    • Line 11: warning: exported const DefaultBufferSize should have comment or be unexported (golint)
    • Line 13: warning: exported type ReadCloseTypeParser should have comment or be unexported (golint)
    • Line 45: warning: exported function NewReaderWithBufferSize should have comment or be unexported (golint)
    • Line 56: warning: exported function NewReader 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!