Preparing report...

Report for github.com/pebbe/zmq3

A+    Excellent!    Found 67 issues across 105 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!


golint38%

Golint is a linter for Go source code.

    • zmq3/examples/flclient1.go
    • Line 18: warning: exported const REQUEST_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; func try_request should be tryRequest (golint)
    • Line 65: warning: don't use underscores in Go names; var endpoint_nbr should be endpointNbr (golint)
    • zmq3/examples/bstar/bstar.go
    • Line 1: warning: package comment should be of the form "Package bstar ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: exported const PRIMARY should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; type state_t should be stateT (golint)
    • Line 23: warning: don't use underscores in Go names; const state_PRIMARY should be statePRIMARY (golint)
    • Line 24: warning: don't use underscores in Go names; const state_BACKUP should be stateBACKUP (golint)
    • Line 25: warning: don't use underscores in Go names; const state_ACTIVE should be stateACTIVE (golint)
    • Line 26: warning: don't use underscores in Go names; const state_PASSIVE should be statePASSIVE (golint)
    • Line 30: warning: don't use underscores in Go names; type event_t should be eventT (golint)
    • Line 34: warning: don't use underscores in Go names; const peer_PRIMARY should be peerPRIMARY (golint)
    • Line 35: warning: don't use underscores in Go names; const peer_BACKUP should be peerBACKUP (golint)
    • Line 36: warning: don't use underscores in Go names; const peer_ACTIVE should be peerACTIVE (golint)
    • Line 37: warning: don't use underscores in Go names; const peer_PASSIVE should be peerPASSIVE (golint)
    • Line 38: warning: don't use underscores in Go names; const client_REQUEST should be clientREQUEST (golint)
    • Line 43: warning: exported type Bstar should have comment or be unexported (golint)
    • Line 49: warning: don't use underscores in Go names; struct field peer_expiry should be peerExpiry (golint)
    • Line 50: warning: don't use underscores in Go names; struct field voter_fn should be voterFn (golint)
    • Line 51: warning: don't use underscores in Go names; struct field active_fn should be activeFn (golint)
    • Line 52: warning: don't use underscores in Go names; struct field passive_fn should be passiveFn (golint)
    • Line 61: warning: don't use underscores in Go names; const bstar_HEARTBEAT should be bstarHEARTBEAT (golint)
    • Line 68: warning: don't use underscores in Go names; method execute_fsm should be executeFsm (golint)
    • Line 156: warning: don't use underscores in Go names; method update_peer_expiry should be updatePeerExpiry (golint)
    • Line 164: warning: don't use underscores in Go names; method send_state should be sendState (golint)
    • Line 170: warning: don't use underscores in Go names; method recv_state should be recvState (golint)
    • Line 180: warning: don't use underscores in Go names; method voter_ready should be voterReady (golint)
    • Line 197: warning: exported function New should have comment or be unexported (golint)
    • Line 232: warning: exported method Bstar.Voter should have comment or be unexported (golint)
    • Line 232: warning: don't use underscores in Go names; method parameter socket_type should be socketType (golint)
    • Line 246: warning: exported method Bstar.NewActive should have comment or be unexported (golint)
    • Line 253: warning: exported method Bstar.NewPassive should have comment or be unexported (golint)
    • Line 262: warning: exported method Bstar.SetVerbose should have comment or be unexported (golint)
    • Line 269: warning: exported method Bstar.Start should have comment or be unexported (golint)
    • zmq3/examples/flcliapi/flcliapi.go
    • Line 1: warning: package comment should be of the form "Package flcliapi ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: comment on exported const GLOBAL_TIMEOUT should be of the form "GLOBAL_TIMEOUT ..." (golint)
    • Line 16: warning: comment on exported const PING_INTERVAL should be of the form "PING_INTERVAL ..." (golint)
    • Line 18: warning: comment on exported const SERVER_TTL should be of the form "SERVER_TTL ..." (golint)
    • Line 31: warning: exported type Flcliapi should have comment or be unexported (golint)
    • Line 40: warning: exported function New should have comment or be unexported (golint)
    • Line 54: warning: exported method Flcliapi.Connect should have comment or be unexported (golint)
    • Line 62: warning: exported method Flcliapi.Request should have comment or be unexported (golint)
    • Line 83: warning: don't use underscores in Go names; type server_t should be serverT (golint)
    • Line 86: warning: don't use underscores in Go names; struct field ping_at should be pingAt (golint)
    • Line 90: warning: don't use underscores in Go names; func server_new should be serverNew (golint)
    • Line 120: warning: don't use underscores in Go names; type agent_t should be agentT (golint)
    • Line 131: warning: don't use underscores in Go names; func agent_new should be agentNew (golint)
    • Line 147: warning: don't use underscores in Go names; method control_message should be controlMessage (golint)
    • Line 182: warning: don't use underscores in Go names; method router_message should be routerMessage (golint)
    • Line 211: warning: don't use underscores in Go names; func flcliapi_agent should be flcliapiAgent (golint)
    • zmq3/examples/bstarsrv.go
    • Line 17: warning: don't use underscores in Go names; type state_t should be stateT (golint)
    • Line 21: warning: exported const STATE_PRIMARY should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; type event_t should be eventT (golint)
    • Line 32: warning: exported const PEER_PRIMARY should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: don't use underscores in Go names; type bstar_t should be bstarT (golint)
    • Line 43: warning: don't use underscores in Go names; struct field peer_expiry should be peerExpiry (golint)
    • Line 56: warning: exported function StateMachine should have comment or be unexported (golint)
    • Line 150: warning: don't use underscores in Go names; var send_state_at should be sendStateAt (golint)
    • Line 158: warning: don't use underscores in Go names; var time_left should be timeLeft (golint)
    • zmq3/examples/tasksink2.go
    • Line 30: warning: don't use underscores in Go names; var start_time should be startTime (golint)
    • Line 33: warning: don't use underscores in Go names; var task_nbr should be taskNbr (golint)
    • zmq3/reactor.go
    • Line 9: warning: don't use underscores in Go names; type reactor_socket should be reactorSocket (golint)
    • Line 14: warning: don't use underscores in Go names; type reactor_channel should be reactorChannel (golint)
    • Line 20: warning: exported type Reactor should have comment or be unexported (golint)
    • Line 29: warning: comment on exported function NewReactor should be of the form "NewReactor ..." (golint)
    • Line 50: warning: comment on exported method Reactor.AddSocket should be of the form "AddSocket ..." (golint)
    • Line 61: warning: comment on exported method Reactor.RemoveSocket should be of the form "RemoveSocket ..." (golint)
    • Line 73: warning: comment on exported method Reactor.AddChannel should be of the form "AddChannel ..." (golint)
    • Line 88: warning: comment on exported method Reactor.AddChannelTime should be of the form "AddChannelTime ..." (golint)
    • Line 104: warning: comment on exported method Reactor.RemoveChannel should be of the form "RemoveChannel ..." (golint)
    • Line 111: warning: exported method Reactor.SetVerbose should have comment or be unexported (golint)
    • zmq3/examples/lbbroker2.go
    • Line 17: warning: exported const NBR_CLIENTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 43: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 75: warning: don't use underscores in Go names; var client_nbr should be clientNbr (golint)
    • Line 78: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • zmq3/examples/mdbroker.go
    • Line 23: warning: exported const HEARTBEAT_LIVENESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type Broker should have comment or be unexported (golint)
    • Line 37: warning: don't use underscores in Go names; struct field heartbeat_at should be heartbeatAt (golint)
    • Line 42: warning: exported type Service should have comment or be unexported (golint)
    • Line 51: warning: exported type Worker should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; struct field id_string should be idString (golint)
    • Line 61: warning: exported function NewBroker should have comment or be unexported (golint)
    • Line 79: warning: exported method Broker.Close should have comment or be unexported (golint)
    • Line 91: warning: exported method Broker.Bind should have comment or be unexported (golint)
    • Line 104: warning: exported method Broker.WorkerMsg should have comment or be unexported (golint)
    • Line 111: warning: don't use underscores in Go names; var id_string should be idString (golint)
    • Line 112: warning: don't use underscores in Go names; var worker_ready should be workerReady (golint)
    • Line 152: warning: exported method Broker.ClientMsg should have comment or be unexported (golint)
    • Line 158: warning: don't use underscores in Go names; var service_frame should be serviceFrame (golint)
    • Line 167: warning: don't use underscores in Go names; var return_code should be returnCode (golint)
    • Line 198: warning: exported method Broker.Purge should have comment or be unexported (golint)
    • Line 216: warning: exported method Broker.ServiceRequire should have comment or be unexported (golint)
    • Line 216: warning: don't use underscores in Go names; method parameter service_frame should be serviceFrame (golint)
    • Line 236: warning: exported method Service.Dispatch should have comment or be unexported (golint)
    • Line 258: warning: exported method Broker.WorkerRequire should have comment or be unexported (golint)
    • Line 261: warning: don't use underscores in Go names; var id_string should be idString (golint)
    • Line 279: warning: exported method Worker.Delete should have comment or be unexported (golint)
    • Line 294: warning: exported method Worker.Send should have comment or be unexported (golint)
    • Line 322: warning: exported method Worker.Waiting should have comment or be unexported (golint)
    • zmq3/polling.go
    • Line 14: warning: comment on exported type Polled should be of the form "Polled ..." (with optional leading article) (golint)
    • Line 20: warning: exported type Poller should have comment or be unexported (golint)
    • Line 25: warning: comment on exported function NewPoller should be of the form "NewPoller ..." (golint)
    • Line 63: warning: comment on exported method Poller.UpdateBySocket should be of the form "UpdateBySocket ..." (golint)
    • Line 96: warning: comment on exported method Poller.RemoveBySocket should be of the form "RemoveBySocket ..." (golint)
    • Line 108: warning: comment on exported method Poller.Poll should be of the form "Poll ..." (golint)
    • Line 139: warning: comment on exported method Poller.PollAll should be of the form "PollAll ..." (golint)
    • zmq3/examples/fileio3.go
    • Line 17: warning: exported const CHUNK_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: don't use underscores in Go names; func client_thread should be clientThread (golint)
    • Line 62: warning: don't use underscores in Go names; func server_thread should be serverThread (golint)
    • zmq3/examples/ppworker.go
    • Line 16: warning: exported const HEARTBEAT_LIVENESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported const PPP_READY should be of the form "PPP_READY ..." (golint)
    • Line 29: warning: don't use underscores in Go names; func s_worker_socket should be sWorkerSocket (golint)
    • Line 56: warning: don't use underscores in Go names; var heartbeat_at should be heartbeatAt (golint)
    • zmq3/examples/rtreq.go
    • Line 16: warning: exported const NBR_WORKERS should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 50: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • Line 54: warning: don't use underscores in Go names; var start_time should be startTime (golint)
    • Line 55: warning: don't use underscores in Go names; var workers_fired should be workersFired (golint)
    • Line 79: warning: don't use underscores in Go names; func set_id should be setID (golint)
    • zmq3/examples/mdapi/mdwrkapi.go
    • Line 15: warning: don't use underscores in Go names; const heartbeat_liveness should be heartbeatLiveness (golint)
    • Line 24: warning: comment on exported type Mdwrk should be of the form "Mdwrk ..." (with optional leading article) (golint)
    • Line 33: warning: don't use underscores in Go names; struct field heartbeat_at should be heartbeatAt (golint)
    • Line 38: warning: don't use underscores in Go names; struct field expect_reply should be expectReply (golint)
    • Line 39: warning: don't use underscores in Go names; struct field reply_to should be replyTo (golint)
    • Line 47: warning: comment on exported method Mdwrk.SendToBroker should be of the form "SendToBroker ..." (golint)
    • Line 74: warning: comment on exported method Mdwrk.ConnectToBroker should be of the form "ConnectToBroker ..." (golint)
    • Line 103: warning: exported function NewMdwrk should have comment or be unexported (golint)
    • Line 123: warning: exported method Mdwrk.Close should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method Mdwrk.SetHeartbeat should be of the form "SetHeartbeat ..." (golint)
    • Line 142: warning: comment on exported method Mdwrk.SetReconnect should be of the form "SetReconnect ..." (golint)
    • Line 153: warning: comment on exported method Mdwrk.Recv should be of the form "Recv ..." (golint)
    • zmq3/socketget.go
    • Line 64: warning: comment on exported method Socket.GetType should be of the form "GetType ..." (golint)
    • Line 72: warning: comment on exported method Socket.GetRcvmore should be of the form "GetRcvmore ..." (golint)
    • Line 80: warning: comment on exported method Socket.GetSndhwm should be of the form "GetSndhwm ..." (golint)
    • Line 87: warning: comment on exported method Socket.GetRcvhwm should be of the form "GetRcvhwm ..." (golint)
    • Line 94: warning: comment on exported method Socket.GetAffinity should be of the form "GetAffinity ..." (golint)
    • Line 101: warning: comment on exported method Socket.GetIdentity should be of the form "GetIdentity ..." (golint)
    • Line 108: warning: comment on exported method Socket.GetRate should be of the form "GetRate ..." (golint)
    • Line 115: warning: comment on exported method Socket.GetRecoveryIvl should be of the form "GetRecoveryIvl ..." (golint)
    • Line 123: warning: comment on exported method Socket.GetSndbuf should be of the form "GetSndbuf ..." (golint)
    • Line 130: warning: comment on exported method Socket.GetRcvbuf should be of the form "GetRcvbuf ..." (golint)
    • Line 137: warning: comment on exported method Socket.GetLinger should be of the form "GetLinger ..." (golint)
    • Line 150: warning: comment on exported method Socket.GetReconnectIvl should be of the form "GetReconnectIvl ..." (golint)
    • Line 163: warning: comment on exported method Socket.GetReconnectIvlMax should be of the form "GetReconnectIvlMax ..." (golint)
    • Line 171: warning: comment on exported method Socket.GetBacklog should be of the form "GetBacklog ..." (golint)
    • Line 178: warning: comment on exported method Socket.GetMaxmsgsize should be of the form "GetMaxmsgsize ..." (golint)
    • Line 185: warning: comment on exported method Socket.GetMulticastHops should be of the form "GetMulticastHops ..." (golint)
    • Line 192: warning: comment on exported method Socket.GetRcvtimeo should be of the form "GetRcvtimeo ..." (golint)
    • Line 205: warning: comment on exported method Socket.GetSndtimeo should be of the form "GetSndtimeo ..." (golint)
    • Line 218: warning: comment on exported method Socket.GetIpv4only should be of the form "GetIpv4only ..." (golint)
    • Line 226: warning: comment on exported method Socket.GetDelayAttachOnConnect should be of the form "GetDelayAttachOnConnect ..." (golint)
    • Line 237: warning: comment on exported method Socket.GetEvents should be of the form "GetEvents ..." (golint)
    • Line 245: warning: comment on exported method Socket.GetLastEndpoint should be of the form "GetLastEndpoint ..." (golint)
    • Line 252: warning: comment on exported method Socket.GetTcpKeepalive should be of the form "GetTcpKeepalive ..." (golint)
    • Line 259: warning: comment on exported method Socket.GetTcpKeepaliveIdle should be of the form "GetTcpKeepaliveIdle ..." (golint)
    • Line 266: warning: comment on exported method Socket.GetTcpKeepaliveCnt should be of the form "GetTcpKeepaliveCnt ..." (golint)
    • Line 273: warning: comment on exported method Socket.GetTcpKeepaliveIntvl should be of the form "GetTcpKeepaliveIntvl ..." (golint)
    • zmq3/examples/flclient2.go
    • Line 20: warning: comment on exported const GLOBAL_TIMEOUT should be of the form "GLOBAL_TIMEOUT ..." (golint)
    • Line 53: warning: don't use underscores in Go names; type flclient_t should be flclientT (golint)
    • Line 62: warning: don't use underscores in Go names; func new_flclient should be newFlclient (golint)
    • Line 108: warning: don't use underscores in Go names; var sequence_nbr should be sequenceNbr (golint)
    • zmq3/errors.go
    • Line 21: warning: comment on exported const EADDRINUSE should be of the form "EADDRINUSE ..." (golint)
    • Line 23: warning: exported const EADDRNOTAVAIL should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported const EFSM should be of the form "EFSM ..." (golint)
    • Line 64: warning: comment on exported function AsErrno should be of the form "AsErrno ..." (golint)
    • zmq3/examples/bstarcli.go
    • Line 16: warning: exported const REQUEST_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; var server_nbr should be serverNbr (golint)
    • Line 39: warning: don't use underscores in Go names; var expect_reply should be expectReply (golint)
    • zmq3/examples/espresso.go
    • Line 19: warning: don't use underscores in Go names; func subscriber_thread should be subscriberThread (golint)
    • Line 37: warning: don't use underscores in Go names; func publisher_thread should be publisherThread (golint)
    • Line 55: warning: don't use underscores in Go names; func listener_thread should be listenerThread (golint)
    • zmq3/examples/peering2.go
    • Line 19: warning: exported const NBR_CLIENTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 55: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 127: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • Line 132: warning: don't use underscores in Go names; var client_nbr should be clientNbr (golint)
    • Line 151: warning: don't use underscores in Go names; var number_of_peers should be numberOfPeers (golint)
    • Line 232: warning: don't use underscores in Go names; var random_peer should be randomPeer (golint)
    • zmq3/examples/peering3.go
    • Line 29: warning: exported const NBR_CLIENTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 58: warning: don't use underscores in Go names; var task_id should be taskID (golint)
    • Line 92: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 178: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • Line 183: warning: don't use underscores in Go names; var client_nbr should be clientNbr (golint)
    • Line 188: warning: don't use underscores in Go names; var local_capacity should be localCapacity (golint)
    • Line 189: warning: don't use underscores in Go names; var cloud_capacity should be cloudCapacity (golint)
    • Line 250: warning: don't use underscores in Go names; var to_broker should be toBroker (golint)
    • Line 309: warning: don't use underscores in Go names; var random_peer should be randomPeer (golint)
    • zmq3/examples/rtdealer.go
    • Line 16: warning: exported const NBR_WORKERS should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 52: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • Line 56: warning: don't use underscores in Go names; var start_time should be startTime (golint)
    • Line 57: warning: don't use underscores in Go names; var workers_fired should be workersFired (golint)
    • Line 81: warning: don't use underscores in Go names; func set_id should be setID (golint)
    • zmq3/examples/clonesrv5.go
    • Line 20: warning: don't use underscores in Go names; type clonesrv_t should be clonesrvT (golint)
    • Line 125: warning: don't use underscores in Go names; func flush_ttl should be flushTTL (golint)
    • zmq3/examples/fileio2.go
    • Line 17: warning: exported const CHUNK_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; func client_thread should be clientThread (golint)
    • Line 49: warning: don't use underscores in Go names; func server_thread should be serverThread (golint)
    • zmq3/examples/flserver3.go
    • Line 22: warning: don't use underscores in Go names; var bind_endpoint should be bindEndpoint (golint)
    • Line 23: warning: don't use underscores in Go names; var connect_endpoint should be connectEndpoint (golint)
    • zmq3/examples/clonesrv6.go
    • Line 22: warning: don't use underscores in Go names; type clonesrv_t should be clonesrvT (golint)
    • Line 24: warning: don't use underscores in Go names; struct field kvmap_init should be kvmapInit (golint)
    • Line 163: warning: don't use underscores in Go names; method was_pending should be wasPending (golint)
    • Line 210: warning: don't use underscores in Go names; func flush_ttl should be flushTTL (golint)
    • Line 242: warning: don't use underscores in Go names; func send_hugz should be sendHugz (golint)
    • Line 255: warning: don't use underscores in Go names; func new_active should be newActive (golint)
    • Line 275: warning: don't use underscores in Go names; func new_passive should be newPassive (golint)
    • zmq3/doc.go
    • Line 1: warning: package comment should be of the form "Package zmq3 ..." (golint)
    • zmq3/examples/tripping.go
    • Line 18: warning: exported function ClientTask should have comment or be unexported (golint)
    • Line 48: warning: exported function WorkerTask should have comment or be unexported (golint)
    • Line 61: warning: exported function BrokerTask should have comment or be unexported (golint)
    • zmq3/examples/mdapi/mdcliapi2.go
    • Line 22: warning: comment on exported type Mdcli2 should be of the form "Mdcli2 ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported method Mdcli2.ConnectToBroker should be of the form "ConnectToBroker ..." (golint)
    • Line 69: warning: exported function NewMdcli2 should have comment or be unexported (golint)
    • Line 84: warning: exported method Mdcli2.Close should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method Mdcli2.SetTimeout should be of the form "SetTimeout ..." (golint)
    • Line 99: warning: comment on exported method Mdcli2.Send should be of the form "Send ..." (golint)
    • Line 128: warning: exported method Mdcli2.Recv should have comment or be unexported (golint)
    • zmq3/socketset.go
    • Line 71: warning: comment on exported method Socket.SetSndhwm should be of the form "SetSndhwm ..." (golint)
    • Line 78: warning: comment on exported method Socket.SetRcvhwm should be of the form "SetRcvhwm ..." (golint)
    • Line 85: warning: comment on exported method Socket.SetAffinity should be of the form "SetAffinity ..." (golint)
    • Line 92: warning: comment on exported method Socket.SetSubscribe should be of the form "SetSubscribe ..." (golint)
    • Line 99: warning: comment on exported method Socket.SetUnsubscribe should be of the form "SetUnsubscribe ..." (golint)
    • Line 106: warning: comment on exported method Socket.SetIdentity should be of the form "SetIdentity ..." (golint)
    • Line 113: warning: comment on exported method Socket.SetRate should be of the form "SetRate ..." (golint)
    • Line 120: warning: comment on exported method Socket.SetRecoveryIvl should be of the form "SetRecoveryIvl ..." (golint)
    • Line 128: warning: comment on exported method Socket.SetSndbuf should be of the form "SetSndbuf ..." (golint)
    • Line 135: warning: comment on exported method Socket.SetRcvbuf should be of the form "SetRcvbuf ..." (golint)
    • Line 142: warning: comment on exported method Socket.SetLinger should be of the form "SetLinger ..." (golint)
    • Line 155: warning: comment on exported method Socket.SetReconnectIvl should be of the form "SetReconnectIvl ..." (golint)
    • Line 168: warning: comment on exported method Socket.SetReconnectIvlMax should be of the form "SetReconnectIvlMax ..." (golint)
    • Line 176: warning: comment on exported method Socket.SetBacklog should be of the form "SetBacklog ..." (golint)
    • Line 183: warning: comment on exported method Socket.SetMaxmsgsize should be of the form "SetMaxmsgsize ..." (golint)
    • Line 190: warning: comment on exported method Socket.SetMulticastHops should be of the form "SetMulticastHops ..." (golint)
    • Line 197: warning: comment on exported method Socket.SetRcvtimeo should be of the form "SetRcvtimeo ..." (golint)
    • Line 210: warning: comment on exported method Socket.SetSndtimeo should be of the form "SetSndtimeo ..." (golint)
    • Line 223: warning: comment on exported method Socket.SetIpv4only should be of the form "SetIpv4only ..." (golint)
    • Line 234: warning: comment on exported method Socket.SetDelayAttachOnConnect should be of the form "SetDelayAttachOnConnect ..." (golint)
    • Line 245: warning: comment on exported method Socket.SetRouterMandatory should be of the form "SetRouterMandatory ..." (golint)
    • Line 252: warning: comment on exported method Socket.SetXpubVerbose should be of the form "SetXpubVerbose ..." (golint)
    • Line 259: warning: comment on exported method Socket.SetTcpKeepalive should be of the form "SetTcpKeepalive ..." (golint)
    • Line 266: warning: comment on exported method Socket.SetTcpKeepaliveIdle should be of the form "SetTcpKeepaliveIdle ..." (golint)
    • Line 273: warning: comment on exported method Socket.SetTcpKeepaliveCnt should be of the form "SetTcpKeepaliveCnt ..." (golint)
    • Line 280: warning: comment on exported method Socket.SetTcpKeepaliveIntvl should be of the form "SetTcpKeepaliveIntvl ..." (golint)
    • Line 287: warning: comment on exported method Socket.SetTcpAcceptFilter should be of the form "SetTcpAcceptFilter ..." (golint)
    • zmq3/zmq3.go
    • Line 51: warning: exported var ErrorContextClosed should have comment or be unexported (golint)
    • Line 87: warning: comment on exported function Version should be of the form "Version ..." (golint)
    • Line 97: warning: comment on exported function Error should be of the form "Error ..." (golint)
    • Line 104: warning: comment on exported type Context should be of the form "Context ..." (with optional leading article) (golint)
    • Line 113: warning: comment on exported function NewContext should be of the form "NewContext ..." (golint)
    • Line 131: warning: comment on exported function Term should be of the form "Term ..." (golint)
    • Line 146: warning: comment on exported method Context.Term should be of the form "Term ..." (golint)
    • Line 174: warning: comment on exported function GetIoThreads should be of the form "GetIoThreads ..." (golint)
    • Line 185: warning: comment on exported method Context.GetIoThreads should be of the form "GetIoThreads ..." (golint)
    • Line 190: warning: comment on exported function GetMaxSockets should be of the form "GetMaxSockets ..." (golint)
    • Line 201: warning: comment on exported method Context.GetMaxSockets should be of the form "GetMaxSockets ..." (golint)
    • Line 217: warning: comment on exported function SetIoThreads should be of the form "SetIoThreads ..." (golint)
    • Line 235: warning: comment on exported method Context.SetIoThreads should be of the form "SetIoThreads ..." (golint)
    • Line 247: warning: comment on exported function SetMaxSockets should be of the form "SetMaxSockets ..." (golint)
    • Line 262: warning: comment on exported method Context.SetMaxSockets should be of the form "SetMaxSockets ..." (golint)
    • Line 273: warning: comment on exported type Type should be of the form "Type ..." (with optional leading article) (golint)
    • Line 277: warning: comment on exported const REQ should be of the form "REQ ..." (golint)
    • Line 280: warning: exported const REP should have comment (or a comment on this block) or be unexported (golint)
    • Line 323: warning: comment on exported type Flag should be of the form "Flag ..." (with optional leading article) (golint)
    • Line 327: warning: comment on exported const DONTWAIT should be of the form "DONTWAIT ..." (golint)
    • Line 331: warning: exported const SNDMORE should have comment (or a comment on this block) or be unexported (golint)
    • Line 351: warning: comment on exported type Event should be of the form "Event ..." (with optional leading article) (golint)
    • Line 355: warning: comment on exported const EVENT_ALL should be of the form "EVENT_ALL ..." (golint)
    • Line 358: warning: exported const EVENT_CONNECTED should have comment (or a comment on this block) or be unexported (golint)
    • Line 414: warning: comment on exported type State should be of the form "State ..." (with optional leading article) (golint)
    • Line 418: warning: comment on exported const POLLIN should be of the form "POLLIN ..." (golint)
    • Line 421: warning: exported const POLLOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 470: warning: comment on exported function NewSocket should be of the form "NewSocket ..." (golint)
    • Line 489: warning: comment on exported method Context.NewSocket should be of the form "NewSocket ..." (golint)
    • Line 516: warning: comment on exported method Socket.Close should be of the form "Close ..." (golint)
    • Line 529: warning: comment on exported method Socket.Context should be of the form "Context ..." (golint)
    • Line 537: warning: comment on exported method Socket.Bind should be of the form "Bind ..." (golint)
    • Line 554: warning: comment on exported method Socket.Unbind should be of the form "Unbind ..." (golint)
    • Line 571: warning: comment on exported method Socket.Connect should be of the form "Connect ..." (golint)
    • Line 605: warning: comment on exported method Socket.Recv should be of the form "Recv ..." (golint)
    • Line 615: warning: comment on exported method Socket.RecvBytes should be of the form "RecvBytes ..." (golint)
    • Line 651: warning: comment on exported method Socket.SendBytes should be of the form "SendBytes ..." (golint)
    • Line 671: warning: comment on exported method Socket.Monitor should be of the form "Monitor ..." (golint)
    • Line 757: warning: comment on exported method Socket.RecvEvent should be of the form "RecvEvent ..." (golint)
    • Line 766: warning: don't use underscores in Go names; method result event_type should be eventType (golint)
    • Line 801: warning: comment on exported function Proxy should be of the form "Proxy ..." (golint)
    • zmq3/examples/intface/intface.go
    • Line 1: warning: package comment should be of the form "Package intface ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 22: warning: exported type Intface should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 51: warning: exported method Intface.Recv should have comment or be unexported (golint)
    • Line 61: warning: don't use underscores in Go names; type peer_t should be peerT (golint)
    • Line 62: warning: don't use underscores in Go names; struct field uuid_bytes should be uuidBytes (golint)
    • Line 63: warning: don't use underscores in Go names; struct field uuid_string should be uuidString (golint)
    • Line 64: warning: don't use underscores in Go names; struct field expires_at should be expiresAt (golint)
    • Line 68: warning: exported const PING_PORT_NUMBER should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: don't use underscores in Go names; func new_peer should be newPeer (golint)
    • Line 76: warning: don't use underscores in Go names; var uuid_bytes should be uuidBytes (golint)
    • Line 87: warning: don't use underscores in Go names; method is_alive should be isAlive (golint)
    • Line 94: warning: don't use underscores in Go names; type agent_t should be agentT (golint)
    • Line 98: warning: don't use underscores in Go names; struct field uuid_bytes should be uuidBytes (golint)
    • Line 99: warning: don't use underscores in Go names; struct field uuid_string should be uuidString (golint)
    • Line 106: warning: don't use underscores in Go names; func new_agent should be newAgent (golint)
    • Line 132: warning: don't use underscores in Go names; var uuid_bytes should be uuidBytes (golint)
    • Line 149: warning: don't use underscores in Go names; method control_message should be controlMessage (golint)
    • Line 171: warning: don't use underscores in Go names; method handle_beacon should be handleBeacon (golint)
    • Line 179: warning: don't use underscores in Go names; var uuid_bytes should be uuidBytes (golint)
    • Line 183: warning: don't use underscores in Go names; var uuid_string should be uuidString (golint)
    • Line 201: warning: don't use underscores in Go names; method reap_peer should be reapPeer (golint)
    • Line 218: warning: don't use underscores in Go names; var ping_at should be pingAt (golint)
    • zmq3/examples/lpclient.go
    • Line 18: warning: exported const REQUEST_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; var retries_left should be retriesLeft (golint)
    • Line 41: warning: don't use underscores in Go names; var expect_reply should be expectReply (golint)
    • zmq3/examples/taskvent.go
    • Line 40: warning: don't use underscores in Go names; var total_msec should be totalMsec (golint)
    • Line 41: warning: don't use underscores in Go names; var task_nbr should be taskNbr (golint)
    • Line 44: warning: don't use underscores in Go names; var total_msec should be totalMsec (golint)
    • zmq3/examples/mtserver.go
    • Line 15: warning: don't use underscores in Go names; func worker_routine should be workerRoutine (golint)
    • Line 48: warning: don't use underscores in Go names; var thread_nbr should be threadNbr (golint)
    • zmq3/examples/udpping2.go
    • Line 18: warning: exported const PING_PORT_NUMBER should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: don't use underscores in Go names; var ping_at should be pingAt (golint)
    • zmq3/examples/clone/clone.go
    • Line 1: warning: package comment should be of the form "Package clone ..." (golint)
    • Line 20: warning: don't use underscores in Go names; var pipe_nmb should be pipeNmb (golint)
    • Line 23: warning: exported type Clone should have comment or be unexported (golint)
    • Line 33: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported method Clone.Subtree should have comment or be unexported (golint)
    • Line 55: warning: exported method Clone.Connect should have comment or be unexported (golint)
    • Line 62: warning: exported method Clone.Set should have comment or be unexported (golint)
    • Line 70: warning: exported method Clone.Get should have comment or be unexported (golint)
    • Line 86: warning: don't use underscores in Go names; type server_t should be serverT (golint)
    • Line 95: warning: don't use underscores in Go names; func server_new should be serverNew (golint)
    • Line 114: warning: don't use underscores in Go names; const server_MAX should be serverMAX (golint)
    • Line 117: warning: don't use underscores in Go names; const server_TTL should be serverTTL (golint)
    • Line 122: warning: don't use underscores in Go names; const state_INITIAL should be stateINITIAL (golint)
    • Line 123: warning: don't use underscores in Go names; const state_SYNCING should be stateSYNCING (golint)
    • Line 124: warning: don't use underscores in Go names; const state_ACTIVE should be stateACTIVE (golint)
    • Line 127: warning: don't use underscores in Go names; type agent_t should be agentT (golint)
    • Line 132: warning: don't use underscores in Go names; struct field nbr_servers should be nbrServers (golint)
    • Line 134: warning: don't use underscores in Go names; struct field cur_server should be curServer (golint)
    • Line 139: warning: don't use underscores in Go names; func agent_new should be agentNew (golint)
    • Line 152: warning: don't use underscores in Go names; method control_message should be controlMessage (golint)
    • Line 204: warning: don't use underscores in Go names; func clone_agent should be cloneAgent (golint)
    • Line 242: warning: don't use underscores in Go names; var poll_timer should be pollTimer (golint)
    • zmq3/utils.go
    • Line 7: warning: comment on exported method Socket.SendMessage should be of the form "SendMessage ..." (golint)
    • Line 21: warning: comment on exported method Socket.SendMessageDontwait should be of the form "SendMessageDontwait ..." (golint)
    • Line 107: warning: comment on exported method Socket.RecvMessage should be of the form "RecvMessage ..." (golint)
    • Line 133: warning: comment on exported method Socket.RecvMessageBytes should be of the form "RecvMessageBytes ..." (golint)
    • zmq3/examples/lbbroker.go
    • Line 17: warning: exported const NBR_CLIENTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 43: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 86: warning: don't use underscores in Go names; var client_nbr should be clientNbr (golint)
    • Line 90: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • Line 105: warning: don't use underscores in Go names; var worker_queue should be workerQueue (golint)
    • Line 127: warning: don't use underscores in Go names; var worker_id should be workerID (golint)
    • Line 140: warning: don't use underscores in Go names; var client_id should be clientID (golint)
    • Line 160: warning: don't use underscores in Go names; var client_id should be clientID (golint)
    • zmq3/examples/asyncsrv.go
    • Line 26: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 37: warning: don't use underscores in Go names; var request_nbr should be requestNbr (golint)
    • Line 63: warning: don't use underscores in Go names; func server_task should be serverTask (golint)
    • Line 88: warning: don't use underscores in Go names; func server_worker should be serverWorker (golint)
    • Line 124: warning: don't use underscores in Go names; func set_id should be setID (golint)
    • zmq3/examples/syncpub.go
    • Line 14: warning: comment on exported const SUBSCRIBERS_EXPECTED should be of the form "SUBSCRIBERS_EXPECTED ..." (golint)
    • Line 44: warning: don't use underscores in Go names; var update_nbr should be updateNbr (golint)
    • zmq3/examples/tasksink.go
    • Line 26: warning: don't use underscores in Go names; var start_time should be startTime (golint)
    • Line 29: warning: don't use underscores in Go names; var task_nbr should be taskNbr (golint)
    • zmq3/examples/kvsimple/kvsimple.go
    • Line 1: warning: package comment should be of the form "Package kvsimple ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: don't use underscores in Go names; const frame_KEY should be frameKEY (golint)
    • Line 16: warning: don't use underscores in Go names; const frame_SEQ should be frameSEQ (golint)
    • Line 17: warning: don't use underscores in Go names; const frame_BODY should be frameBODY (golint)
    • Line 18: warning: don't use underscores in Go names; const kvmsg_FRAMES should be kvmsgFRAMES (golint)
    • Line 21: warning: comment on exported type Kvmsg should be of the form "Kvmsg ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported function NewKvmsg should be of the form "NewKvmsg ..." (golint)
    • Line 40: warning: comment on exported function RecvKvmsg should be of the form "RecvKvmsg ..." (golint)
    • Line 59: warning: comment on exported method Kvmsg.Send should be of the form "Send ..." (golint)
    • Line 66: warning: exported method Kvmsg.GetKey should have comment or be unexported (golint)
    • Line 75: warning: exported method Kvmsg.SetKey should have comment or be unexported (golint)
    • Line 80: warning: exported method Kvmsg.GetSequence should have comment or be unexported (golint)
    • Line 97: warning: exported method Kvmsg.SetSequence should have comment or be unexported (golint)
    • Line 113: warning: exported method Kvmsg.GetBody should have comment or be unexported (golint)
    • Line 122: warning: exported method Kvmsg.SetBody should have comment or be unexported (golint)
    • Line 127: warning: comment on exported method Kvmsg.Size should be of the form "Size ..." (golint)
    • Line 135: warning: comment on exported method Kvmsg.Store should be of the form "Store ..." (golint)
    • Line 143: warning: comment on exported method Kvmsg.Dump should be of the form "Dump ..." (golint)
    • Line 151: warning: don't use underscores in Go names; var char_nbr should be charNbr (golint)
    • zmq3/examples/kvmsg/kvmsg.go
    • Line 1: warning: package comment should be of the form "Package kvmsg ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 22: warning: don't use underscores in Go names; const frame_KEY should be frameKEY (golint)
    • Line 23: warning: don't use underscores in Go names; const frame_SEQ should be frameSEQ (golint)
    • Line 24: warning: don't use underscores in Go names; const frame_UUID should be frameUUID (golint)
    • Line 25: warning: don't use underscores in Go names; const frame_PROPS should be framePROPS (golint)
    • Line 26: warning: don't use underscores in Go names; const frame_BODY should be frameBODY (golint)
    • Line 27: warning: don't use underscores in Go names; const kvmsg_FRAMES should be kvmsgFRAMES (golint)
    • Line 30: warning: comment on exported type Kvmsg should be of the form "Kvmsg ..." (with optional leading article) (golint)
    • Line 43: warning: don't use underscores in Go names; method encode_props should be encodeProps (golint)
    • Line 48: warning: don't use underscores in Go names; method decode_props should be decodeProps (golint)
    • Line 55: warning: comment on exported function NewKvmsg should be of the form "NewKvmsg ..." (golint)
    • Line 66: warning: comment on exported function RecvKvmsg should be of the form "RecvKvmsg ..." (golint)
    • Line 86: warning: comment on exported method Kvmsg.Send should be of the form "Send ..." (golint)
    • Line 94: warning: comment on exported method Kvmsg.Dup should be of the form "Dup ..." (golint)
    • Line 107: warning: comment on exported method Kvmsg.GetKey should be of the form "GetKey ..." (golint)
    • Line 117: warning: exported method Kvmsg.SetKey should have comment or be unexported (golint)
    • Line 122: warning: exported method Kvmsg.GetSequence should have comment or be unexported (golint)
    • Line 139: warning: exported method Kvmsg.SetSequence should have comment or be unexported (golint)
    • Line 155: warning: exported method Kvmsg.GetBody should have comment or be unexported (golint)
    • Line 164: warning: exported method Kvmsg.SetBody should have comment or be unexported (golint)
    • Line 169: warning: comment on exported method Kvmsg.Size should be of the form "Size ..." (golint)
    • Line 177: warning: exported method Kvmsg.GetUuid should have comment or be unexported (golint)
    • Line 186: warning: comment on exported method Kvmsg.SetUuid should be of the form "SetUuid ..." (golint)
    • Line 194: warning: comment on exported method Kvmsg.GetProp should be of the form "GetProp ..." (golint)
    • Line 211: warning: comment on exported method Kvmsg.SetProp should be of the form "SetProp ..." (golint)
    • Line 229: warning: comment on exported method Kvmsg.Store should be of the form "Store ..." (golint)
    • Line 241: warning: comment on exported method Kvmsg.Dump should be of the form "Dump ..." (golint)
    • Line 257: warning: don't use underscores in Go names; var char_nbr should be charNbr (golint)
    • zmq3/examples/mdapi/mdcliapi.go
    • Line 18: warning: comment on exported type Mdcli should be of the form "Mdcli ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported method Mdcli.ConnectToBroker should be of the form "ConnectToBroker ..." (golint)
    • Line 62: warning: exported function NewMdcli should have comment or be unexported (golint)
    • Line 78: warning: exported method Mdcli.Close should have comment or be unexported (golint)
    • Line 91: warning: comment on exported method Mdcli.SetTimeout should be of the form "SetTimeout ..." (golint)
    • Line 98: warning: comment on exported method Mdcli.SetRetries should be of the form "SetRetries ..." (golint)
    • Line 103: warning: comment on exported method Mdcli.Send should be of the form "Send ..." (golint)
    • Line 118: warning: don't use underscores in Go names; var retries_left should be retriesLeft (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • zmq3/examples/lbbroker3.go
    • Line 17: warning: exported const NBR_CLIENTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; func client_task should be clientTask (golint)
    • Line 43: warning: don't use underscores in Go names; func worker_task should be workerTask (golint)
    • Line 63: warning: don't use underscores in Go names; type lbbroker_t should be lbbrokerT (golint)
    • Line 75: warning: don't use underscores in Go names; func handle_frontend should be handleFrontend (golint)
    • Line 93: warning: don't use underscores in Go names; func handle_backend should be handleBackend (golint)
    • Line 129: warning: don't use underscores in Go names; var client_nbr should be clientNbr (golint)
    • Line 132: warning: don't use underscores in Go names; var worker_nbr should be workerNbr (golint)
    • zmq3/examples/ppqueue.go
    • Line 15: warning: exported const HEARTBEAT_LIVENESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; type worker_t should be workerT (golint)
    • Line 27: warning: don't use underscores in Go names; struct field id_string should be idString (golint)
    • Line 32: warning: don't use underscores in Go names; func s_worker_new should be sWorkerNew (golint)
    • Line 42: warning: don't use underscores in Go names; func s_worker_ready should be sWorkerReady (golint)
    • Line 61: warning: don't use underscores in Go names; func s_workers_purge should be sWorkersPurge (golint)
    • Line 86: warning: don't use underscores in Go names; var heartbeat_at should be heartbeatAt (golint)
    • zmq3/examples/wuclient.go
    • Line 33: warning: don't use underscores in Go names; var total_temp should be totalTemp (golint)
    • Line 34: warning: don't use underscores in Go names; var update_nbr should be updateNbr (golint)
    • Line 40: warning: don't use underscores in Go names; var total_temp should be totalTemp (golint)
    • zmq3/examples/titanic.go
    • Line 23: warning: exported const TITANIC_DIR should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function RequestFilename should have comment or be unexported (golint)
    • Line 32: warning: exported function ReplyFilename should have comment or be unexported (golint)
    • Line 40: warning: exported function TitanicRequest should have comment or be unexported (golint)
    • Line 74: warning: exported function TitanicReply should have comment or be unexported (golint)
    • Line 87: warning: don't use underscores in Go names; var req_filename should be reqFilename (golint)
    • Line 88: warning: don't use underscores in Go names; var rep_filename should be repFilename (golint)
    • Line 107: warning: exported function TitanicClose should have comment or be unexported (golint)
    • Line 193: warning: exported function ServiceSuccess should have comment or be unexported (golint)
    • Line 210: warning: don't use underscores in Go names; var service_name should be serviceName (golint)
    • Line 219: warning: don't use underscores in Go names; var mmi_reply should be mmiReply (golint)
    • zmq3/examples/udpping1.go
    • Line 18: warning: exported const PING_PORT_NUMBER should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; var ping_at should be pingAt (golint)
    • Line 91: warning: exported function FD_SET should have comment or be unexported (golint)
    • Line 95: warning: exported function FD_ISSET should have comment or be unexported (golint)
    • Line 99: warning: exported function FD_ZERO should have comment or be unexported (golint)
    • zmq3/examples/mdapi/const.go
    • Line 1: warning: package comment should be of the form "Package mdapi ..." (golint)
    • Line 6: warning: comment on exported const MDPC_CLIENT should be of the form "MDPC_CLIENT ..." (golint)
    • Line 9: warning: comment on exported const MDPW_WORKER should be of the form "MDPW_WORKER ..." (golint)
    • Line 14: warning: comment on exported const MDPW_READY should be of the form "MDPW_READY ..." (golint)
    • Line 16: warning: exported const MDPW_REQUEST should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported var MDPS_COMMANDS should have comment or be unexported (golint)
    • zmq3/examples/fileio1.go
    • Line 17: warning: exported const CHUNK_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; func client_thread should be clientThread (golint)
    • Line 48: warning: don't use underscores in Go names; func server_thread should be serverThread (golint)

gocyclo90%

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.

    • zmq3/reactor.go
    • Line 126: warning: cyclomatic complexity 21 of function (*Reactor).Run() is high (> 15) (gocyclo)
    • zmq3/zmq3_test.go
    • Line 59: warning: cyclomatic complexity 31 of function TestPoller() is high (> 15) (gocyclo)
    • Line 168: warning: cyclomatic complexity 25 of function bounce() is high (> 15) (gocyclo)
    • zmq3/utils.go
    • Line 28: warning: cyclomatic complexity 25 of function (*Socket).sendMessage() is high (> 15) (gocyclo)

ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!