Preparing report...

Report for mae.earth/pkg/vclock

(v0.0.0-20200317093654-c6e1aaaa210c)

A    Great!    Found 1 issues across 2 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!


gocyclo50%

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.


golint50%

Golint is a linter for Go source code.

    • /mae.earth/pkg/vclock/clock.go
    • Line 1: warning: package comment should be of the form "Package vclock ..." (golint)
    • Line 13: warning: comment on exported type Relationship should be of the form "Relationship ..." (with optional leading article) (golint)
    • Line 17: warning: exported const Delimiter should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: comment on exported type Tag should be of the form "Tag ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported method Tag.Next should be of the form "Next ..." (golint)
    • Line 37: warning: comment on exported method Tag.Previous should be of the form "Previous ..." (golint)
    • Line 42: warning: comment on exported function NewTag should be of the form "NewTag ..." (golint)
    • Line 47: warning: comment on exported type ByUser should be of the form "ByUser ..." (with optional leading article) (golint)
    • Line 54: warning: comment on exported type Clock should be of the form "Clock ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported var EmptyClock should be of the form "EmptyClock ..." (golint)
    • Line 60: warning: comment on exported function Parse should be of the form "Parse ..." (golint)
    • Line 102: warning: comment on exported method Clock.Merge should be of the form "Merge ..." (golint)
    • Line 132: warning: comment on exported method Clock.Update should be of the form "Update ..." (golint)
    • Line 174: warning: comment on exported method Clock.Format should be of the form "Format ..." (golint)
    • Line 186: warning: comment on exported method Clock.Equal should be of the form "Equal ..." (golint)
    • Line 203: warning: comment on exported method Clock.RelationshipTo should be of the form "RelationshipTo ..." (golint)
    • Line 297: warning: comment on exported method Clock.RelationshipIs should be of the form "RelationshipIs ..." (golint)
    • Line 302: warning: comment on exported method Clock.Tag should be of the form "Tag ..." (golint)
    • Line 314: warning: comment on exported method Clock.HasTag should be of the form "HasTag ..." (golint)
    • Line 326: warning: comment on exported method Clock.HasTags should be of the form "HasTags ..." (golint)
    • Line 345: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 350: warning: comment on exported function Fuzz should be of the form "Fuzz ..." (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!