Preparing report...

Report for github.com/viant/afs

A+    Excellent!    Found 20 issues across 271 files

Tweet

gofmt96%

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!


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!


golint96%

Golint is a linter for Go source code.

    • afs/scp/info.go
    • Line 14: warning: exported const DefaultFileMode should have comment (or a comment on this block) or be unexported (golint)
    • afs/base/manager.go
    • Line 200: warning: exported method Manager.IsAuthChanged should have comment or be unexported (golint)
    • Line 230: warning: comment on exported method Manager.BaseURL should be of the form "BaseURL ..." (golint)
    • afs/option/object.go
    • Line 8: warning: comment on exported function NewObjectKind should be of the form "NewObjectKind ..." (golint)
    • afs/option/presign.go
    • Line 8: warning: comment on exported type PreSign should be of the form "PreSign ..." (with optional leading article) (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell99%

Misspell Finds commonly misspelled English words