Preparing report...

Report for github.com/tywkeene/go-fsevents

A    Great!    Found 3 issues across 4 files

Tweet

gofmt75%

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!


golint50%

Golint is a linter for Go source code.

    • go-fsevents/fsevents.go
    • Line 89: warning: comment on exported var ErrWatchNotCreated should be of the form "ErrWatchNotCreated ..." (golint)
    • Line 91: warning: exported var ErrNoRunningDescriptors should have comment or be unexported (golint)
    • Line 94: warning: comment on exported var ErrDescNotCreated should be of the form "ErrDescNotCreated ..." (golint)
    • Line 104: warning: comment on exported var ErrNoSuchHandle should be of the form "ErrNoSuchHandle ..." (golint)
    • Line 109: warning: comment on exported var ErrIncompleteRead should be of the form "ErrIncompleteRead ..." (golint)
    • Line 115: warning: comment on exported var Accessed should be of the form "Accessed ..." (golint)
    • Line 117: warning: exported var Modified should have comment or be unexported (golint)
    • Line 141: warning: comment on exported var DirRemovedEvent should be of the form "DirRemovedEvent ..." (golint)
    • Line 145: warning: comment on exported var DirCreatedEvent should be of the form "DirCreatedEvent ..." (golint)
    • Line 149: warning: comment on exported var DirChangedEvent should be of the form "DirChangedEvent ..." (golint)
    • Line 153: warning: comment on exported var FileRemovedEvent should be of the form "FileRemovedEvent ..." (golint)
    • Line 158: warning: comment on exported var RootEvent should be of the form "RootEvent ..." (golint)
    • go-fsevents/examples/handlers/handlers.go
    • Line 15: warning: comment on exported method DirectoryCreatedHandle.Handle should be of the form "Handle ..." (golint)
    • Line 39: warning: comment on exported method DirectoryCreatedHandle.Check should be of the form "Check ..." (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!


misspell75%

Misspell Finds commonly misspelled English words