Preparing report...

Report for github.com/prometheusresearch/rex_deliver_dataset

A+    Excellent!    Found 10 issues across 23 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!


golint56%

Golint is a linter for Go source code.

    • rex_deliver_dataset/util.go
    • Line 29: warning: exported function AbsPath should have comment or be unexported (golint)
    • Line 49: warning: exported function FormatBytes should have comment or be unexported (golint)
    • Line 84: warning: exported function TimeAsISO8601 should have comment or be unexported (golint)
    • rex_deliver_dataset/validation/base.go
    • Line 26: warning: exported type Validator should have comment or be unexported (golint)
    • Line 33: warning: exported function Register should have comment or be unexported (golint)
    • Line 39: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 45: warning: exported function GetAvailableTypes should have comment or be unexported (golint)
    • rex_deliver_dataset/config.go
    • Line 60: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 68: warning: exported function NewConfiguration should have comment or be unexported (golint)
    • Line 131: warning: exported method Configuration.Validate should have comment or be unexported (golint)
    • Line 155: warning: exported function ReadConfig should have comment or be unexported (golint)
    • rex_deliver_dataset/manifest.go
    • Line 25: warning: exported type ManifestFile should have comment or be unexported (golint)
    • Line 31: warning: exported type Manifest should have comment or be unexported (golint)
    • Line 38: warning: exported function CreateManifest should have comment or be unexported (golint)
    • Line 54: warning: exported method Manifest.ToJSON should have comment or be unexported (golint)
    • rex_deliver_dataset/validation/error_collection.go
    • Line 25: warning: exported type Error should have comment or be unexported (golint)
    • Line 46: warning: exported type ErrorCollection should have comment or be unexported (golint)
    • Line 50: warning: exported method ErrorCollection.FileError should have comment or be unexported (golint)
    • Line 58: warning: exported method ErrorCollection.RecordError should have comment or be unexported (golint)
    • Line 67: warning: exported method ErrorCollection.ValueError should have comment or be unexported (golint)
    • Line 88: warning: exported method ErrorCollection.HasErrors should have comment or be unexported (golint)
    • Line 97: warning: exported method ErrorCollection.FileHasErrors should have comment or be unexported (golint)
    • Line 105: warning: exported method ErrorCollection.GetFiles should have comment or be unexported (golint)
    • Line 113: warning: exported function NewErrorCollection should have comment or be unexported (golint)
    • rex_deliver_dataset/reader.go
    • Line 29: warning: exported type FileReader should have comment or be unexported (golint)
    • Line 34: warning: exported function CreateFileReader should have comment or be unexported (golint)
    • Line 50: warning: exported method FileReader.GetHash 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!