Preparing report...

Report for github.com/regen-network/regen-ledger

A+    Excellent!    Found 73 issues across 132 files

Tweet

gofmt96%

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!


gocyclo93%

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.

    • regen-ledger/x/group/server/msg_server.go
    • Line 91: warning: cyclomatic complexity 20 of function (serverImpl).UpdateGroupMembers() is high (> 15) (gocyclo)
    • Line 576: warning: cyclomatic complexity 19 of function (serverImpl).Exec() is high (> 15) (gocyclo)
    • Line 463: warning: cyclomatic complexity 19 of function (serverImpl).Vote() is high (> 15) (gocyclo)
    • Line 364: warning: cyclomatic complexity 16 of function (serverImpl).CreateProposal() is high (> 15) (gocyclo)

golint52%

Golint is a linter for Go source code.

    • regen-ledger/types/module/server/testutil.go
    • Line 27: warning: exported type FixtureFactory should have comment or be unexported (golint)
    • Line 35: warning: exported function NewFixtureFactory should have comment or be unexported (golint)
    • Line 47: warning: exported method FixtureFactory.SetModules should have comment or be unexported (golint)
    • Line 71: warning: exported method FixtureFactory.Setup should have comment or be unexported (golint)
    • regen-ledger/x/data/errors.go
    • Line 5: warning: exported const DataCodespace should have comment or be unexported (golint)
    • Line 8: warning: exported var ErrHashVerificationFailed should have comment or be unexported (golint)
    • regen-ledger/x/ecocredit/server/data_prefixes.go
    • Line 9: warning: exported function TradableBalanceKey should have comment or be unexported (golint)
    • Line 15: warning: exported function TradableSupplyKey should have comment or be unexported (golint)
    • Line 20: warning: exported function RetiredBalanceKey should have comment or be unexported (golint)
    • Line 26: warning: exported function RetiredSupplyKey should have comment or be unexported (golint)
    • Line 31: warning: exported function MaxDecimalPlacesKey should have comment or be unexported (golint)
    • regen-ledger/x/ecocredit/msgs.go
    • Line 15: warning: exported method MsgCreateClassRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 23: warning: exported method MsgCreateClassRequest.GetSigners should have comment or be unexported (golint)
    • Line 32: warning: exported method MsgCreateBatchRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 47: warning: exported method MsgCreateBatchRequest.GetSigners should have comment or be unexported (golint)
    • Line 56: warning: exported method MsgSendRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 71: warning: exported method MsgSendRequest.GetSigners should have comment or be unexported (golint)
    • Line 80: warning: exported method MsgRetireRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 90: warning: exported method MsgRetireRequest.GetSigners should have comment or be unexported (golint)
    • Line 99: warning: exported method MsgSetPrecisionRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 106: warning: exported method MsgSetPrecisionRequest.GetSigners should have comment or be unexported (golint)
    • regen-ledger/x/data/requests.go
    • Line 16: warning: exported method MsgAnchorDataRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 20: warning: exported method MsgAnchorDataRequest.GetSigners should have comment or be unexported (golint)
    • Line 29: warning: exported method MsgSignDataRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 33: warning: exported method MsgSignDataRequest.GetSigners should have comment or be unexported (golint)
    • Line 47: warning: exported method MsgStoreRawDataRequest.ValidateBasic should have comment or be unexported (golint)
    • Line 73: warning: exported method MsgStoreRawDataRequest.GetSigners should have comment or be unexported (golint)
    • regen-ledger/x/group/msgs.go
    • Line 70: warning: exported method Member.ValidateBasic should have comment or be unexported (golint)
    • Line 126: warning: exported method MsgUpdateGroupAdminRequest.GetGroupID should have comment or be unexported (golint)
    • Line 165: warning: exported method MsgUpdateGroupMetadataRequest.GetGroupID should have comment or be unexported (golint)
    • Line 214: warning: exported method MsgUpdateGroupMembersRequest.GetGroupID should have comment or be unexported (golint)
    • Line 309: warning: exported function NewMsgUpdateGroupAccountDecisionPolicyRequest should have comment or be unexported (golint)
    • Line 321: warning: exported method MsgUpdateGroupAccountDecisionPolicyRequest.SetDecisionPolicy should have comment or be unexported (golint)
    • Line 380: warning: exported method MsgUpdateGroupAccountDecisionPolicyRequest.GetDecisionPolicy should have comment or be unexported (golint)
    • Line 448: warning: exported method MsgCreateGroupAccountRequest.GetAdmin should have comment or be unexported (golint)
    • Line 452: warning: exported method MsgCreateGroupAccountRequest.GetGroupID should have comment or be unexported (golint)
    • Line 456: warning: exported method MsgCreateGroupAccountRequest.GetMetadata should have comment or be unexported (golint)
    • Line 460: warning: exported method MsgCreateGroupAccountRequest.GetDecisionPolicy should have comment or be unexported (golint)
    • Line 468: warning: exported method MsgCreateGroupAccountRequest.SetDecisionPolicy should have comment or be unexported (golint)
    • regen-ledger/orm/orm.go
    • Line 20: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type RowID should be of the form "RowID ..." (with optional leading article) (golint)
    • regen-ledger/types/context.go
    • Line 10: warning: exported type Context should have comment or be unexported (golint)
    • Line 16: warning: exported method Context.Deadline should have comment or be unexported (golint)
    • Line 20: warning: exported method Context.Done should have comment or be unexported (golint)
    • Line 24: warning: exported method Context.Err should have comment or be unexported (golint)
    • Line 28: warning: exported function UnwrapSDKContext should have comment or be unexported (golint)
    • regen-ledger/app/app.go
    • Line 104: warning: comment on exported var ModuleBasics should be of the form "ModuleBasics ..." (golint)
    • Line 144: warning: comment on exported type RegenApp should be of the form "RegenApp ..." (with optional leading article) (golint)
    • regen-ledger/types/testutil/network/suite.go
    • Line 9: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 16: warning: exported function NewIntegrationTestSuite should have comment or be unexported (golint)
    • Line 20: warning: exported method IntegrationTestSuite.SetupSuite should have comment or be unexported (golint)
    • Line 30: warning: exported method IntegrationTestSuite.TearDownSuite should have comment or be unexported (golint)
    • Line 35: warning: exported method IntegrationTestSuite.TestNetwork_Liveness should have comment or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; method TestNetwork_Liveness should be TestNetworkLiveness (golint)
    • regen-ledger/types/conn.go
    • Line 9: warning: exported type InvokerConn should have comment or be unexported (golint)
    • Line 14: warning: exported type Invoker should have comment or be unexported (golint)
    • regen-ledger/x/data/server/testsuite/suite.go
    • Line 13: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 26: warning: exported function NewIntegrationTestSuite should have comment or be unexported (golint)
    • Line 30: warning: exported method IntegrationTestSuite.SetupSuite should have comment or be unexported (golint)
    • Line 40: warning: exported method IntegrationTestSuite.TearDownSuite should have comment or be unexported (golint)
    • Line 44: warning: exported method IntegrationTestSuite.TestScenario should have comment or be unexported (golint)
    • regen-ledger/types/module/server/derived_module_key.go
    • Line 14: warning: exported type DerivedModuleKey should have comment or be unexported (golint)
    • Line 22: warning: exported method DerivedModuleKey.Invoker should have comment or be unexported (golint)
    • Line 29: warning: exported method DerivedModuleKey.Invoke should have comment or be unexported (golint)
    • Line 38: warning: exported method DerivedModuleKey.NewStream should have comment or be unexported (golint)
    • Line 42: warning: exported method DerivedModuleKey.ModuleID should have comment or be unexported (golint)
    • Line 49: warning: exported method DerivedModuleKey.Address should have comment or be unexported (golint)
    • regen-ledger/orm/indexer.go
    • Line 11: warning: comment on exported type UniqueIndexerFunc should be of the form "UniqueIndexerFunc ..." (with optional leading article) (golint)
    • regen-ledger/orm/testsupport.go
    • Line 14: warning: exported type MockContext should have comment or be unexported (golint)
    • Line 19: warning: exported function NewMockContext should have comment or be unexported (golint)
    • Line 27: warning: exported method MockContext.KVStore should have comment or be unexported (golint)
    • Line 71: warning: exported type GasCountingMockContext should have comment or be unexported (golint)
    • Line 76: warning: exported function NewGasCountingMockContext should have comment or be unexported (golint)
    • Line 83: warning: exported method GasCountingMockContext.KVStore should have comment or be unexported (golint)
    • Line 87: warning: exported method GasCountingMockContext.GasConsumed should have comment or be unexported (golint)
    • Line 91: warning: exported method GasCountingMockContext.ResetGasMeter should have comment or be unexported (golint)
    • Line 95: warning: exported type AlwaysPanicKVStore should have comment or be unexported (golint)
    • Line 97: warning: exported method AlwaysPanicKVStore.GetStoreType should have comment or be unexported (golint)
    • Line 101: warning: exported method AlwaysPanicKVStore.CacheWrap should have comment or be unexported (golint)
    • Line 105: warning: exported method AlwaysPanicKVStore.CacheWrapWithTrace should have comment or be unexported (golint)
    • Line 109: warning: exported method AlwaysPanicKVStore.Get should have comment or be unexported (golint)
    • Line 113: warning: exported method AlwaysPanicKVStore.Has should have comment or be unexported (golint)
    • Line 117: warning: exported method AlwaysPanicKVStore.Set should have comment or be unexported (golint)
    • Line 121: warning: exported method AlwaysPanicKVStore.Delete should have comment or be unexported (golint)
    • Line 125: warning: exported method AlwaysPanicKVStore.Iterator should have comment or be unexported (golint)
    • Line 129: warning: exported method AlwaysPanicKVStore.ReverseIterator should have comment or be unexported (golint)
    • regen-ledger/x/ecocredit/types.go
    • Line 7: warning: exported method ClassInfo.PrimaryKey should have comment or be unexported (golint)
    • Line 11: warning: exported method BatchInfo.PrimaryKey should have comment or be unexported (golint)
    • regen-ledger/x/data/server/keys.go
    • Line 8: warning: exported const AnchorTablePrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported function AnchorKey should have comment or be unexported (golint)
    • Line 18: warning: exported function CIDBase64String should have comment or be unexported (golint)
    • Line 22: warning: exported function CIDSignerKey should have comment or be unexported (golint)
    • Line 28: warning: exported function CIDSignerIndexPrefix should have comment or be unexported (golint)
    • Line 35: warning: exported function SignerCIDKey should have comment or be unexported (golint)
    • Line 41: warning: exported function SignerCIDIndexPrefix should have comment or be unexported (golint)
    • Line 48: warning: exported function DataKey should have comment or be unexported (golint)
    • regen-ledger/types/id.go
    • Line 5: warning: exported type ModuleID should have comment or be unexported (golint)
    • Line 10: warning: exported method ModuleID.Address should have comment or be unexported (golint)
    • regen-ledger/types/module/server/manager.go
    • Line 61: warning: exported method Manager.GetWeightedOperationsHandlers should have comment or be unexported (golint)
    • Line 254: warning: exported type RegisterInvariantsHandler should have comment or be unexported (golint)
    • Line 311: warning: exported type WeightedOperationsHandler should have comment or be unexported (golint)
    • regen-ledger/app/genesis.go
    • Line 1: warning: package comment should be of the form "Package app ..." (golint)
    • Line 10: warning: comment on exported type GenesisState should be of the form "GenesisState ..." (with optional leading article) (golint)
    • regen-ledger/orm/iterator.go
    • Line 28: warning: exported function NewSingleValueIterator should have comment or be unexported (golint)
    • Line 42: warning: comment on exported function NewInvalidIterator should be of the form "NewInvalidIterator ..." (golint)
    • regen-ledger/orm/sequence.go
    • Line 14: warning: comment on exported type Sequence should be of the form "Sequence ..." (with optional leading article) (golint)
    • Line 20: warning: exported function NewSequence should have comment or be unexported (golint)
    • regen-ledger/x/group/proposal.go
    • Line 10: warning: exported method Proposal.GetMsgs should have comment or be unexported (golint)
    • Line 22: warning: exported method Proposal.SetMsgs should have comment or be unexported (golint)
    • Line 37: warning: exported method Proposal.ValidateBasic should have comment or be unexported (golint)
    • Line 113: warning: exported method Proposal.PrimaryKey should have comment or be unexported (golint)
    • regen-ledger/orm/primary_key.go
    • Line 17: warning: exported type PrimaryKeyTableBuilder should have comment or be unexported (golint)
    • Line 21: warning: exported method PrimaryKeyTableBuilder.Build should have comment or be unexported (golint)
    • regen-ledger/x/data/client/testsuite/suite.go
    • Line 13: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method IntegrationTestSuite.SetupSuite should be of the form "SetupSuite ..." (golint)
    • Line 97: warning: exported method IntegrationTestSuite.TearDownSuite should have comment or be unexported (golint)
    • Line 102: warning: exported method IntegrationTestSuite.TestTxAnchorData should have comment or be unexported (golint)
    • Line 201: warning: exported method IntegrationTestSuite.TestGetAnchorDataByCID should have comment or be unexported (golint)
    • Line 256: warning: exported method IntegrationTestSuite.TestTxSignData should have comment or be unexported (golint)
    • Line 340: warning: exported method IntegrationTestSuite.TestTxStoreData should have comment or be unexported (golint)
    • Line 435: warning: exported function TestIntegrationTestSuite should have comment or be unexported (golint)
    • regen-ledger/x/group/server/testsuite/suite.go
    • Line 29: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 56: warning: exported function NewIntegrationTestSuite should have comment or be unexported (golint)
    • Line 65: warning: exported method IntegrationTestSuite.SetupSuite should have comment or be unexported (golint)
    • Line 122: warning: exported method IntegrationTestSuite.TearDownSuite should have comment or be unexported (golint)
    • Line 134: warning: exported method IntegrationTestSuite.TestCreateGroup should have comment or be unexported (golint)
    • Line 263: warning: exported method IntegrationTestSuite.TestUpdateGroupAdmin should have comment or be unexported (golint)
    • Line 347: warning: exported method IntegrationTestSuite.TestUpdateGroupMetadata should have comment or be unexported (golint)
    • Line 421: warning: exported method IntegrationTestSuite.TestUpdateGroupMembers should have comment or be unexported (golint)
    • Line 703: warning: exported method IntegrationTestSuite.TestCreateGroupAccount should have comment or be unexported (golint)
    • Line 806: warning: exported method IntegrationTestSuite.TestUpdateGroupAccountAdmin should have comment or be unexported (golint)
    • Line 886: warning: exported method IntegrationTestSuite.TestUpdateGroupAccountMetadata should have comment or be unexported (golint)
    • Line 961: warning: exported method IntegrationTestSuite.TestUpdateGroupAccountDecisionPolicy should have comment or be unexported (golint)
    • Line 1034: warning: exported method IntegrationTestSuite.TestGroupAccountsByAdminOrGroup should have comment or be unexported (golint)
    • Line 1118: warning: exported method IntegrationTestSuite.TestCreateProposal should have comment or be unexported (golint)
    • Line 1279: warning: exported method IntegrationTestSuite.TestVote should have comment or be unexported (golint)
    • Line 1670: warning: exported method IntegrationTestSuite.TestDoExecuteMsgs should have comment or be unexported (golint)
    • Line 1734: warning: exported method IntegrationTestSuite.TestExecProposal should have comment or be unexported (golint)
    • regen-ledger/x/ecocredit/module/module.go
    • Line 21: warning: exported type Module should have comment or be unexported (golint)
    • Line 27: warning: exported method Module.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method Module.RegisterInterfaces should have comment or be unexported (golint)
    • Line 35: warning: exported method Module.RegisterServices should have comment or be unexported (golint)
    • Line 39: warning: exported method Module.DefaultGenesis should have comment or be unexported (golint)
    • Line 41: warning: exported method Module.ValidateGenesis should have comment or be unexported (golint)
    • Line 45: warning: exported method Module.GetQueryCmd should have comment or be unexported (golint)
    • Line 49: warning: exported method Module.GetTxCmd should have comment or be unexported (golint)
    • Line 53: warning: exported method Module.RegisterGRPCGatewayRoutes should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method Module.RegisterRESTRoutes should be of the form "RegisterRESTRoutes ..." (golint)
    • Line 60: warning: exported method Module.RegisterLegacyAminoCodec should have comment or be unexported (golint)
    • regen-ledger/x/ecocredit/server/testsuite/suite.go
    • Line 14: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 26: warning: exported function NewIntegrationTestSuite should have comment or be unexported (golint)
    • Line 30: warning: exported method IntegrationTestSuite.SetupSuite should have comment or be unexported (golint)
    • Line 39: warning: exported method IntegrationTestSuite.TestScenario should have comment or be unexported (golint)
    • regen-ledger/x/group/client/testsuite/query.go
    • Line 13: warning: exported method IntegrationTestSuite.TestQueryGroupInfo should have comment or be unexported (golint)
    • Line 71: warning: exported method IntegrationTestSuite.TestQueryGroupMembers should have comment or be unexported (golint)
    • Line 136: warning: exported method IntegrationTestSuite.TestQueryGroupsByAdmin should have comment or be unexported (golint)
    • Line 203: warning: exported method IntegrationTestSuite.TestQueryGroupAccountInfo should have comment or be unexported (golint)
    • Line 262: warning: exported method IntegrationTestSuite.TestQueryGroupAccountsByGroup should have comment or be unexported (golint)
    • Line 332: warning: exported method IntegrationTestSuite.TestQueryGroupAccountsByAdmin should have comment or be unexported (golint)
    • Line 402: warning: exported method IntegrationTestSuite.TestQueryProposal should have comment or be unexported (golint)
    • Line 445: warning: exported method IntegrationTestSuite.TestQueryProposalsByGroupAccount should have comment or be unexported (golint)
    • Line 508: warning: exported method IntegrationTestSuite.TestQueryVoteByProposalVoter should have comment or be unexported (golint)
    • Line 551: warning: exported method IntegrationTestSuite.TestQueryVotesByProposal should have comment or be unexported (golint)
    • Line 614: warning: exported method IntegrationTestSuite.TestQueryVotesByVoter should have comment or be unexported (golint)
    • regen-ledger/x/group/client/testsuite/tx.go
    • Line 24: warning: exported type IntegrationTestSuite should have comment or be unexported (golint)
    • Line 38: warning: exported function NewIntegrationTestSuite should have comment or be unexported (golint)
    • Line 42: warning: exported method IntegrationTestSuite.SetupSuite should have comment or be unexported (golint)
    • Line 175: warning: exported method IntegrationTestSuite.TearDownSuite should have comment or be unexported (golint)
    • Line 180: warning: exported method IntegrationTestSuite.TestTxCreateGroup should have comment or be unexported (golint)
    • Line 337: warning: exported method IntegrationTestSuite.TestTxUpdateGroupAdmin should have comment or be unexported (golint)
    • Line 457: warning: exported method IntegrationTestSuite.TestTxUpdateGroupMetadata should have comment or be unexported (golint)
    • Line 543: warning: exported method IntegrationTestSuite.TestTxUpdateGroupMembers should have comment or be unexported (golint)
    • Line 665: warning: exported method IntegrationTestSuite.TestTxCreateGroupAccount should have comment or be unexported (golint)
    • Line 789: warning: exported method IntegrationTestSuite.TestTxUpdateGroupAccountAdmin should have comment or be unexported (golint)
    • Line 892: warning: exported method IntegrationTestSuite.TestTxUpdateGroupAccountDecisionPolicy should have comment or be unexported (golint)
    • Line 995: warning: exported method IntegrationTestSuite.TestTxUpdateGroupAccountMetadata should have comment or be unexported (golint)
    • Line 1113: warning: exported method IntegrationTestSuite.TestTxCreateProposal should have comment or be unexported (golint)
    • Line 1276: warning: exported method IntegrationTestSuite.TestTxVote should have comment or be unexported (golint)
    • Line 1430: warning: exported method IntegrationTestSuite.TestTxExec should have comment or be unexported (golint)
    • regen-ledger/x/group/types.go
    • Line 19: warning: exported type ID should have comment or be unexported (golint)
    • Line 21: warning: exported method ID.Uint64 should have comment or be unexported (golint)
    • Line 25: warning: exported method ID.Empty should have comment or be unexported (golint)
    • Line 29: warning: exported method ID.Bytes should have comment or be unexported (golint)
    • Line 33: warning: exported type ProposalID should have comment or be unexported (golint)
    • Line 35: warning: exported method ProposalID.Bytes should have comment or be unexported (golint)
    • Line 39: warning: exported method ProposalID.Uint64 should have comment or be unexported (golint)
    • Line 42: warning: exported method ProposalID.Empty should have comment or be unexported (golint)
    • Line 46: warning: exported type DecisionPolicyResult should have comment or be unexported (golint)
    • Line 131: warning: exported method ThresholdDecisionPolicy.ValidateBasic should have comment or be unexported (golint)
    • Line 147: warning: exported method GroupMember.PrimaryKey should have comment or be unexported (golint)
    • Line 154: warning: exported method GroupAccountInfo.PrimaryKey should have comment or be unexported (golint)
    • Line 182: warning: exported method GroupAccountInfo.SetDecisionPolicy should have comment or be unexported (golint)
    • Line 195: warning: exported method GroupAccountInfo.GetDecisionPolicy should have comment or be unexported (golint)
    • Line 203: warning: exported method GroupAccountInfo.ValidateBasic should have comment or be unexported (golint)
    • Line 237: warning: exported method Vote.PrimaryKey should have comment or be unexported (golint)
    • Line 246: warning: exported method Vote.ValidateBasic should have comment or be unexported (golint)
    • Line 288: warning: exported method GroupInfo.ValidateBasic should have comment or be unexported (golint)
    • Line 307: warning: exported method GroupInfo.PrimaryKey should have comment or be unexported (golint)
    • Line 313: warning: exported method GroupMember.ValidateBasic should have comment or be unexported (golint)
    • Line 325: warning: exported method Tally.Sub should have comment or be unexported (golint)
    • Line 332: warning: exported method Tally.Add should have comment or be unexported (golint)
    • Line 434: warning: exported method Tally.GetYesCount should have comment or be unexported (golint)
    • Line 442: warning: exported method Tally.GetNoCount should have comment or be unexported (golint)
    • Line 450: warning: exported method Tally.GetAbstainCount should have comment or be unexported (golint)
    • Line 458: warning: exported method Tally.GetVetoCount should have comment or be unexported (golint)
    • Line 466: warning: exported method Tally.ValidateBasic should have comment or be unexported (golint)
    • regen-ledger/x/data/module/module.go
    • Line 21: warning: exported type Module should have comment or be unexported (golint)
    • Line 27: warning: exported method Module.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method Module.RegisterInterfaces should have comment or be unexported (golint)
    • Line 35: warning: exported method Module.RegisterServices should have comment or be unexported (golint)
    • Line 39: warning: exported method Module.DefaultGenesis should have comment or be unexported (golint)
    • Line 41: warning: exported method Module.ValidateGenesis should have comment or be unexported (golint)
    • Line 45: warning: exported method Module.GetQueryCmd should have comment or be unexported (golint)
    • Line 49: warning: exported method Module.GetTxCmd should have comment or be unexported (golint)
    • Line 56: warning: exported method Module.RegisterGRPCGatewayRoutes should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method Module.RegisterRESTRoutes should be of the form "RegisterRESTRoutes ..." (golint)
    • Line 60: warning: exported method Module.RegisterLegacyAminoCodec should have comment or be unexported (golint)
    • regen-ledger/x/group/module/module.go
    • Line 27: warning: exported type Module should have comment or be unexported (golint)
    • Line 39: warning: exported method Module.Name should have comment or be unexported (golint)
    • Line 48: warning: exported method Module.RegisterServices should have comment or be unexported (golint)
    • Line 52: warning: exported method Module.DefaultGenesis should have comment or be unexported (golint)
    • Line 56: warning: exported method Module.ValidateGenesis should have comment or be unexported (golint)
    • Line 64: warning: exported method Module.RegisterGRPCGatewayRoutes should have comment or be unexported (golint)
    • Line 66: warning: exported method Module.GetTxCmd should have comment or be unexported (golint)
    • Line 70: warning: exported method Module.GetQueryCmd should have comment or be unexported (golint)
    • Line 74: warning: comment on exported method Module.RegisterRESTRoutes should be of the form "RegisterRESTRoutes ..." (golint)
    • Line 76: warning: exported method Module.RegisterLegacyAminoCodec should have comment or be unexported (golint)
    • Line 80: warning: exported method Module.Route should have comment or be unexported (golint)
    • regen-ledger/x/data/types.go
    • Line 9: warning: exported method ContentHash.Validate should have comment or be unexported (golint)
    • Line 20: warning: exported method ContentHash_Raw.Validate should have comment or be unexported (golint)
    • Line 29: warning: exported method ContentHash_Graph.Validate should have comment or be unexported (golint)
    • Line 43: warning: exported method MediaType.Validate should have comment or be unexported (golint)
    • Line 51: warning: exported method DigestAlgorithm.Validate should have comment or be unexported (golint)
    • Line 65: warning: exported var DigestalgorithmLength should have comment or be unexported (golint)
    • Line 69: warning: exported method GraphCanonicalizationAlgorithm.Validate should have comment or be unexported (golint)
    • Line 81: warning: exported method GraphMerkleTree.Validate should have comment or be unexported (golint)
    • regen-ledger/orm/genesis.go
    • Line 10: warning: comment on exported type TableExportable should be of the form "TableExportable ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported type SequenceExportable should be of the form "SequenceExportable ..." (with optional leading article) (golint)
    • regen-ledger/orm/table.go
    • Line 16: warning: exported type TableBuilder should have comment or be unexported (golint)
    • Line 50: warning: exported method TableBuilder.IndexKeyCodec should have comment or be unexported (golint)
    • Line 59: warning: exported method TableBuilder.StoreKey should have comment or be unexported (golint)
    • Line 255: warning: exported method Table.Table should have comment or be unexported (golint)
    • regen-ledger/x/group/server/server.go
    • Line 14: warning: comment on exported const GroupTablePrefix should be of the form "GroupTablePrefix ..." (golint)
    • Line 16: warning: exported const GroupTableSeqPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported const GroupMemberTablePrefix should be of the form "GroupMemberTablePrefix ..." (golint)
    • Line 24: warning: comment on exported const GroupAccountTablePrefix should be of the form "GroupAccountTablePrefix ..." (golint)
    • Line 30: warning: comment on exported const ProposalTablePrefix should be of the form "ProposalTablePrefix ..." (golint)
    • Line 36: warning: comment on exported const VoteTablePrefix should be of the form "VoteTablePrefix ..." (golint)
    • Line 165: warning: exported function RegisterServices should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!