Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command
An error occurred while running this test (AddError: could not parse "_repos/src/github.com/philippseith/signalr/stat Invokeresult.go: no such file or directory:1::warning: file is not gofmted with -s (gofmt)" - strconv.Atoi: parsing " no such file or directory": invalid syntax)
go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
An error occurred while running this test (exit status 2)
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.
An error occurred while running this test (exit status 2)
Golint is a linter for Go source code.
-
signalr/serveroptions.go
- Line 9: warning: comment on exported function UseHub should be of the form "UseHub ..." (golint)
- Line 20: warning: comment on exported function HubFactory should be of the form "HubFactory ..." (golint)
- Line 34: warning: comment on exported function SimpleHubFactory should be of the form "SimpleHubFactory ..." (golint)
- Line 43: warning: comment on exported function HTTPTransports should be of the form "HTTPTransports ..." (golint)
-
signalr/clientoptions.go
- Line 8: warning: comment on exported function Receiver should be of the form "Receiver ..." (golint)
- Line 19: warning: comment on exported function TransferFormat should be of the form "TransferFormat ..." (golint)
-
signalr/connection.go
- Line 20: warning: exported type TransferMode should have comment or be unexported (golint)
- Line 30: warning: exported type ConnectionWithTransferMode should have comment or be unexported (golint)
-
signalr/connectionbase.go
- Line 15: warning: exported method ConnectionBase.Context should have comment or be unexported (golint)
- Line 19: warning: exported method ConnectionBase.ConnectionID should have comment or be unexported (golint)
- Line 23: warning: exported method ConnectionBase.SetConnectionID should have comment or be unexported (golint)
- Line 27: warning: exported method ConnectionBase.Timeout should have comment or be unexported (golint)
- Line 31: warning: exported method ConnectionBase.SetTimeout should have comment or be unexported (golint)
-
signalr/doc.go
- Line 1: warning: package comment should be of the form "Package signalr ..." (golint)
-
signalr/options.go
- Line 10: warning: comment on exported function TimeoutInterval should be of the form "TimeoutInterval ..." (golint)
- Line 21: warning: comment on exported function HandshakeTimeout should be of the form "HandshakeTimeout ..." (golint)
- Line 33: warning: comment on exported function KeepAliveInterval should be of the form "KeepAliveInterval ..." (golint)
- Line 45: warning: comment on exported function StreamBufferCapacity should be of the form "StreamBufferCapacity ..." (golint)
- Line 58: warning: comment on exported function MaximumReceiveMessageSize should be of the form "MaximumReceiveMessageSize ..." (golint)
- Line 70: warning: comment on exported function ChanReceiveTimeout should be of the form "ChanReceiveTimeout ..." (golint)
- Line 81: warning: comment on exported function EnableDetailedErrors should be of the form "EnableDetailedErrors ..." (golint)
- Line 96: warning: comment on exported function Logger should be of the form "Logger ..." (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
An error occurred while running this test (exit status 2)