Preparing report...

Report for github.com/langhuihui/RxGo

A+    Excellent!    Found 8 issues across 16 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!


golint50%

Golint is a linter for Go source code.

    • RxGo/pipe/operator.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 8: warning: comment on exported function Take should be of the form "Take ..." (golint)
    • Line 15: warning: comment on exported function TakeUntil should be of the form "TakeUntil ..." (golint)
    • Line 22: warning: comment on exported function TakeWhile should be of the form "TakeWhile ..." (golint)
    • Line 29: warning: comment on exported function Skip should be of the form "Skip ..." (golint)
    • Line 36: warning: comment on exported function SkipUntil should be of the form "SkipUntil ..." (golint)
    • Line 43: warning: comment on exported function SkipWhile should be of the form "SkipWhile ..." (golint)
    • Line 50: warning: comment on exported function Share should be of the form "Share ..." (golint)
    • Line 57: warning: comment on exported function StartWith should be of the form "StartWith ..." (golint)
    • Line 64: warning: comment on exported function IgnoreElements should be of the form "IgnoreElements ..." (golint)
    • Line 71: warning: comment on exported function Do should be of the form "Do ..." (golint)
    • Line 78: warning: comment on exported function Filter should be of the form "Filter ..." (golint)
    • Line 85: warning: comment on exported function Distinct should be of the form "Distinct ..." (golint)
    • Line 92: warning: comment on exported function DistinctUntilChanged should be of the form "DistinctUntilChanged ..." (golint)
    • Line 99: warning: comment on exported function Debounce should be of the form "Debounce ..." (golint)
    • Line 106: warning: comment on exported function DebounceTime should be of the form "DebounceTime ..." (golint)
    • Line 113: warning: comment on exported function Throttle should be of the form "Throttle ..." (golint)
    • Line 120: warning: comment on exported function ThrottleTime should be of the form "ThrottleTime ..." (golint)
    • Line 127: warning: comment on exported function ElementAt should be of the form "ElementAt ..." (golint)
    • Line 134: warning: comment on exported function Find should be of the form "Find ..." (golint)
    • Line 141: warning: comment on exported function FindIndex should be of the form "FindIndex ..." (golint)
    • Line 148: warning: comment on exported function First should be of the form "First ..." (golint)
    • Line 155: warning: comment on exported function Last should be of the form "Last ..." (golint)
    • Line 162: warning: comment on exported function Max should be of the form "Max ..." (golint)
    • Line 169: warning: comment on exported function Min should be of the form "Min ..." (golint)
    • Line 176: warning: comment on exported function Reduce should be of the form "Reduce ..." (golint)
    • Line 183: warning: comment on exported function Map should be of the form "Map ..." (golint)
    • Line 190: warning: comment on exported function MapTo should be of the form "MapTo ..." (golint)
    • Line 197: warning: comment on exported function MergeMap should be of the form "MergeMap ..." (golint)
    • Line 204: warning: comment on exported function MergeMapTo should be of the form "MergeMapTo ..." (golint)
    • Line 211: warning: comment on exported function SwitchMap should be of the form "SwitchMap ..." (golint)
    • Line 218: warning: comment on exported function SwitchMapTo should be of the form "SwitchMapTo ..." (golint)
    • RxGo/rx/observer.go
    • Line 14: warning: exported method Observer.CreateFuncObserver should have comment or be unexported (golint)
    • Line 17: warning: exported method Observer.NewFuncObserver should have comment or be unexported (golint)
    • Line 22: warning: exported method Observer.CreateChanObserver should have comment or be unexported (golint)
    • Line 25: warning: exported method Observer.NewChanObserver should have comment or be unexported (golint)
    • Line 30: warning: exported method Observer.IsDisposed should have comment or be unexported (golint)
    • RxGo/rx/types.go
    • Line 4: warning: exported type Event should have comment or be unexported (golint)
    • Line 8: warning: exported type NextHandler should have comment or be unexported (golint)
    • Line 12: warning: exported type Observable should have comment or be unexported (golint)
    • Line 13: warning: exported type Operator should have comment or be unexported (golint)
    • Line 14: warning: exported type ObserverSet should have comment or be unexported (golint)
    • Line 15: warning: exported type NextFunc should have comment or be unexported (golint)
    • Line 16: warning: exported type NextCancel should have comment or be unexported (golint)
    • Line 17: warning: exported type NextChan should have comment or be unexported (golint)
    • Line 20: warning: exported method NextFunc.OnNext should have comment or be unexported (golint)
    • Line 23: warning: exported method NextChan.OnNext should have comment or be unexported (golint)
    • Line 26: warning: exported method NextCancel.OnNext should have comment or be unexported (golint)
    • Line 30: warning: exported method Event.ChangeHandler should have comment or be unexported (golint)
    • Line 35: warning: exported var EmptyNext should have comment or be unexported (golint)
    • Line 47: warning: exported method Observable.Pipe 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!