Preparing report...

Report for github.com/bttcprotocol/delivery

(v0.0.0-20211130041343-eaaf7fea8b80)

A+    Excellent!    Found 128 issues across 469 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!


golint75%

Golint is a linter for Go source code.

    • slashing/types/genesis.go
    • Line 43: warning: comment on exported type MissedBlock should be of the form "MissedBlock ..." (with optional leading article) (golint)
    • simulation/operation.go
    • Line 118: warning: exported method WeightedOperation.Weight should have comment or be unexported (golint)
    • Line 122: warning: exported method WeightedOperation.Op should have comment or be unexported (golint)
    • tron/tronclient.go
    • Line 46: warning: exported method Client.TriggerContract should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.TriggerConstantContract should have comment or be unexported (golint)
    • Line 84: warning: exported method Client.GetNowBlock should have comment or be unexported (golint)
    • Line 141: warning: exported method Client.BroadcastTransaction should have comment or be unexported (golint)
    • gov/types/querier.go
    • Line 23: warning: comment on exported type QueryProposalParams should be of the form "QueryProposalParams ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported function NewQueryProposalParams should be of the form "NewQueryProposalParams ..." (golint)
    • Line 39: warning: comment on exported type QueryDepositParams should be of the form "QueryDepositParams ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported function NewQueryDepositParams should be of the form "NewQueryDepositParams ..." (golint)
    • Line 53: warning: comment on exported type QueryVoteParams should be of the form "QueryVoteParams ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported function NewQueryVoteParams should be of the form "NewQueryVoteParams ..." (golint)
    • Line 67: warning: comment on exported type QueryProposalsParams should be of the form "QueryProposalsParams ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported function NewQueryProposalsParams should be of the form "NewQueryProposalsParams ..." (golint)
    • topup/types/msg.go
    • Line 88: warning: exported method MsgTopup.GetSideSignBytes should have comment or be unexported (golint)
    • clerk/types/msg.go
    • Line 90: warning: exported method MsgEventRecord.GetRootChainType should have comment or be unexported (golint)
    • simulation/log.go
    • Line 10: warning: comment on exported type LogWriter should be of the form "LogWriter ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported function NewLogWriter should be of the form "NewLogWriter ..." (golint)
    • Line 24: warning: comment on exported type StandardLogWriter should be of the form "StandardLogWriter ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported method StandardLogWriter.AddEntry should be of the form "AddEntry ..." (golint)
    • Line 62: warning: comment on exported type DummyLogWriter should be of the form "DummyLogWriter ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported method DummyLogWriter.AddEntry should be of the form "AddEntry ..." (golint)
    • Line 69: warning: comment on exported method DummyLogWriter.PrintLogs should be of the form "PrintLogs ..." (golint)
    • bridge/cmd/listen.go
    • Line 20: warning: comment on exported function CreateSetStartBLockCmd should be of the form "CreateSetStartBLockCmd ..." (golint)
    • Line 65: warning: exported function CreateListStartListenBlockCmd should have comment or be unexported (golint)
    • gov/types/proposal.go
    • Line 29: warning: exported function NewProposal should have comment or be unexported (golint)
    • Line 74: warning: comment on exported type ProposalQueue should be of the form "ProposalQueue ..." (with optional leading article) (golint)
    • Line 91: warning: comment on exported function ProposalStatusFromString should be of the form "ProposalStatusFromString ..." (golint)
    • Line 141: warning: comment on exported method ProposalStatus.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 146: warning: comment on exported method ProposalStatus.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 198: warning: comment on exported type TallyResult should be of the form "TallyResult ..." (with optional leading article) (golint)
    • Line 206: warning: exported function NewTallyResult should have comment or be unexported (golint)
    • Line 215: warning: exported function NewTallyResultFromMap should have comment or be unexported (golint)
    • clerk/types/querier.go
    • Line 46: warning: comment on exported function NewQueryRecordRootChainParams should be of the form "NewQueryRecordRootChainParams ..." (golint)
    • types/chaintype.go
    • Line 4: warning: exported const RootChainTypeEth should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported function GetRootChainID should have comment or be unexported (golint)
    • Line 17: warning: exported function GetRootChainName should have comment or be unexported (golint)
    • Line 26: warning: exported function GetRootChainIDMap should have comment or be unexported (golint)
    • helper/call.go
    • Line 807: warning: exported method ContractCaller.GetTronTransactionReceipt should have comment or be unexported (golint)
    • Line 870: warning: comment on exported method ContractCaller.GetTronStakingSyncNonce should be of the form "GetTronStakingSyncNonce ..." (golint)
    • Line 896: warning: exported method ContractCaller.GetTronEventsByContractAddress should have comment or be unexported (golint)
    • Line 930: warning: exported method ContractCaller.GetTronLatestBlockNumber should have comment or be unexported (golint)
    • Line 961: warning: exported method ContractCaller.GetStartListenBlock should have comment or be unexported (golint)
    • Line 971: warning: exported method ContractCaller.GetTronHeaderInfo should have comment or be unexported (golint)
    • Line 1002: warning: exported method ContractCaller.GetSyncedCheckpointId should have comment or be unexported (golint)
    • params/subspace/table.go
    • Line 16: warning: comment on exported function NewKeyTable should be of the form "NewKeyTable ..." (golint)
    • Line 44: warning: comment on exported method KeyTable.RegisterType should be of the form "RegisterType ..." (golint)
    • Line 71: warning: comment on exported method KeyTable.RegisterParamSet should be of the form "RegisterParamSet ..." (golint)
    • slashing/client/cli/tx.go
    • Line 21: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • Line 39: warning: exported function GetCmdUnjail should have comment or be unexported (golint)
    • Line 89: warning: exported function GetCmdTick should have comment or be unexported (golint)
    • Line 131: warning: exported function GetCmdTickAck should have comment or be unexported (golint)
    • gov/router.go
    • Line 31: warning: exported function NewRouter should have comment or be unexported (golint)
    • types/validator-set.go
    • Line 26: warning: exported const MaxTotalVotingPower should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: comment on exported method ValidatorSet.IsNilOrEmpty should be of the form "IsNilOrEmpty ..." (golint)
    • Line 71: warning: comment on exported method ValidatorSet.CopyIncrementProposerPriority should be of the form "CopyIncrementProposerPriority ..." (golint)
    • Line 105: warning: exported method ValidatorSet.RescalePriorities should have comment or be unexported (golint)
    • Line 176: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • clerk/side_handler.go
    • Line 51: warning: exported function SideHandleMsgEventRecord should have comment or be unexported (golint)
    • Line 139: warning: exported function PostHandleMsgEventRecord should have comment or be unexported (golint)
    • slashing/types/msg.go
    • Line 25: warning: exported function NewMsgUnjail should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method MsgUnjail.Route should be of the form "Route ..." (golint)
    • Line 37: warning: exported method MsgUnjail.Type should have comment or be unexported (golint)
    • Line 38: warning: exported method MsgUnjail.GetSigners should have comment or be unexported (golint)
    • Line 65: warning: comment on exported type MsgTick should be of the form "MsgTick ..." (with optional leading article) (golint)
    • Line 72: warning: exported function NewMsgTick should have comment or be unexported (golint)
    • Line 85: warning: exported method MsgTick.Route should have comment or be unexported (golint)
    • Line 94: warning: exported method MsgTick.GetSignBytes should have comment or be unexported (golint)
    • Line 102: warning: exported method MsgTick.ValidateBasic should have comment or be unexported (golint)
    • Line 142: warning: exported type MsgTickAck should have comment or be unexported (golint)
    • Line 151: warning: exported function NewMsgTickAck should have comment or be unexported (golint)
    • Line 167: warning: exported method MsgTickAck.Route should have comment or be unexported (golint)
    • Line 176: warning: exported method MsgTickAck.GetSignBytes should have comment or be unexported (golint)
    • Line 184: warning: exported method MsgTickAck.ValidateBasic should have comment or be unexported (golint)
    • slashing/keeper.go
    • Line 289: warning: exported method Keeper.GetTotalSlashedAmount should have comment or be unexported (golint)
    • Line 396: warning: comment on exported method Keeper.FlushTotalSlashedAmount should be of the form "FlushTotalSlashedAmount ..." (golint)
    • Line 443: warning: exported method Keeper.UpdateTotalSlashedAmount should have comment or be unexported (golint)
    • Line 509: warning: comment on exported method Keeper.CopyBufferValSlashingInfosToTickData should be of the form "CopyBufferValSlashingInfosToTickData ..." (golint)
    • topup/keeper.go
    • Line 26: warning: exported var DividendAccountMapKey should have comment or be unexported (golint)
    • Line 133: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • Line 147: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • Line 168: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • Line 175: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • Line 187: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • Line 213: warning: receiver name k should be consistent with previous receiver name keeper for Keeper (golint)
    • gov/querier.go
    • Line 13: warning: exported function NewQuerier should have comment or be unexported (golint)
    • common/error.go
    • Line 13: warning: exported type CodeType should have comment or be unexported (golint)
    • Line 16: warning: exported const DefaultCodespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 82: warning: exported function ErrInvalidMsg should have comment or be unexported (golint)
    • Line 88: warning: exported function ErrBadProposerDetails should have comment or be unexported (golint)
    • Line 92: warning: exported function ErrBadBlockDetails should have comment or be unexported (golint)
    • Line 96: warning: exported function ErrSetCheckpointBuffer should have comment or be unexported (golint)
    • Line 100: warning: exported function ErrAddCheckpoint should have comment or be unexported (golint)
    • Line 104: warning: exported function ErrBadAccountRootHash should have comment or be unexported (golint)
    • Line 108: warning: exported function ErrBadAck should have comment or be unexported (golint)
    • Line 112: warning: exported function ErrOldCheckpoint should have comment or be unexported (golint)
    • Line 116: warning: exported function ErrDisCountinuousCheckpoint should have comment or be unexported (golint)
    • Line 120: warning: exported function ErrNoACK should have comment or be unexported (golint)
    • Line 124: warning: exported function ErrNoConn should have comment or be unexported (golint)
    • Line 128: warning: exported function ErrNoCheckpointFound should have comment or be unexported (golint)
    • Line 132: warning: exported function ErrNoChainParamsFound should have comment or be unexported (golint)
    • Line 136: warning: exported function ErrNoCheckpointBufferFound should have comment or be unexported (golint)
    • Line 140: warning: exported function ErrWrongRootChain should have comment or be unexported (golint)
    • Line 144: warning: exported function ErrChainPamramsExist should have comment or be unexported (golint)
    • Line 148: warning: exported function ErrInvalidNoACK should have comment or be unexported (golint)
    • Line 152: warning: exported function ErrTooManyNoACK should have comment or be unexported (golint)
    • Line 156: warning: exported function ErrBadTimeStamp should have comment or be unexported (golint)
    • Line 162: warning: exported function ErrOldValidator should have comment or be unexported (golint)
    • Line 166: warning: exported function ErrNoValidator should have comment or be unexported (golint)
    • Line 170: warning: exported function ErrNonce should have comment or be unexported (golint)
    • Line 174: warning: exported function ErrValSignerPubKeyMismatch should have comment or be unexported (golint)
    • Line 178: warning: exported function ErrValSignerMismatch should have comment or be unexported (golint)
    • Line 182: warning: exported function ErrValIsNotCurrentVal should have comment or be unexported (golint)
    • Line 186: warning: exported function ErrValUnbonded should have comment or be unexported (golint)
    • Line 190: warning: exported function ErrSignerUpdateError should have comment or be unexported (golint)
    • Line 194: warning: exported function ErrNoSignerChange should have comment or be unexported (golint)
    • Line 198: warning: exported function ErrOldTx should have comment or be unexported (golint)
    • Line 202: warning: exported function ErrValidatorAlreadySynced should have comment or be unexported (golint)
    • Line 206: warning: exported function ErrValidatorSave should have comment or be unexported (golint)
    • Line 210: warning: exported function ErrValidatorNotDeactivated should have comment or be unexported (golint)
    • Line 214: warning: exported function ErrValidatorAlreadyJoined should have comment or be unexported (golint)
    • Line 218: warning: exported function ErrNoStakingFound should have comment or be unexported (golint)
    • Line 224: warning: exported function ErrInvalidBorChainID should have comment or be unexported (golint)
    • Line 228: warning: exported function ErrSpanNotInCountinuity should have comment or be unexported (golint)
    • Line 232: warning: exported function ErrInvalidSpanDuration should have comment or be unexported (golint)
    • Line 236: warning: exported function ErrSpanNotFound should have comment or be unexported (golint)
    • Line 240: warning: exported function ErrUnableToFreezeValSet should have comment or be unexported (golint)
    • Line 244: warning: exported function ErrValSetMisMatch should have comment or be unexported (golint)
    • Line 248: warning: exported function ErrProducerMisMatch should have comment or be unexported (golint)
    • Line 264: warning: exported function ErrSideTxValidation should have comment or be unexported (golint)
    • Line 272: warning: exported function CodeToDefaultMsg should have comment or be unexported (golint)
    • Line 358: warning: comment on exported function ErrValidatorSigningInfoSave should be of the form "ErrValidatorSigningInfoSave ..." (golint)
    • Line 363: warning: exported function ErrUnjailValidator should have comment or be unexported (golint)
    • Line 367: warning: exported function ErrSlashInfoDetails should have comment or be unexported (golint)
    • Line 371: warning: exported function ErrTickNotInContinuity should have comment or be unexported (golint)
    • Line 375: warning: exported function ErrTickAckNotInContinuity should have comment or be unexported (golint)
    • bor/client/cli/flags.go
    • Line 4: warning: exported const FlagProposerAddress should have comment (or a comment on this block) or be unexported (golint)
    • gov/keeper.go
    • Line 84: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 89: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 95: warning: comment on exported method Keeper.GetDepositParams should be of the form "GetDepositParams ..." (golint)
    • Line 96: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 102: warning: comment on exported method Keeper.GetVotingParams should be of the form "GetVotingParams ..." (golint)
    • Line 103: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 109: warning: comment on exported method Keeper.GetTallyParams should be of the form "GetTallyParams ..." (golint)
    • Line 110: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 116: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 120: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 124: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 131: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 138: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 144: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 151: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 159: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 176: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 195: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 213: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 229: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 244: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 260: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 275: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • Line 281: warning: receiver name keeper should be consistent with previous receiver name k for Keeper (golint)
    • topup/types/querier.go
    • Line 6: warning: exported const QuerySequence should have comment (or a comment on this block) or be unexported (golint)
    • slashing/side_handler.go
    • Line 64: warning: comment on exported function SideHandleMsgTickAck should be of the form "SideHandleMsgTickAck ..." (golint)
    • Line 306: warning: comment on exported function PostHandleMsgUnjail should be of the form "PostHandleMsgUnjail ..." (golint)
    • clerk/module.go
    • Line 150: warning: exported method AppModule.NewSideTxHandler should have comment or be unexported (golint)
    • chainmanager/keeper.go
    • Line 17: warning: exported var NewChainParamsKey should have comment or be unexported (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gov/module.go
    • Line 29: warning: comment on exported type AppModuleBasic should be of the form "AppModuleBasic ..." (with optional leading article) (golint)
    • Line 43: warning: comment on exported method AppModuleBasic.Name should be of the form "Name ..." (golint)
    • Line 48: warning: comment on exported method AppModuleBasic.RegisterCodec should be of the form "RegisterCodec ..." (golint)
    • Line 74: warning: comment on exported method AppModuleBasic.RegisterRESTRoutes should be of the form "RegisterRESTRoutes ..." (golint)
    • Line 84: warning: comment on exported method AppModuleBasic.GetTxCmd should be of the form "GetTxCmd ..." (golint)
    • Line 95: warning: comment on exported method AppModuleBasic.GetQueryCmd should be of the form "GetQueryCmd ..." (golint)
    • Line 100: warning: comment on exported type AppModule should be of the form "AppModule ..." (with optional leading article) (golint)
    • Line 117: warning: comment on exported method AppModule.Name should be of the form "Name ..." (golint)
    • Line 122: warning: comment on exported method AppModule.RegisterInvariants should be of the form "RegisterInvariants ..." (golint)
    • Line 127: warning: comment on exported method AppModule.Route should be of the form "Route ..." (golint)
    • Line 132: warning: comment on exported method AppModule.NewHandler should be of the form "NewHandler ..." (golint)
    • Line 137: warning: comment on exported method AppModule.QuerierRoute should be of the form "QuerierRoute ..." (golint)
    • Line 142: warning: comment on exported method AppModule.NewQuerierHandler should be of the form "NewQuerierHandler ..." (golint)
    • Line 147: warning: comment on exported method AppModule.InitGenesis should be of the form "InitGenesis ..." (golint)
    • Line 155: warning: comment on exported method AppModule.ExportGenesis should be of the form "ExportGenesis ..." (golint)
    • Line 161: warning: comment on exported method AppModule.BeginBlock should be of the form "BeginBlock ..." (golint)
    • Line 164: warning: comment on exported method AppModule.EndBlock should be of the form "EndBlock ..." (golint)
    • supply/types/querier.go
    • Line 9: warning: comment on exported type QueryTotalSupplyParams should be of the form "QueryTotalSupplyParams ..." (with optional leading article) (golint)
    • types/simulation/types.go
    • Line 13: warning: exported type WeightedProposalContent should have comment or be unexported (golint)
    • Line 19: warning: exported type ContentSimulatorFn should have comment or be unexported (golint)
    • Line 21: warning: exported type Content should have comment or be unexported (golint)
    • Line 30: warning: exported type SimValFn should have comment or be unexported (golint)
    • Line 32: warning: exported type ParamChange should have comment or be unexported (golint)
    • Line 39: warning: exported type WeightedOperation should have comment or be unexported (golint)
    • Line 144: warning: exported type ParamSimulator should have comment or be unexported (golint)
    • Line 146: warning: exported type SelectOpFn should have comment or be unexported (golint)
    • Line 153: warning: exported type Params should have comment or be unexported (golint)
    • bridge/setu/util/machinery_logger.go
    • Line 6: warning: exported method NoopLogger.Print should have comment or be unexported (golint)
    • Line 7: warning: exported method NoopLogger.Printf should have comment or be unexported (golint)
    • Line 8: warning: exported method NoopLogger.Println should have comment or be unexported (golint)
    • Line 9: warning: exported method NoopLogger.Fatal should have comment or be unexported (golint)
    • Line 10: warning: exported method NoopLogger.Fatalf should have comment or be unexported (golint)
    • Line 11: warning: exported method NoopLogger.Fatalln should have comment or be unexported (golint)
    • Line 12: warning: exported method NoopLogger.Panic should have comment or be unexported (golint)
    • Line 13: warning: exported method NoopLogger.Panicf should have comment or be unexported (golint)
    • Line 14: warning: exported method NoopLogger.Panicln should have comment or be unexported (golint)
    • bank/types/querier.go
    • Line 8: warning: exported const QueryBalance should have comment (or a comment on this block) or be unexported (golint)
    • topup/querier.go
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • helper/util.go
    • Line 824: warning: exported function MakeRequest should have comment or be unexported (golint)
    • Line 858: warning: comment on exported function CalculateSequence should be of the form "CalculateSequence ..." (golint)
    • Line 869: warning: comment on exported function Hash should be of the form "Hash ..." (golint)
    • chainmanager/simulation/genesis.go
    • Line 35: warning: exported function GenMainchainTxConfirmations should have comment or be unexported (golint)
    • Line 39: warning: exported function GenTronchainTxConfirmations should have comment or be unexported (golint)
    • Line 43: warning: exported function GenMaticchainTxConfirmations should have comment or be unexported (golint)
    • Line 47: warning: exported function GenHeimdallAddress should have comment or be unexported (golint)
    • Line 56: warning: exported function RandomizedGenState should have comment or be unexported (golint)
    • params/types/proposal.go
    • Line 32: warning: exported function NewParameterChangeProposal should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method ParameterChangeProposal.ProposalRoute should be of the form "ProposalRoute ..." (golint)
    • Line 86: warning: exported function NewParamChange should have comment or be unexported (golint)
    • Line 99: warning: comment on exported function ValidateChanges should be of the form "ValidateChanges ..." (golint)
    • gov/types/msgs.go
    • Line 34: warning: comment on exported method MsgSubmitProposal.Route should be of the form "Route ..." (golint)
    • Line 36: warning: exported method MsgSubmitProposal.Type should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method MsgSubmitProposal.ValidateBasic should be of the form "ValidateBasic ..." (golint)
    • Line 71: warning: comment on exported method MsgSubmitProposal.GetSignBytes should be of the form "GetSignBytes ..." (golint)
    • Line 77: warning: comment on exported method MsgSubmitProposal.GetSigners should be of the form "GetSigners ..." (golint)
    • Line 90: warning: exported function NewMsgDeposit should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method MsgDeposit.Route should be of the form "Route ..." (golint)
    • Line 97: warning: exported method MsgDeposit.Type should have comment or be unexported (golint)
    • Line 99: warning: comment on exported method MsgDeposit.ValidateBasic should be of the form "ValidateBasic ..." (golint)
    • Line 126: warning: comment on exported method MsgDeposit.GetSignBytes should be of the form "GetSignBytes ..." (golint)
    • Line 132: warning: comment on exported method MsgDeposit.GetSigners should be of the form "GetSigners ..." (golint)
    • Line 137: warning: comment on exported type MsgVote should be of the form "MsgVote ..." (with optional leading article) (golint)
    • Line 150: warning: comment on exported method MsgVote.Route should be of the form "Route ..." (golint)
    • Line 152: warning: exported method MsgVote.Type should have comment or be unexported (golint)
    • Line 154: warning: comment on exported method MsgVote.ValidateBasic should be of the form "ValidateBasic ..." (golint)
    • Line 177: warning: comment on exported method MsgVote.GetSignBytes should be of the form "GetSignBytes ..." (golint)
    • Line 183: warning: comment on exported method MsgVote.GetSigners should be of the form "GetSigners ..." (golint)
    • types/keys.go
    • Line 11: warning: exported const DefaultChainIdUnit should have comment (or a comment on this block) or be unexported (golint)
    • gov/types/errors.go
    • Line 1: warning: package comment should be of the form "Package types ..." (golint)
    • Line 11: warning: exported const DefaultCodespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function ErrUnknownProposal should have comment or be unexported (golint)
    • Line 30: warning: exported function ErrInactiveProposal should have comment or be unexported (golint)
    • Line 34: warning: exported function ErrAlreadyActiveProposal should have comment or be unexported (golint)
    • Line 38: warning: exported function ErrAlreadyFinishedProposal should have comment or be unexported (golint)
    • Line 42: warning: exported function ErrAddressNotStaked should have comment or be unexported (golint)
    • Line 46: warning: exported function ErrInvalidProposalContent should have comment or be unexported (golint)
    • Line 50: warning: exported function ErrInvalidProposalType should have comment or be unexported (golint)
    • Line 54: warning: exported function ErrInvalidVote should have comment or be unexported (golint)
    • Line 58: warning: exported function ErrInvalidGenesis should have comment or be unexported (golint)
    • Line 62: warning: exported function ErrNoProposalHandlerExists should have comment or be unexported (golint)
    • staking/keep_sync.go
    • Line 45: warning: comment on exported method Keeper.GetNextStakingRecordFromQueue should be of the form "GetNextStakingRecordFromQueue ..." (golint)
    • Line 62: warning: comment on exported method Keeper.GetStakingQueue should be of the form "GetStakingQueue ..." (golint)
    • bor/keeper.go
    • Line 22: warning: exported var DefaultValue should have comment or be unexported (golint)
    • Line 133: warning: exported method Keeper.HasSpan should have comment or be unexported (golint)
    • Line 292: warning: exported method Keeper.GetNextSpanSeed should have comment or be unexported (golint)
    • bridge/setu/queue/connector.go
    • Line 13: warning: exported type QueueConnector should have comment or be unexported (golint)
    • Line 19: warning: comment on exported const QueueName should be of the form "QueueName ..." (golint)
    • Line 23: warning: exported function NewQueueConnector should have comment or be unexported (golint)
    • bank/keeper.go
    • Line 21: warning: comment on exported type ModuleCommunicator should be of the form "ModuleCommunicator ..." (with optional leading article) (golint)
    • gov/client/cli/query.go
    • Line 160: warning: comment on exported function GetCmdQueryVote should be of the form "GetCmdQueryVote ..." (golint)
    • Line 290: warning: comment on exported function GetCmdQueryDeposit should be of the form "GetCmdQueryDeposit ..." (golint)
    • Line 463: warning: comment on exported function GetCmdQueryParams should be of the form "GetCmdQueryParams ..." (golint)
    • Line 505: warning: comment on exported function GetCmdQueryParam should be of the form "GetCmdQueryParam ..." (golint)
    • params/subspace/subspace.go
    • Line 20: warning: comment on exported type Subspace should be of the form "Subspace ..." (with optional leading article) (golint)
    • Line 107: warning: comment on exported method Subspace.GetRaw should be of the form "GetRaw ..." (golint)
    • Line 113: warning: comment on exported method Subspace.Has should be of the form "Has ..." (golint)
    • Line 119: warning: comment on exported method Subspace.Modified should be of the form "Modified ..." (golint)
    • Line 184: warning: comment on exported method Subspace.GetParamSet should be of the form "GetParamSet ..." (golint)
    • Line 191: warning: comment on exported method Subspace.SetParamSet should be of the form "SetParamSet ..." (golint)
    • Line 203: warning: comment on exported method Subspace.Name should be of the form "Name ..." (golint)
    • Line 208: warning: comment on exported type ReadOnlySubspace should be of the form "ReadOnlySubspace ..." (with optional leading article) (golint)
    • Line 213: warning: comment on exported method ReadOnlySubspace.Get should be of the form "Get ..." (golint)
    • Line 218: warning: comment on exported method ReadOnlySubspace.GetRaw should be of the form "GetRaw ..." (golint)
    • Line 223: warning: comment on exported method ReadOnlySubspace.Has should be of the form "Has ..." (golint)
    • Line 228: warning: comment on exported method ReadOnlySubspace.Modified should be of the form "Modified ..." (golint)
    • Line 233: warning: comment on exported method ReadOnlySubspace.Name should be of the form "Name ..." (golint)
    • app/app.go
    • Line 182: warning: comment on exported method ModuleCommunicator.CreateValiatorSigningInfo should be of the form "CreateValiatorSigningInfo ..." (golint)
    • bridge/setu/listener/base.go
    • Line 42: warning: exported type BaseListener should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method BaseListener.StartHeaderProcess should be of the form "StartHeaderProcess ..." (golint)
    • Line 158: warning: comment on exported method BaseListener.StartPolling should be of the form "StartPolling ..." (golint)
    • Line 184: warning: exported method BaseListener.StartSubscription should have comment or be unexported (golint)
    • Line 204: warning: comment on exported method BaseListener.Stop should be of the form "Stop ..." (golint)
    • slashing/client/rest/tx.go
    • Line 34: warning: comment on exported type UnjailReq should be of the form "UnjailReq ..." (with optional leading article) (golint)
    • Line 44: warning: exported type TickReq should have comment or be unexported (golint)
    • Line 51: warning: exported type TickAckReq should have comment or be unexported (golint)
    • clerk/keeper.go
    • Line 19: warning: exported var StateRecordPrefixKey should have comment or be unexported (golint)
    • Line 170: warning: exported method Keeper.GetLatestID should have comment or be unexported (golint)
    • Line 182: warning: comment on exported method Keeper.SetLatestID should be of the form "SetLatestID ..." (golint)
    • Line 188: warning: comment on exported method Keeper.GetHeimdallIDByRootID should be of the form "GetHeimdallIDByRootID ..." (golint)
    • Line 249: warning: comment on exported method Keeper.HasEventRecord should be of the form "HasEventRecord ..." (golint)
    • Line 256: warning: comment on exported method Keeper.HasRootChainEventRecord should be of the form "HasRootChainEventRecord ..." (golint)
    • Line 346: warning: comment on exported function GetRecordKey should be of the form "GetRecordKey ..." (golint)
    • Line 364: warning: comment on exported function GetRootToHeimdallIdKey should be of the form "GetRootToHeimdallIdKey ..." (golint)
    • Line 392: warning: exported function GetRecordKeyWithTimePrefix should have comment or be unexported (golint)
    • checkpoint/keeper.go
    • Line 20: warning: exported var DefaultValue should have comment or be unexported (golint)
    • Line 141: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 199: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 255: warning: comment on exported method Keeper.SetCheckpointSyncBuffer should be of the form "SetCheckpointSyncBuffer ..." (golint)
    • Line 366: warning: exported function GetAckCountKey should have comment or be unexported (golint)
    • gov/types/deposit.go
    • Line 11: warning: comment on exported type Deposit should be of the form "Deposit ..." (with optional leading article) (golint)
    • types/address.go
    • Line 34: warning: comment on exported method HeimdallAddress.TronAddress should be of the form "TronAddress ..." (golint)
    • Line 137: warning: exported function HexToTronAddress should have comment or be unexported (golint)
    • staking/types/params.go
    • Line 14: warning: comment on exported const DefaultStakingBufferTime should be of the form "DefaultStakingBufferTime ..." (golint)
    • version/version.go
    • Line 26: warning: comment on exported var Name should be of the form "Name ..." (golint)
    • Line 28: warning: comment on exported var ServerName should be of the form "ServerName ..." (golint)
    • Line 30: warning: comment on exported var ClientName should be of the form "ClientName ..." (golint)
    • Line 32: warning: comment on exported var Version should be of the form "Version ..." (golint)
    • Line 34: warning: comment on exported var Commit should be of the form "Commit ..." (golint)
    • Line 48: warning: exported function NewInfo should have comment or be unexported (golint)
    • bridge/setu/processor/base.go
    • Line 29: warning: exported type BaseProcessor should have comment or be unexported (golint)
    • Line 95: warning: comment on exported method BaseProcessor.Stop should be of the form "Stop ..." (golint)
    • gov/client/proposal_handler.go
    • Line 11: warning: comment on exported type RESTHandlerFn should be of the form "RESTHandlerFn ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported type CLIHandlerFn should be of the form "CLIHandlerFn ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type ProposalHandler should be of the form "ProposalHandler ..." (with optional leading article) (golint)
    • gov/types/params.go
    • Line 19: warning: comment on exported function ParamKeyTable should be of the form "ParamKeyTable ..." (golint)
    • Line 28: warning: comment on exported type DepositParams should be of the form "DepositParams ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported method DepositParams.Equal should be of the form "Equal ..." (golint)
    • Line 53: warning: comment on exported type TallyParams should be of the form "TallyParams ..." (with optional leading article) (golint)
    • Line 77: warning: comment on exported type VotingParams should be of the form "VotingParams ..." (with optional leading article) (golint)
    • Line 106: warning: exported function NewParams should have comment or be unexported (golint)
    • staking/module.go
    • Line 187: warning: exported method AppModule.NewSideTxHandler should have comment or be unexported (golint)
    • params/subspace/paramset.go
    • Line 3: warning: comment on exported type ParamSetPair should be of the form "ParamSetPair ..." (with optional leading article) (golint)
    • Line 9: warning: comment on exported type ParamSetPairs should be of the form "ParamSetPairs ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported type ParamSet should be of the form "ParamSet ..." (with optional leading article) (golint)
    • bor/module.go
    • Line 150: warning: exported method AppModule.NewSideTxHandler should have comment or be unexported (golint)
    • checkpoint/types/msg.go
    • Line 61: warning: exported method MsgCheckpoint.Route should have comment or be unexported (golint)
    • Line 70: warning: exported method MsgCheckpoint.GetSignBytes should have comment or be unexported (golint)
    • Line 78: warning: exported method MsgCheckpoint.ValidateBasic should have comment or be unexported (golint)
    • Line 128: warning: exported function NewMsgCheckpointAck should have comment or be unexported (golint)
    • Line 153: warning: exported method MsgCheckpointAck.Type should have comment or be unexported (golint)
    • Line 157: warning: exported method MsgCheckpointAck.Route should have comment or be unexported (golint)
    • Line 213: warning: exported type MsgCheckpointNoAck should have comment or be unexported (golint)
    • Line 217: warning: exported function NewMsgCheckpointNoAck should have comment or be unexported (golint)
    • Line 223: warning: exported method MsgCheckpointNoAck.Type should have comment or be unexported (golint)
    • Line 227: warning: exported method MsgCheckpointNoAck.Route should have comment or be unexported (golint)
    • Line 231: warning: exported method MsgCheckpointNoAck.GetSigners should have comment or be unexported (golint)
    • Line 235: warning: exported method MsgCheckpointNoAck.GetSignBytes should have comment or be unexported (golint)
    • Line 243: warning: exported method MsgCheckpointNoAck.ValidateBasic should have comment or be unexported (golint)
    • Line 257: warning: exported type MsgCheckpointSync should have comment or be unexported (golint)
    • Line 266: warning: exported function NewMsgCheckpointSync should have comment or be unexported (golint)
    • Line 277: warning: exported method MsgCheckpointSync.Type should have comment or be unexported (golint)
    • Line 281: warning: exported method MsgCheckpointSync.Route should have comment or be unexported (golint)
    • Line 285: warning: exported method MsgCheckpointSync.GetSigners should have comment or be unexported (golint)
    • Line 289: warning: exported method MsgCheckpointSync.GetSignBytes should have comment or be unexported (golint)
    • Line 297: warning: exported method MsgCheckpointSync.ValidateBasic should have comment or be unexported (golint)
    • Line 322: warning: exported type MsgCheckpointSyncAck should have comment or be unexported (golint)
    • Line 324: warning: exported function NewMsgCheckpointSyncAck should have comment or be unexported (golint)
    • Line 334: warning: exported method MsgCheckpointSyncAck.Type should have comment or be unexported (golint)
    • Line 338: warning: exported method MsgCheckpointSyncAck.Route should have comment or be unexported (golint)
    • Line 342: warning: exported method MsgCheckpointSyncAck.GetSigners should have comment or be unexported (golint)
    • Line 346: warning: exported method MsgCheckpointSyncAck.GetSignBytes should have comment or be unexported (golint)
    • Line 354: warning: exported method MsgCheckpointSyncAck.ValidateBasic should have comment or be unexported (golint)
    • helper/tx.go
    • Line 25: warning: exported function GenerateAuthObj should have comment or be unexported (golint)
    • Line 200: warning: comment on exported method ContractCaller.SendTronCheckpoint should be of the form "SendTronCheckpoint ..." (golint)
    • bor/shuffle.go
    • Line 16: warning: exported const ShuffleRoundCount should have comment or be unexported (golint)
    • helper/config.go
    • Line 29: warning: exported const NodeFlag should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: comment on exported const BroadcastBlock should be of the form "BroadcastBlock ..." (golint)
    • Line 52: warning: comment on exported const DefaultTronRPCUrl should be of the form "DefaultTronRPCUrl ..." (golint)
    • Line 93: warning: exported var DefaultCLIHome should have comment or be unexported (golint)
    • Line 306: warning: exported function GetGenesisDoc should have comment or be unexported (golint)
    • Line 310: warning: comment on exported function SetTestConfig should be of the form "SetTestConfig ..." (golint)
    • cmd/heimdalld/main.go
    • Line 58: warning: exported var ZeroIntString should have comment or be unexported (golint)
    • Line 328: warning: exported function CryptoKeyToPubkey should have comment or be unexported (golint)
    • types/val-signing-info.go
    • Line 52: warning: comment on exported function MarshallValSigningInfo should be of the form "MarshallValSigningInfo ..." (golint)
    • Line 61: warning: comment on exported function UnmarshallValSigningInfo should be of the form "UnmarshallValSigningInfo ..." (golint)
    • file/root.go
    • Line 5: warning: exported function Rootify should have comment or be unexported (golint)
    • staking/types/msg.go
    • Line 24: warning: exported type MsgValidatorJoin should have comment or be unexported (golint)
    • Line 62: warning: exported method MsgValidatorJoin.Type should have comment or be unexported (golint)
    • Line 66: warning: exported method MsgValidatorJoin.Route should have comment or be unexported (golint)
    • Line 70: warning: exported method MsgValidatorJoin.GetSigners should have comment or be unexported (golint)
    • Line 74: warning: exported method MsgValidatorJoin.GetSignBytes should have comment or be unexported (golint)
    • Line 82: warning: exported method MsgValidatorJoin.ValidateBasic should have comment or be unexported (golint)
    • Line 160: warning: exported method MsgStakeUpdate.Type should have comment or be unexported (golint)
    • Line 164: warning: exported method MsgStakeUpdate.Route should have comment or be unexported (golint)
    • Line 168: warning: exported method MsgStakeUpdate.GetSigners should have comment or be unexported (golint)
    • Line 172: warning: exported method MsgStakeUpdate.GetSignBytes should have comment or be unexported (golint)
    • Line 180: warning: exported method MsgStakeUpdate.ValidateBasic should have comment or be unexported (golint)
    • Line 234: warning: exported function NewMsgSignerUpdate should have comment or be unexported (golint)
    • Line 254: warning: exported method MsgSignerUpdate.Type should have comment or be unexported (golint)
    • Line 258: warning: exported method MsgSignerUpdate.Route should have comment or be unexported (golint)
    • Line 262: warning: exported method MsgSignerUpdate.GetSigners should have comment or be unexported (golint)
    • Line 266: warning: exported method MsgSignerUpdate.GetSignBytes should have comment or be unexported (golint)
    • Line 274: warning: exported method MsgSignerUpdate.ValidateBasic should have comment or be unexported (golint)
    • Line 321: warning: exported type MsgValidatorExit should have comment or be unexported (golint)
    • Line 331: warning: exported function NewMsgValidatorExit should have comment or be unexported (golint)
    • Line 343: warning: exported method MsgValidatorExit.Type should have comment or be unexported (golint)
    • Line 347: warning: exported method MsgValidatorExit.Route should have comment or be unexported (golint)
    • Line 351: warning: exported method MsgValidatorExit.GetSigners should have comment or be unexported (golint)
    • Line 355: warning: exported method MsgValidatorExit.GetSignBytes should have comment or be unexported (golint)
    • Line 363: warning: exported method MsgValidatorExit.ValidateBasic should have comment or be unexported (golint)
    • Line 405: warning: exported type MsgStakingSync should have comment or be unexported (golint)
    • Line 412: warning: exported function NewMsgStakingSync should have comment or be unexported (golint)
    • Line 421: warning: exported method MsgStakingSync.Type should have comment or be unexported (golint)
    • Line 425: warning: exported method MsgStakingSync.Route should have comment or be unexported (golint)
    • Line 429: warning: exported method MsgStakingSync.GetSigners should have comment or be unexported (golint)
    • Line 433: warning: exported method MsgStakingSync.GetSignBytes should have comment or be unexported (golint)
    • Line 441: warning: exported method MsgStakingSync.ValidateBasic should have comment or be unexported (golint)
    • Line 463: warning: exported type MsgStakingSyncAck should have comment or be unexported (golint)
    • Line 470: warning: exported function NewMsgStakingSyncAck should have comment or be unexported (golint)
    • Line 479: warning: exported method MsgStakingSyncAck.Type should have comment or be unexported (golint)
    • Line 483: warning: exported method MsgStakingSyncAck.Route should have comment or be unexported (golint)
    • Line 487: warning: exported method MsgStakingSyncAck.GetSigners should have comment or be unexported (golint)
    • Line 491: warning: exported method MsgStakingSyncAck.GetSignBytes should have comment or be unexported (golint)
    • Line 499: warning: exported method MsgStakingSyncAck.ValidateBasic should have comment or be unexported (golint)
    • types/validator.go
    • Line 73: warning: comment on exported method Validator.ValidateBasic should be of the form "ValidateBasic ..." (golint)
    • Line 84: warning: comment on exported function MarshallValidator should be of the form "MarshallValidator ..." (golint)
    • Line 93: warning: comment on exported function UnmarshallValidator should be of the form "UnmarshallValidator ..." (golint)
    • Line 111: warning: comment on exported method Validator.CompareProposerPriority should be of the form "CompareProposerPriority ..." (golint)
    • types/rest/rest.go
    • Line 25: warning: exported const DefaultPage should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported var ParseFloat64OrReturnBadRequest should have comment or be unexported (golint)
    • tron/types.go
    • Line 11: warning: exported const JsonRpcVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type NewFilter should have comment or be unexported (golint)
    • Line 23: warning: exported type FilterEventParams should have comment or be unexported (golint)
    • Line 28: warning: exported type FilterOtherParams should have comment or be unexported (golint)
    • Line 34: warning: exported type BaseQueryParam should have comment or be unexported (golint)
    • Line 38: warning: exported type FilterEventResponse should have comment or be unexported (golint)
    • Line 43: warning: exported type FilterTxResponse should have comment or be unexported (golint)
    • Line 48: warning: exported type FilterTxNumberResponse should have comment or be unexported (golint)
    • Line 53: warning: exported function GetDefaultBaseParm should have comment or be unexported (golint)
    • staking/keeper.go
    • Line 20: warning: exported var DefaultValue should have comment or be unexported (golint)
    • Line 199: warning: exported method Keeper.GetTotalPower should have comment or be unexported (golint)
    • Line 450: warning: comment on exported method Keeper.AddValidatorSigningInfo should be of the form "AddValidatorSigningInfo ..." (golint)
    • Line 457: warning: comment on exported method Keeper.Slash should be of the form "Slash ..." (golint)
    • Line 485: warning: comment on exported method Keeper.Unjail should be of the form "Unjail ..." (golint)
    • slashing/types/infohash.go
    • Line 13: warning: exported type ModifiedSlashInfo should have comment or be unexported (golint)
    • Line 69: warning: exported function RLPDecodeSlashInfos should have comment or be unexported (golint)
    • simulation/params.go
    • Line 47: warning: exported method Params.PastEvidenceFraction should have comment or be unexported (golint)
    • Line 51: warning: exported method Params.NumKeys should have comment or be unexported (golint)
    • Line 55: warning: exported method Params.EvidenceFraction should have comment or be unexported (golint)
    • Line 59: warning: exported method Params.InitialLivenessWeightings should have comment or be unexported (golint)
    • Line 63: warning: exported method Params.LivenessTransitionMatrix should have comment or be unexported (golint)
    • Line 67: warning: exported method Params.BlockSizeTransitionMatrix should have comment or be unexported (golint)
    • Line 94: warning: exported method ParamChange.Subspace should have comment or be unexported (golint)
    • Line 98: warning: exported method ParamChange.Key should have comment or be unexported (golint)
    • Line 102: warning: exported method ParamChange.SimValue should have comment or be unexported (golint)
    • Line 131: warning: exported function NewWeightedProposalContent should have comment or be unexported (golint)
    • Line 135: warning: exported method WeightedProposalContent.AppParamsKey should have comment or be unexported (golint)
    • Line 139: warning: exported method WeightedProposalContent.DefaultWeight should have comment or be unexported (golint)
    • Line 143: warning: exported method WeightedProposalContent.ContentSimulatorFn should have comment or be unexported (golint)
    • chainmanager/types/msg.go
    • Line 21: warning: exported type MsgNewChain should have comment or be unexported (golint)
    • Line 65: warning: exported method MsgNewChain.Type should have comment or be unexported (golint)
    • Line 69: warning: exported method MsgNewChain.Route should have comment or be unexported (golint)
    • Line 73: warning: exported method MsgNewChain.GetSigners should have comment or be unexported (golint)
    • Line 77: warning: exported method MsgNewChain.GetSignBytes should have comment or be unexported (golint)
    • Line 85: warning: exported method MsgNewChain.ValidateBasic should have comment or be unexported (golint)
    • topup/module.go
    • Line 178: warning: exported method AppModule.NewSideTxHandler should have comment or be unexported (golint)
    • types/val-slashing-info.go
    • Line 17: warning: exported function NewValidatorSlashingInfo should have comment or be unexported (golint)
    • Line 40: warning: comment on exported function MarshallValSlashingInfo should be of the form "MarshallValSlashingInfo ..." (golint)
    • Line 49: warning: comment on exported function UnmarshallValSlashingInfo should be of the form "UnmarshallValSlashingInfo ..." (golint)

gocyclo97%

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.

    • checkpoint/client/cli/tx.go
    • Line 185: warning: cyclomatic complexity 18 of function SendCheckpointACKTx() is high (> 15) (gocyclo)
    • Line 50: warning: cyclomatic complexity 18 of function SendCheckpointTx() is high (> 15) (gocyclo)
    • common/error.go
    • Line 272: warning: cyclomatic complexity 32 of function CodeToDefaultMsg() is high (> 15) (gocyclo)
    • bridge/setu/processor/checkpoint.go
    • Line 121: warning: cyclomatic complexity 20 of function (*CheckpointProcessor).sendCheckpointToHeimdall() is high (> 15) (gocyclo)
    • Line 214: warning: cyclomatic complexity 19 of function (*CheckpointProcessor).sendCheckpointToRootchain() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!