Preparing report...

Report for github.com/dedis/prifi

A    Great!    Found 65 issues across 88 files

Tweet

gofmt98%

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!


gocyclo81%

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.

    • prifi/prifi-lib/client/client_test.go
    • Line 64: warning: cyclomatic complexity 72 of function TestClient() is high (> 15) (gocyclo)
    • Line 574: warning: cyclomatic complexity 23 of function TestDisruptionClient() is high (> 15) (gocyclo)
    • Line 443: warning: cyclomatic complexity 16 of function TestClient2() is high (> 15) (gocyclo)
    • prifi/prifi-lib/relay/relay_test.go
    • Line 96: warning: cyclomatic complexity 73 of function TestRelayRun1() is high (> 15) (gocyclo)
    • Line 653: warning: cyclomatic complexity 26 of function TestRelayRun3() is high (> 15) (gocyclo)
    • Line 452: warning: cyclomatic complexity 21 of function TestRelayRun2() is high (> 15) (gocyclo)
    • prifi/prifi-lib/relay/relay.go
    • Line 373: warning: cyclomatic complexity 27 of function (*PriFiLibRelayInstance).upstreamPhase2b_extractPayload() is high (> 15) (gocyclo)
    • Line 607: warning: cyclomatic complexity 17 of function (*PriFiLibRelayInstance).downstreamPhase1_openRoundAndSendData() is high (> 15) (gocyclo)

golint35%

Golint is a linter for Go source code.

    • prifi/prifi-lib/log/latencymsg.go
    • Line 12: warning: comment on exported type LatencyTests should be of the form "LatencyTests ..." (with optional leading article) (golint)
    • Line 20: warning: comment on exported type LatencyTestToSend should be of the form "LatencyTestToSend ..." (with optional leading article) (golint)
    • prifi/prifi-lib/dcnet/dcnet.go
    • Line 12: warning: comment on exported type DCNET_ENTITY should be of the form "DCNET_ENTITY ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported const DCNET_CLIENT should be of the form "DCNET_CLIENT ..." (golint)
    • Line 19: warning: comment on exported const DCNET_TRUSTEE should be of the form "DCNET_TRUSTEE ..." (golint)
    • Line 22: warning: comment on exported const DCNET_RELAY should be of the form "DCNET_RELAY ..." (golint)
    • Line 26: warning: comment on exported type DCNetEntity should be of the form "DCNetEntity ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported function NewDCNetEntity should be of the form "NewDCNetEntity ..." (golint)
    • Line 141: warning: comment on exported method DCNetEntity.TrusteeEncodeForRound should be of the form "TrusteeEncodeForRound ..." (golint)
    • Line 148: warning: comment on exported method DCNetEntity.EncodeForRound should be of the form "EncodeForRound ..." (golint)
    • Line 211: warning: comment on exported method DCNetEntity.UpdateReceivedMessageHistory should be of the form "UpdateReceivedMessageHistory ..." (golint)
    • Line 238: warning: don't use underscores in Go names; var p_ij should be pIj (golint)
    • Line 247: warning: don't use underscores in Go names; var sigma_j should be sigmaJ (golint)
    • Line 271: warning: don't use underscores in Go names; var p_ij should be pIj (golint)
    • Line 286: warning: don't use underscores in Go names; var sigma_j should be sigmaJ (golint)
    • Line 293: warning: comment on exported method DCNetEntity.GetBitsOfRound should be of the form "GetBitsOfRound ..." (golint)
    • Line 331: warning: don't use underscores in Go names; var p_ij should be pIj (golint)
    • Line 343: warning: don't use underscores in Go names; var byte_toGet should be byteToGet (golint)
    • Line 357: warning: comment on exported method DCNetEntity.DecodeStart should be of the form "DecodeStart ..." (golint)
    • Line 366: warning: comment on exported method DCNetEntity.DecodeClient should be of the form "DecodeClient ..." (golint)
    • Line 385: warning: comment on exported method DCNetEntity.DecodeTrustee should be of the form "DecodeTrustee ..." (golint)
    • Line 404: warning: comment on exported method DCNetEntity.DecodeCell should be of the form "DecodeCell ..." (golint)
    • prifi/prifi-lib/dcnet/equivocation_test.go
    • Line 32: warning: don't use underscores in Go names; var sharedSecret_c1 should be sharedSecretC1 (golint)
    • Line 34: warning: don't use underscores in Go names; var sharedSecret_c2 should be sharedSecretC2 (golint)
    • Line 37: warning: don't use underscores in Go names; var sharedSecrets_t should be sharedSecretsT (golint)
    • Line 42: warning: don't use underscores in Go names; var dcnet_Trustee should be dcnetTrustee (golint)
    • Line 43: warning: don't use underscores in Go names; var dcnet_Client1 should be dcnetClient1 (golint)
    • Line 44: warning: don't use underscores in Go names; var dcnet_Client2 should be dcnetClient2 (golint)
    • Line 49: warning: don't use underscores in Go names; var padRound2_t should be padRound2T (golint)
    • Line 50: warning: don't use underscores in Go names; var encode_for_round_1 should be encodeForRound1 (golint)
    • Line 51: warning: don't use underscores in Go names; var padRound1_c1 should be padRound1C1 (golint)
    • Line 52: warning: don't use underscores in Go names; var encode_for_round_2 should be encodeForRound2 (golint)
    • Line 53: warning: don't use underscores in Go names; var padRound1_c2 should be padRound1C2 (golint)
    • Line 73: warning: don't use underscores in Go names; var e_client0 should be eClient0 (golint)
    • Line 74: warning: don't use underscores in Go names; var e_client1 should be eClient1 (golint)
    • Line 75: warning: don't use underscores in Go names; var e_trustee should be eTrustee (golint)
    • Line 76: warning: don't use underscores in Go names; var e_relay should be eRelay (golint)
    • Line 92: warning: don't use underscores in Go names; var x_prim1 should be xPrim1 (golint)
    • prifi/prifi-lib/trustee/trustee_test.go
    • Line 148: warning: don't use underscores in Go names; var msg3_parsed should be msg3Parsed (golint)
    • Line 204: warning: don't use underscores in Go names; var msg5_parsed should be msg5Parsed (golint)
    • Line 249: warning: don't use underscores in Go names; var msg8_parsed should be msg8Parsed (golint)
    • Line 300: warning: don't use underscores in Go names; var msg8_parsed should be msg8Parsed (golint)
    • prifi/prifi-lib/log/schedules_statistics.go
    • Line 12: warning: comment on exported type SchedulesStatistics should be of the form "SchedulesStatistics ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported method SchedulesStatistics.AddSchedule should be of the form "AddSchedule ..." (golint)
    • prifi/prifi-lib/scheduler/neff_trustee.go
    • Line 25: warning: comment on exported type NeffShuffleTrustee should be of the form "NeffShuffleTrustee ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported method NeffShuffleTrustee.Init should be of the form "Init ..." (golint)
    • Line 58: warning: comment on exported method NeffShuffleTrustee.ReceivedShuffleFromRelay should be of the form "ReceivedShuffleFromRelay ..." (golint)
    • Line 96: warning: comment on exported method NeffShuffleTrustee.ReceivedTranscriptFromRelay should be of the form "ReceivedTranscriptFromRelay ..." (golint)
    • prifi/prifi-lib/relay/init.go
    • Line 51: warning: comment on exported type PriFiLibRelayInstance should be of the form "PriFiLibRelayInstance ..." (with optional leading article) (golint)
    • Line 58: warning: comment on exported function NewRelay should be of the form "NewRelay ..." (golint)
    • prifi/prifi-lib/client/init.go
    • Line 49: warning: don't use underscores in Go names; struct field B_echo_last should be BEchoLast (golint)
    • Line 93: warning: comment on exported type PriFiLibClientInstance should be of the form "PriFiLibClientInstance ..." (with optional leading article) (golint)
    • prifi/stream-multiplexer/ingress.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 26: warning: don't use underscores in Go names; struct field ID_bytes should be IDBytes (golint)
    • Line 114: warning: don't use underscores in Go names; var ID_bytes should be IDBytes (golint)
    • prifi/prifi-lib/relay/relay.go
    • Line 57: warning: comment on exported method PriFiLibRelayInstance.Received_ALL_ALL_SHUTDOWN should be of the form "Received_ALL_ALL_SHUTDOWN ..." (golint)
    • Line 61: warning: don't use underscores in Go names; method Received_ALL_ALL_SHUTDOWN should be ReceivedALLALLSHUTDOWN (golint)
    • Line 85: warning: comment on exported method PriFiLibRelayInstance.Received_ALL_ALL_PARAMETERS should be of the form "Received_ALL_ALL_PARAMETERS ..." (golint)
    • Line 89: warning: don't use underscores in Go names; method Received_ALL_ALL_PARAMETERS should be ReceivedALLALLPARAMETERS (golint)
    • Line 197: warning: comment on exported method PriFiLibRelayInstance.BroadcastParameters should be of the form "BroadcastParameters ..." (golint)
    • Line 231: warning: don't use underscores in Go names; method Received_CLI_REL_UPSTREAM_DATA should be ReceivedCLIRELUPSTREAMDATA (golint)
    • Line 250: warning: don't use underscores in Go names; method Received_TRU_REL_DC_CIPHER should be ReceivedTRURELDCCIPHER (golint)
    • Line 265: warning: don't use underscores in Go names; method Received_CLI_REL_OPENCLOSED_DATA should be ReceivedCLIRELOPENCLOSEDDATA (golint)
    • Line 277: warning: don't use underscores in Go names; method upstreamPhase1_processCiphers should be upstreamPhase1ProcessCiphers (golint)
    • Line 320: warning: don't use underscores in Go names; method downstreamPhase_sendMany should be downstreamPhaseSendMany (golint)
    • Line 330: warning: don't use underscores in Go names; method upstreamPhase2a_extractOCMap should be upstreamPhase2aExtractOCMap (golint)
    • Line 373: warning: don't use underscores in Go names; method upstreamPhase2b_extractPayload should be upstreamPhase2bExtractPayload (golint)
    • Line 400: warning: don't use underscores in Go names; var b_echo_last should be bEchoLast (golint)
    • Line 536: warning: don't use underscores in Go names; method upstreamPhase3_finalizeRound should be upstreamPhase3FinalizeRound (golint)
    • Line 607: warning: don't use underscores in Go names; method downstreamPhase1_openRoundAndSendData should be downstreamPhase1OpenRoundAndSendData (golint)
    • Line 729: warning: don't use underscores in Go names; method Received_TRU_REL_TELL_PK should be ReceivedTRURELTELLPK (golint)
    • Line 776: warning: don't use underscores in Go names; method Received_CLI_REL_TELL_PK_AND_EPH_PK should be ReceivedCLIRELTELLPKANDEPHPK (golint)
    • Line 825: warning: don't use underscores in Go names; method Received_TRU_REL_TELL_NEW_BASE_AND_EPH_PKS should be ReceivedTRURELTELLNEWBASEANDEPHPKS (golint)
    • Line 898: warning: don't use underscores in Go names; method Received_TRU_REL_SHUFFLE_SIG should be ReceivedTRURELSHUFFLESIG (golint)
    • Line 969: warning: don't use underscores in Go names; var cmd_text should be cmdText (golint)
    • prifi/prifi-lib/trustee/trustee.go
    • Line 31: warning: don't use underscores in Go names; method Received_ALL_ALL_SHUTDOWN should be ReceivedALLALLSHUTDOWN (golint)
    • Line 46: warning: don't use underscores in Go names; method Received_ALL_ALL_PARAMETERS should be ReceivedALLALLPARAMETERS (golint)
    • Line 108: warning: don't use underscores in Go names; method Send_TRU_REL_PK should be SendTRURELPK (golint)
    • Line 118: warning: don't use underscores in Go names; method Send_TRU_REL_DC_CIPHER should be SendTRURELDCCIPHER (golint)
    • Line 180: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_RATE_CHANGE should be ReceivedRELTRUTELLRATECHANGE (golint)
    • Line 217: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_CLIENTS_PKS_AND_EPH_PKS_AND_BASE should be ReceivedRELTRUTELLCLIENTSPKSANDEPHPKSANDBASE (golint)
    • Line 272: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_TRANSCRIPT should be ReceivedRELTRUTELLTRANSCRIPT (golint)
    • prifi/sda/protocols/tcp.go
    • Line 12: warning: comment on exported type TCPChannel should be of the form "TCPChannel ..." (with optional leading article) (golint)
    • Line 79: warning: comment on exported method TCPChannel.WriteMessage should be of the form "WriteMessage ..." (golint)
    • prifi/prifi-lib/dcnet/equivocation.go
    • Line 27: warning: comment on exported type EquivocationProtection should be of the form "EquivocationProtection ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported method EquivocationProtection.UpdateHistory should be of the form "UpdateHistory ..." (golint)
    • Line 66: warning: comment on exported method EquivocationProtection.ClientEncryptPayload should be of the form "ClientEncryptPayload ..." (golint)
    • Line 67: warning: don't use underscores in Go names; method parameter p_j should be pJ (golint)
    • Line 70: warning: don't use underscores in Go names; var q_j should be qJ (golint)
    • Line 71: warning: don't use underscores in Go names; range var trustee_j should be trusteeJ (golint)
    • Line 85: warning: don't use underscores in Go names; var kappa_i should be kappaI (golint)
    • Line 86: warning: don't use underscores in Go names; var kappa_i_bytes should be kappaIBytes (golint)
    • Line 94: warning: don't use underscores in Go names; var k_i should be kI (golint)
    • Line 95: warning: don't use underscores in Go names; var k_i_bytes should be kIBytes (golint)
    • Line 117: warning: don't use underscores in Go names; var kappa_i should be kappaI (golint)
    • Line 118: warning: don't use underscores in Go names; var kappa_i_bytes should be kappaIBytes (golint)
    • Line 125: warning: comment on exported method EquivocationProtection.ClientProve should be of the form "ClientProve ..." (golint)
    • Line 131: warning: comment on exported method EquivocationProtection.TrusteeGetContribution should be of the form "TrusteeGetContribution ..." (golint)
    • Line 132: warning: don't use underscores in Go names; method parameter s_i should be sI (golint)
    • Line 135: warning: don't use underscores in Go names; var q_i should be qI (golint)
    • Line 136: warning: don't use underscores in Go names; range var client_i should be clientI (golint)
    • Line 146: warning: don't use underscores in Go names; var kappa_j should be kappaJ (golint)
    • Line 148: warning: don't use underscores in Go names; var kappa_j_bytes should be kappaJBytes (golint)
    • Line 155: warning: comment on exported method EquivocationProtection.TrusteeProve should be of the form "TrusteeProve ..." (golint)
    • Line 161: warning: comment on exported method EquivocationProtection.RelayDecode should be of the form "RelayDecode ..." (golint)
    • Line 165: warning: don't use underscores in Go names; var trustee_kappa_j should be trusteeKappaJ (golint)
    • Line 169: warning: don't use underscores in Go names; var client_kappa_i should be clientKappaI (golint)
    • Line 188: warning: don't use underscores in Go names; var k_i should be kI (golint)
    • Line 191: warning: don't use underscores in Go names; var k_bytes should be kBytes (golint)
    • prifi/sda/services/service.go
    • Line 1: warning: package comment should be of the form "Package services ..." (golint)
    • Line 24: warning: comment on exported const ServiceName should be of the form "ServiceName ..." (golint)
    • Line 35: warning: comment on exported type ServiceState should be of the form "ServiceState ..." (with optional leading article) (golint)
    • Line 120: warning: comment on exported method ServiceState.RelayAllowAutoStart should be of the form "RelayAllowAutoStart ..." (golint)
    • Line 215: warning: comment on exported method ServiceState.StartSocksTunnelOnly should be of the form "StartSocksTunnelOnly ..." (golint)
    • Line 259: warning: comment on exported method ServiceState.ShutdownSocks should be of the form "ShutdownSocks ..." (golint)
    • Line 270: warning: comment on exported method ServiceState.GlobalShutDownSocks should be of the form "GlobalShutDownSocks ..." (golint)
    • prifi/prifi-lib/client/client_test.go
    • Line 293: warning: don't use underscores in Go names; var msg9_ignored should be msg9Ignored (golint)
    • Line 311: warning: don't use underscores in Go names; var msg9_futur should be msg9Futur (golint)
    • Line 685: warning: don't use underscores in Go names; var sharedSecrets_t1 should be sharedSecretsT1 (golint)
    • Line 687: warning: don't use underscores in Go names; var sharedSecrets_t2 should be sharedSecretsT2 (golint)
    • Line 705: warning: don't use underscores in Go names; var b_echo_last should be bEchoLast (golint)
    • prifi/prifi-lib/trustee/disruption.go
    • Line 13: warning: comment on exported method PriFiLibTrusteeInstance.Received_REL_ALL_DISRUPTION_REVEAL should be of the form "Received_REL_ALL_DISRUPTION_REVEAL ..." (golint)
    • Line 18: warning: don't use underscores in Go names; method Received_REL_ALL_DISRUPTION_REVEAL should be ReceivedRELALLDISRUPTIONREVEAL (golint)
    • Line 22: warning: don't use underscores in Go names; var pred_array should be predArray (golint)
    • Line 29: warning: don't use underscores in Go names; var i_string should be iString (golint)
    • Line 31: warning: don't use underscores in Go names; var p_i should be pI (golint)
    • Line 32: warning: don't use underscores in Go names; var P_i should be PI (golint)
    • Line 56: warning: comment on exported method PriFiLibTrusteeInstance.Received_REL_ALL_REVEAL_SHARED_SECRETS should be of the form "Received_REL_ALL_REVEAL_SHARED_SECRETS ..." (golint)
    • Line 60: warning: don't use underscores in Go names; method Received_REL_ALL_REVEAL_SHARED_SECRETS should be ReceivedRELALLREVEALSHAREDSECRETS (golint)
    • prifi/sda/app/prifi.go
    • Line 36: warning: comment on exported const DefaultCothorityConfigFile should be of the form "DefaultCothorityConfigFile ..." (golint)
    • Line 39: warning: comment on exported const DefaultCothorityGroupConfigFile should be of the form "DefaultCothorityGroupConfigFile ..." (golint)
    • Line 42: warning: comment on exported const DefaultPriFiConfigFile should be of the form "DefaultPriFiConfigFile ..." (golint)
    • prifi/stream-multiplexer/ingress_test.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 92: warning: don't use underscores in Go names; var id_conn1_bytes should be idConn1Bytes (golint)
    • Line 127: warning: don't use underscores in Go names; var id_conn2_bytes should be idConn2Bytes (golint)
    • Line 195: warning: don't use underscores in Go names; var id_conn1_bytes should be idConn1Bytes (golint)
    • Line 215: warning: don't use underscores in Go names; var id_conn2_bytes should be idConn2Bytes (golint)
    • prifi/prifi-lib/relay/disruption.go
    • Line 14: warning: comment on exported method PriFiLibRelayInstance.Received_CLI_REL_DISRUPTION_BLAME should be of the form "Received_CLI_REL_DISRUPTION_BLAME ..." (golint)
    • Line 15: warning: don't use underscores in Go names; method Received_CLI_REL_DISRUPTION_BLAME should be ReceivedCLIRELDISRUPTIONBLAME (golint)
    • Line 64: warning: comment on exported method PriFiLibRelayInstance.Received_CLI_REL_DISRUPTION_REVEAL should be of the form "Received_CLI_REL_DISRUPTION_REVEAL ..." (golint)
    • Line 72: warning: don't use underscores in Go names; method Received_CLI_REL_DISRUPTION_REVEAL should be ReceivedCLIRELDISRUPTIONREVEAL (golint)
    • Line 75: warning: don't use underscores in Go names; var pred_array should be predArray (golint)
    • Line 78: warning: don't use underscores in Go names; var i_string should be iString (golint)
    • Line 114: warning: comment on exported method PriFiLibRelayInstance.Received_TRU_REL_DISRUPTION_REVEAL should be of the form "Received_TRU_REL_DISRUPTION_REVEAL ..." (golint)
    • Line 122: warning: don't use underscores in Go names; method Received_TRU_REL_DISRUPTION_REVEAL should be ReceivedTRURELDISRUPTIONREVEAL (golint)
    • Line 126: warning: don't use underscores in Go names; var pred_array should be predArray (golint)
    • Line 129: warning: don't use underscores in Go names; var i_string should be iString (golint)
    • Line 216: warning: don't use underscores in Go names; method Received_TRU_REL_SHARED_SECRETS should be ReceivedTRURELSHAREDSECRETS (golint)
    • Line 254: warning: don't use underscores in Go names; method Received_CLI_REL_SHARED_SECRET should be ReceivedCLIRELSHAREDSECRET (golint)
    • Line 299: warning: don't use underscores in Go names; var disruptive_round should be disruptiveRound (golint)
    • Line 308: warning: don't use underscores in Go names; var p_ij should be pIj (golint)
    • Line 315: warning: don't use underscores in Go names; var byte_toGet should be byteToGet (golint)
    • prifi/prifi-lib/net/all_all_params.go
    • Line 16: warning: comment on exported method ALL_ALL_PARAMETERS.Add should be of the form "Add ..." (golint)
    • Line 40: warning: comment on exported method ALL_ALL_PARAMETERS.BoolValueOrElse should be of the form "BoolValueOrElse ..." (golint)
    • Line 50: warning: comment on exported method ALL_ALL_PARAMETERS.IntValueOrElse should be of the form "IntValueOrElse ..." (golint)
    • Line 60: warning: comment on exported method ALL_ALL_PARAMETERS.StringValueOrElse should be of the form "StringValueOrElse ..." (golint)
    • prifi/prifi-lib/log/utils.go
    • Line 41: warning: comment on exported function ConfidenceInterval95 should be of the form "ConfidenceInterval95 ..." (golint)
    • Line 47: warning: don't use underscores in Go names; var mean_val should be meanVal (golint)
    • Line 58: warning: don't use underscores in Go names; var z_value_95 should be zValue95 (golint)
    • prifi/sda/services/prifi.go
    • Line 14: warning: comment on exported type StopProtocol should be of the form "StopProtocol ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type StopSOCKS should be of the form "StopSOCKS ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported const DELAY_BEFORE_CONNECT_TO_RELAY should be of the form "DELAY_BEFORE_CONNECT_TO_RELAY ..." (golint)
    • Line 37: warning: comment on exported const DELAY_BEFORE_CONNECT_TO_TRUSTEES should be of the form "DELAY_BEFORE_CONNECT_TO_TRUSTEES ..." (golint)
    • Line 40: warning: comment on exported method ServiceState.IsPriFiProtocolRunning should be of the form "IsPriFiProtocolRunning ..." (golint)
    • Line 48: warning: comment on exported method ServiceState.HandleStop should be of the form "HandleStop ..." (golint)
    • Line 55: warning: comment on exported method ServiceState.HandleHelloMsg should be of the form "HandleHelloMsg ..." (golint)
    • Line 72: warning: comment on exported method ServiceState.HandleConnection should be of the form "HandleConnection ..." (golint)
    • Line 86: warning: comment on exported method ServiceState.HandleDisconnection should be of the form "HandleDisconnection ..." (golint)
    • Line 95: warning: comment on exported method ServiceState.HandleStopSOCKS should be of the form "HandleStopSOCKS ..." (golint)
    • Line 110: warning: comment on exported method ServiceState.NetworkErrorHappened should be of the form "NetworkErrorHappened ..." (golint)
    • Line 142: warning: comment on exported method ServiceState.StartPriFiCommunicateProtocol should be of the form "StartPriFiCommunicateProtocol ..." (golint)
    • Line 186: warning: comment on exported method ServiceState.StopPriFiCommunicateProtocol should be of the form "StopPriFiCommunicateProtocol ..." (golint)
    • prifi/prifi-lib/prifi.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 26: warning: comment on exported type SpecializedLibInstance should be of the form "SpecializedLibInstance ..." (with optional leading article) (golint)
    • prifi/prifi-mobile/network.go
    • Line 9: warning: comment on exported type HTTPRequestResult should be of the form "HTTPRequestResult ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported function NewHTTPRequestResult should be of the form "NewHTTPRequestResult ..." (golint)
    • Line 21: warning: comment on exported method HTTPRequestResult.RetrieveHTTPResponseThroughPrifi should be of the form "RetrieveHTTPResponseThroughPrifi ..." (golint)
    • prifi/prifi-lib/utils/pcap_logger.go
    • Line 30: warning: comment on exported function NewPCAPLog should be of the form "NewPCAPLog ..." (golint)
    • Line 41: warning: comment on exported method PCAPLog.ReceivedPcap should be of the form "ReceivedPcap ..." (golint)
    • Line 75: warning: comment on exported method PCAPLog.Print should be of the form "Print ..." (golint)
    • prifi/sda/protocols/prifi.go
    • Line 35: warning: comment on exported type PrifiTomlConfig should be of the form "PrifiTomlConfig ..." (with optional leading article) (golint)
    • Line 82: warning: comment on exported method PriFiSDAProtocol.SetConfigFromPriFiService should be of the form "SetConfigFromPriFiService ..." (golint)
    • prifi/prifi-lib/dcnet/dcnet_cipher.go
    • Line 14: warning: comment on exported method DCNetCipher.ToBytes should be of the form "ToBytes ..." (golint)
    • Line 36: warning: comment on exported function DCNetCipherFromBytes should be of the form "DCNetCipherFromBytes ..." (golint)
    • prifi/prifi-lib/doc.go
    • Line 1: warning: package comment should be of the form "Package prifi_lib ..." (golint)
    • Line 6: warning: don't use an underscore in package name (golint)
    • prifi/prifi-lib/net/message_sender.go
    • Line 30: warning: comment on exported type MessageSenderWrapper should be of the form "MessageSenderWrapper ..." (with optional leading article) (golint)
    • Line 43: warning: comment on exported function NewMessageSenderWrapper should be of the form "NewMessageSenderWrapper ..." (golint)
    • Line 73: warning: comment on exported method MessageSenderWrapper.SetEntity should be of the form "SetEntity ..." (golint)
    • Line 80: warning: comment on exported method MessageSenderWrapper.BroadcastToAllClientsWithLog should be of the form "BroadcastToAllClientsWithLog ..." (golint)
    • Line 88: warning: comment on exported method MessageSenderWrapper.SendToClientWithLog should be of the form "SendToClientWithLog ..." (golint)
    • Line 96: warning: comment on exported method MessageSenderWrapper.SendToTrusteeWithLog should be of the form "SendToTrusteeWithLog ..." (golint)
    • Line 104: warning: comment on exported method MessageSenderWrapper.SendToRelayWithLog should be of the form "SendToRelayWithLog ..." (golint)
    • prifi/prifi-lib/scheduler/bitmask_roundscheduler.go
    • Line 27: warning: comment on exported type BitMaskSlotScheduler_Client should be of the form "BitMaskSlotScheduler_Client ..." (with optional leading article) (golint)
    • Line 28: warning: don't use underscores in Go names; type BitMaskSlotScheduler_Client should be BitMaskSlotSchedulerClient (golint)
    • Line 34: warning: comment on exported type BitMaskSlotScheduler_Relay should be of the form "BitMaskSlotScheduler_Relay ..." (with optional leading article) (golint)
    • Line 35: warning: don't use underscores in Go names; type BitMaskSlotScheduler_Relay should be BitMaskSlotSchedulerRelay (golint)
    • Line 39: warning: don't use underscores in Go names; method Client_ReceivedScheduleRequest should be ClientReceivedScheduleRequest (golint)
    • Line 45: warning: don't use underscores in Go names; method Client_ReserveRound should be ClientReserveRound (golint)
    • Line 51: warning: don't use underscores in Go names; method Client_GetOpenScheduleContribution should be ClientGetOpenScheduleContribution (golint)
    • Line 69: warning: don't use underscores in Go names; method Relay_CombineContributions should be RelayCombineContributions (golint)
    • Line 80: warning: don't use underscores in Go names; method Relay_ComputeFinalSchedule should be RelayComputeFinalSchedule (golint)
    • prifi/prifi-lib/client/client.go
    • Line 46: warning: comment on exported method PriFiLibClientInstance.Received_ALL_ALL_SHUTDOWN should be of the form "Received_ALL_ALL_SHUTDOWN ..." (golint)
    • Line 48: warning: don't use underscores in Go names; method Received_ALL_ALL_SHUTDOWN should be ReceivedALLALLSHUTDOWN (golint)
    • Line 56: warning: comment on exported method PriFiLibClientInstance.Received_ALL_ALL_PARAMETERS should be of the form "Received_ALL_ALL_PARAMETERS ..." (golint)
    • Line 58: warning: don't use underscores in Go names; method Received_ALL_ALL_PARAMETERS should be ReceivedALLALLPARAMETERS (golint)
    • Line 164: warning: don't use underscores in Go names; method Received_REL_CLI_DOWNSTREAM_DATA should be ReceivedRELCLIDOWNSTREAMDATA (golint)
    • Line 194: warning: don't use underscores in Go names; method Received_REL_CLI_UDP_DOWNSTREAM_DATA should be ReceivedRELCLIUDPDOWNSTREAMDATA (golint)
    • Line 498: warning: don't use underscores in Go names; var payload_to_hash should be payloadToHash (golint)
    • Line 520: warning: don't use underscores in Go names; var slice_b_echo_last should be sliceBEchoLast (golint)
    • Line 523: warning: don't use underscores in Go names; var b_echo_last should be bEchoLast (golint)
    • Line 578: warning: don't use underscores in Go names; method Received_REL_CLI_TELL_TRUSTEES_PK should be ReceivedRELCLITELLTRUSTEESPK (golint)
    • Line 625: warning: don't use underscores in Go names; method Received_REL_CLI_TELL_EPH_PKS_AND_TRUSTEES_SIG should be ReceivedRELCLITELLEPHPKSANDTRUSTEESSIG (golint)
    • Line 679: warning: don't use underscores in Go names; var slice_b_echo_last should be sliceBEchoLast (golint)
    • Line 681: warning: don't use underscores in Go names; var b_echo_last should be bEchoLast (golint)
    • prifi/prifi-mobile/utils.go
    • Line 15: warning: comment on exported function GetPrifiPort should be of the form "GetPrifiPort ..." (golint)
    • Line 25: warning: comment on exported function GetRelayAddress should be of the form "GetRelayAddress ..." (golint)
    • Line 32: warning: comment on exported function SetRelayAddress should be of the form "SetRelayAddress ..." (golint)
    • Line 48: warning: comment on exported function GetRelayPort should be of the form "GetRelayPort ..." (golint)
    • Line 56: warning: comment on exported function SetRelayPort should be of the form "SetRelayPort ..." (golint)
    • Line 73: warning: comment on exported function GetRelaySocksPort should be of the form "GetRelaySocksPort ..." (golint)
    • Line 79: warning: comment on exported function SetRelaySocksPort should be of the form "SetRelaySocksPort ..." (golint)
    • Line 89: warning: comment on exported function GenerateNewKeyPairAndAssign should be of the form "GenerateNewKeyPairAndAssign ..." (golint)
    • Line 120: warning: comment on exported function GetPublicKey should be of the form "GetPublicKey ..." (golint)
    • Line 126: warning: comment on exported function SetPublicKey should be of the form "SetPublicKey ..." (golint)
    • Line 137: warning: comment on exported function GetPrivateKey should be of the form "GetPrivateKey ..." (golint)
    • Line 143: warning: comment on exported function SetPrivateKey should be of the form "SetPrivateKey ..." (golint)
    • prifi/prifi-mobile/main.go
    • Line 15: warning: comment on exported function StartClient should be of the form "StartClient ..." (golint)
    • Line 35: warning: comment on exported function StopClient should be of the form "StopClient ..." (golint)
    • prifi/prifi-lib/scheduler/neff_relay.go
    • Line 12: warning: comment on exported type NeffShuffleRelay should be of the form "NeffShuffleRelay ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported method NeffShuffleRelay.Init should be of the form "Init ..." (golint)
    • Line 59: warning: comment on exported method NeffShuffleRelay.AddClient should be of the form "AddClient ..." (golint)
    • Line 79: warning: comment on exported method NeffShuffleRelay.SendToNextTrustee should be of the form "SendToNextTrustee ..." (golint)
    • Line 101: warning: comment on exported method NeffShuffleRelay.ReceivedShuffleFromTrustee should be of the form "ReceivedShuffleFromTrustee ..." (golint)
    • Line 134: warning: comment on exported method NeffShuffleRelay.SendTranscript should be of the form "SendTranscript ..." (golint)
    • Line 153: warning: comment on exported method NeffShuffleRelay.ReceivedSignatureFromTrustee should be of the form "ReceivedSignatureFromTrustee ..." (golint)
    • Line 197: warning: don't use underscores in Go names; var G_bytes should be GBytes (golint)
    • Line 225: warning: comment on exported method NeffShuffleRelay.VerifySigsAndSendToClients should be of the form "VerifySigsAndSendToClients ..." (golint)
    • prifi/sda/protocols/messages.go
    • Line 9: warning: don't use underscores in Go names; type Struct_ALL_ALL_SHUTDOWN should be StructALLALLSHUTDOWN (golint)
    • Line 15: warning: don't use underscores in Go names; type Struct_ALL_ALL_PARAMETERS should be StructALLALLPARAMETERS (golint)
    • Line 21: warning: don't use underscores in Go names; type Struct_CLI_REL_TELL_PK_AND_EPH_PK should be StructCLIRELTELLPKANDEPHPK (golint)
    • Line 27: warning: don't use underscores in Go names; type Struct_CLI_REL_UPSTREAM_DATA should be StructCLIRELUPSTREAMDATA (golint)
    • Line 32: warning: comment on exported type Struct_CLI_REL_OPENCLOSED_DATA should be of the form "Struct_CLI_REL_OPENCLOSED_DATA ..." (with optional leading article) (golint)
    • Line 33: warning: don't use underscores in Go names; type Struct_CLI_REL_OPENCLOSED_DATA should be StructCLIRELOPENCLOSEDDATA (golint)
    • Line 39: warning: don't use underscores in Go names; type Struct_REL_CLI_DOWNSTREAM_DATA should be StructRELCLIDOWNSTREAMDATA (golint)
    • Line 45: warning: don't use underscores in Go names; type Struct_REL_CLI_TELL_EPH_PKS_AND_TRUSTEES_SIG should be StructRELCLITELLEPHPKSANDTRUSTEESSIG (golint)
    • Line 51: warning: don't use underscores in Go names; type Struct_REL_TRU_TELL_CLIENTS_PKS_AND_EPH_PKS_AND_BASE should be StructRELTRUTELLCLIENTSPKSANDEPHPKSANDBASE (golint)
    • Line 57: warning: don't use underscores in Go names; type Struct_REL_TRU_TELL_TRANSCRIPT should be StructRELTRUTELLTRANSCRIPT (golint)
    • Line 63: warning: don't use underscores in Go names; type Struct_TRU_REL_DC_CIPHER should be StructTRURELDCCIPHER (golint)
    • Line 69: warning: don't use underscores in Go names; type Struct_TRU_REL_SHUFFLE_SIG should be StructTRURELSHUFFLESIG (golint)
    • Line 75: warning: don't use underscores in Go names; type Struct_TRU_REL_TELL_NEW_BASE_AND_EPH_PKS should be StructTRURELTELLNEWBASEANDEPHPKS (golint)
    • Line 81: warning: don't use underscores in Go names; type Struct_TRU_REL_TELL_PK should be StructTRURELTELLPK (golint)
    • Line 87: warning: don't use underscores in Go names; type Struct_REL_TRU_TELL_RATE_CHANGE should be StructRELTRUTELLRATECHANGE (golint)
    • Line 93: warning: don't use underscores in Go names; type Struct_REL_CLI_DISRUPTED_ROUND should be StructRELCLIDISRUPTEDROUND (golint)
    • Line 99: warning: don't use underscores in Go names; type Struct_CLI_REL_DISRUPTION_BLAME should be StructCLIRELDISRUPTIONBLAME (golint)
    • Line 105: warning: don't use underscores in Go names; type Struct_REL_ALL_DISRUPTION_REVEAL should be StructRELALLDISRUPTIONREVEAL (golint)
    • Line 111: warning: don't use underscores in Go names; type Struct_CLI_REL_DISRUPTION_REVEAL should be StructCLIRELDISRUPTIONREVEAL (golint)
    • Line 117: warning: don't use underscores in Go names; type Struct_TRU_REL_DISRUPTION_REVEAL should be StructTRURELDISRUPTIONREVEAL (golint)
    • Line 123: warning: don't use underscores in Go names; type Struct_REL_ALL_DISRUPTION_SECRET should be StructRELALLDISRUPTIONSECRET (golint)
    • Line 129: warning: don't use underscores in Go names; type Struct_CLI_REL_DISRUPTION_SECRET should be StructCLIRELDISRUPTIONSECRET (golint)
    • Line 135: warning: don't use underscores in Go names; type Struct_TRU_REL_DISRUPTION_SECRET should be StructTRURELDISRUPTIONSECRET (golint)
    • prifi/prifi-lib/utils/pcap_parser.go
    • Line 27: warning: comment on exported function ParsePCAP should be of the form "ParsePCAP ..." (golint)
    • Line 50: warning: don't use underscores in Go names; var random_offset should be randomOffset (golint)
    • Line 85: warning: comment on exported function ParsePKTS should be of the form "ParsePKTS ..." (golint)
    • Line 102: warning: don't use underscores in Go names; var time_ms_str should be timeMsStr (golint)
    • Line 104: warning: don't use underscores in Go names; var time_str should be timeStr (golint)
    • Line 105: warning: don't use underscores in Go names; var time_ms should be timeMs (golint)
    • Line 107: warning: don't use underscores in Go names; var time_ms_i should be timeMsI (golint)
    • Line 112: warning: don't use underscores in Go names; var bytes_str should be bytesStr (golint)
    • Line 115: warning: don't use underscores in Go names; var time_parsed should be timeParsed (golint)
    • Line 119: warning: don't use underscores in Go names; var packet_time_ms should be packetTimeMs (golint)
    • prifi/prifi-lib/scheduler/neff.go
    • Line 3: warning: comment on exported type NeffShuffle should be of the form "NeffShuffle ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported method NeffShuffle.Init should be of the form "Init ..." (golint)
    • prifi/prifi-lib/utils/statemachine.go
    • Line 5: warning: comment on exported type StateMachine should be of the form "StateMachine ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported method StateMachine.Init should be of the form "Init ..." (golint)
    • Line 33: warning: comment on exported method StateMachine.SetEntity should be of the form "SetEntity ..." (golint)
    • Line 38: warning: comment on exported method StateMachine.AssertState should be of the form "AssertState ..." (golint)
    • Line 53: warning: comment on exported method StateMachine.AssertStateOrState should be of the form "AssertStateOrState ..." (golint)
    • Line 72: warning: comment on exported method StateMachine.ChangeState should be of the form "ChangeState ..." (golint)
    • Line 84: warning: comment on exported method StateMachine.State should be of the form "State ..." (golint)
    • prifi/stream-multiplexer/egress_test.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 111: warning: don't use underscores in Go names; var ID_str should be IDStr (golint)
    • Line 159: warning: don't use underscores in Go names; var ID_str should be IDStr (golint)
    • Line 204: warning: don't use underscores in Go names; var ID_str should be IDStr (golint)
    • Line 213: warning: don't use underscores in Go names; var ID2_str should be ID2Str (golint)
    • Line 278: warning: don't use underscores in Go names; var ID_str should be IDStr (golint)
    • Line 287: warning: don't use underscores in Go names; var ID2_str should be ID2Str (golint)
    • prifi/prifi-lib/client/disruption.go
    • Line 15: warning: comment on exported method PriFiLibClientInstance.Received_REL_ALL_DISRUPTION_REVEAL should be of the form "Received_REL_ALL_DISRUPTION_REVEAL ..." (golint)
    • Line 20: warning: don't use underscores in Go names; method Received_REL_ALL_DISRUPTION_REVEAL should be ReceivedRELALLDISRUPTIONREVEAL (golint)
    • Line 25: warning: don't use underscores in Go names; var pred_array should be predArray (golint)
    • Line 32: warning: don't use underscores in Go names; var i_string should be iString (golint)
    • Line 34: warning: don't use underscores in Go names; var p_i should be pI (golint)
    • Line 35: warning: don't use underscores in Go names; var P_i should be PI (golint)
    • Line 67: warning: comment on exported method PriFiLibClientInstance.Received_REL_ALL_REVEAL_SHARED_SECRETS should be of the form "Received_REL_ALL_REVEAL_SHARED_SECRETS ..." (golint)
    • Line 71: warning: don't use underscores in Go names; method Received_REL_ALL_REVEAL_SHARED_SECRETS should be ReceivedRELALLREVEALSHAREDSECRETS (golint)
    • prifi/utils/timing.go
    • Line 64: warning: comment on exported function StopMeasureAndLogWithInfo should be of the form "StopMeasureAndLogWithInfo ..." (golint)
    • prifi/prifi-lib/log/time_statistics.go
    • Line 10: warning: comment on exported const MAX_LATENCY_STORED should be of the form "MAX_LATENCY_STORED ..." (golint)
    • Line 13: warning: comment on exported type TimeStatistics should be of the form "TimeStatistics ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported function NewTimeStatistics should be of the form "NewTimeStatistics ..." (golint)
    • Line 38: warning: comment on exported method TimeStatistics.TimeStatistics should be of the form "TimeStatistics ..." (golint)
    • Line 51: warning: comment on exported method TimeStatistics.AddTime should be of the form "AddTime ..." (golint)
    • prifi/prifi-lib/scheduler/scheduler_test.go
    • Line 104: warning: don't use underscores in Go names; var B_i_minus_1 should be BIMinus1 (golint)
    • Line 108: warning: don't use underscores in Go names; var c_i should be cI (golint)
    • Line 109: warning: don't use underscores in Go names; var B_i should be BI (golint)
    • Line 121: warning: don't use underscores in Go names; var c_s should be cS (golint)
    • Line 123: warning: don't use underscores in Go names; var c_j should be cJ (golint)
    • Line 127: warning: don't use underscores in Go names; var p1_c_s should be p1CS (golint)
    • Line 490: warning: don't use underscores in Go names; var ephPks_s should be ephPksS (golint)
    • prifi/sda/protocols/message_binders.go
    • Line 4: warning: don't use underscores in Go names; method Received_ALL_ALL_SHUTDOWN should be ReceivedALLALLSHUTDOWN (golint)
    • Line 10: warning: comment on exported method PriFiSDAProtocol.Received_ALL_ALL_PARAMETERS_NEW should be of the form "Received_ALL_ALL_PARAMETERS_NEW ..." (golint)
    • Line 11: warning: don't use underscores in Go names; method Received_ALL_ALL_PARAMETERS_NEW should be ReceivedALLALLPARAMETERSNEW (golint)
    • Line 16: warning: don't use underscores in Go names; method Received_REL_CLI_DOWNSTREAM_DATA should be ReceivedRELCLIDOWNSTREAMDATA (golint)
    • Line 21: warning: don't use underscores in Go names; method Received_REL_CLI_TELL_EPH_PKS_AND_TRUSTEES_SIG should be ReceivedRELCLITELLEPHPKSANDTRUSTEESSIG (golint)
    • Line 26: warning: don't use underscores in Go names; method Received_CLI_REL_TELL_PK_AND_EPH_PK should be ReceivedCLIRELTELLPKANDEPHPK (golint)
    • Line 31: warning: don't use underscores in Go names; method Received_CLI_REL_UPSTREAM_DATA should be ReceivedCLIRELUPSTREAMDATA (golint)
    • Line 35: warning: comment on exported method PriFiSDAProtocol.Received_CLI_REL_CLI_REL_OPENCLOSED_DATA should be of the form "Received_CLI_REL_CLI_REL_OPENCLOSED_DATA ..." (golint)
    • Line 36: warning: don't use underscores in Go names; method Received_CLI_REL_CLI_REL_OPENCLOSED_DATA should be ReceivedCLIRELCLIRELOPENCLOSEDDATA (golint)
    • Line 41: warning: don't use underscores in Go names; method Received_TRU_REL_DC_CIPHER should be ReceivedTRURELDCCIPHER (golint)
    • Line 46: warning: don't use underscores in Go names; method Received_TRU_REL_SHUFFLE_SIG should be ReceivedTRURELSHUFFLESIG (golint)
    • Line 51: warning: don't use underscores in Go names; method Received_TRU_REL_TELL_NEW_BASE_AND_EPH_PKS should be ReceivedTRURELTELLNEWBASEANDEPHPKS (golint)
    • Line 56: warning: don't use underscores in Go names; method Received_TRU_REL_TELL_PK should be ReceivedTRURELTELLPK (golint)
    • Line 61: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_CLIENTS_PKS_AND_EPH_PKS_AND_BASE should be ReceivedRELTRUTELLCLIENTSPKSANDEPHPKSANDBASE (golint)
    • Line 66: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_TRANSCRIPT should be ReceivedRELTRUTELLTRANSCRIPT (golint)
    • Line 71: warning: don't use underscores in Go names; method Received_REL_TRU_TELL_RATE_CHANGE should be ReceivedRELTRUTELLRATECHANGE (golint)
    • Line 76: warning: don't use underscores in Go names; method Received_REL_CLI_DISRUPTED_ROUND should be ReceivedRELCLIDISRUPTEDROUND (golint)
    • Line 81: warning: don't use underscores in Go names; method Received_CLI_REL_DISRUPTION_BLAME should be ReceivedCLIRELDISRUPTIONBLAME (golint)
    • Line 86: warning: don't use underscores in Go names; method Received_REL_ALL_DISRUPTION_REVEAL should be ReceivedRELALLDISRUPTIONREVEAL (golint)
    • Line 91: warning: don't use underscores in Go names; method Received_CLI_REL_DISRUPTION_REVEAL should be ReceivedCLIRELDISRUPTIONREVEAL (golint)
    • Line 96: warning: don't use underscores in Go names; method Received_TRU_REL_DISRUPTION_REVEAL should be ReceivedTRURELDISRUPTIONREVEAL (golint)
    • Line 100: warning: comment on exported method PriFiSDAProtocol.Received_REL_ALL_DISRUPTION_SECRET should be of the form "Received_REL_ALL_DISRUPTION_SECRET ..." (golint)
    • Line 101: warning: don't use underscores in Go names; method Received_REL_ALL_DISRUPTION_SECRET should be ReceivedRELALLDISRUPTIONSECRET (golint)
    • Line 106: warning: don't use underscores in Go names; method Received_CLI_REL_DISRUPTION_SECRET should be ReceivedCLIRELDISRUPTIONSECRET (golint)
    • Line 111: warning: don't use underscores in Go names; method Received_TRU_REL_DISRUPTION_SECRET should be ReceivedTRURELDISRUPTIONSECRET (golint)
    • prifi/sda/protocols/message_sender.go
    • Line 63: warning: comment on exported method MessageSender.FastSendToClient should be of the form "FastSendToClient ..." (golint)
    • Line 76: warning: comment on exported method MessageSender.FastSendToRelay should be of the form "FastSendToRelay ..." (golint)
    • prifi/prifi-lib/net/messages.go
    • Line 75: warning: comment on exported method REL_CLI_TELL_EPH_PKS_AND_TRUSTEES_SIG.GetSignatures should be of the form "GetSignatures ..." (golint)
    • Line 100: warning: comment on exported type PublicKeyArray should be of the form "PublicKeyArray ..." (with optional leading article) (golint)
    • Line 105: warning: comment on exported type ByteArray should be of the form "ByteArray ..." (with optional leading article) (golint)
    • Line 110: warning: comment on exported method REL_TRU_TELL_TRANSCRIPT.GetKeys should be of the form "GetKeys ..." (golint)
    • Line 119: warning: comment on exported method REL_TRU_TELL_TRANSCRIPT.GetProofs should be of the form "GetProofs ..." (golint)
    • Line 186: warning: comment on exported method REL_CLI_DOWNSTREAM_DATA_UDP.SetContent should be of the form "SetContent ..." (golint)
    • prifi/prifi-lib/relay/bufferableRoundManager.go
    • Line 15: warning: comment on exported type BufferableRoundManager should be of the form "BufferableRoundManager ..." (with optional leading article) (golint)
    • Line 71: warning: comment on exported method BufferableRoundManager.MemoryUsage should be of the form "MemoryUsage ..." (golint)
    • Line 271: warning: comment on exported method BufferableRoundManager.OpenNextRound should be of the form "OpenNextRound ..." (golint)
    • Line 312: warning: comment on exported method BufferableRoundManager.CollectRoundData should be of the form "CollectRoundData ..." (golint)
    • Line 409: warning: comment on exported method BufferableRoundManager.ForceCloseRound should be of the form "ForceCloseRound ..." (golint)
    • Line 423: warning: comment on exported method BufferableRoundManager.TimeSpentInRound should be of the form "TimeSpentInRound ..." (golint)
    • Line 622: warning: comment on exported method BufferableRoundManager.AddRateLimiter should be of the form "AddRateLimiter ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words