Preparing report...

Report for github.com/decentralized-identity/kerigo

A+    Excellent!    Found 52 issues across 72 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!


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.

    • kerigo/pkg/log/main.go
    • Line 189: warning: cyclomatic complexity 27 of function (*Log).Apply() is high (> 15) (gocyclo)
    • Line 96: warning: cyclomatic complexity 16 of function (*Log).KeyState() is high (> 15) (gocyclo)

golint43%

Golint is a linter for Go source code.

    • kerigo/pkg/keymanager/keymanager.go
    • Line 24: warning: exported type KeyManager should have comment or be unexported (golint)
    • Line 33: warning: exported type Option should have comment or be unexported (golint)
    • Line 35: warning: exported function NewKeyManager should have comment or be unexported (golint)
    • Line 127: warning: exported method KeyManager.Signer should have comment or be unexported (golint)
    • Line 131: warning: exported method KeyManager.PublicKey should have comment or be unexported (golint)
    • Line 135: warning: exported method KeyManager.Next should have comment or be unexported (golint)
    • Line 139: warning: exported method KeyManager.Rotate should have comment or be unexported (golint)
    • Line 223: warning: exported function WithSecrets should have comment or be unexported (golint)
    • Line 230: warning: exported function WithAEAD should have comment or be unexported (golint)
    • Line 237: warning: exported function WithStore should have comment or be unexported (golint)
    • kerigo/pkg/keri/replay.go
    • Line 9: warning: exported type ReplayMode should have comment or be unexported (golint)
    • Line 12: warning: exported const FirstSeenReplay should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type ReplayHandler should have comment or be unexported (golint)
    • Line 18: warning: exported method Keri.Replay should have comment or be unexported (golint)
    • kerigo/pkg/encoding/stream/writer.go
    • Line 11: warning: exported type Writer should have comment or be unexported (golint)
    • Line 16: warning: exported type EncodeOption should have comment or be unexported (golint)
    • Line 18: warning: exported function NewWriter should have comment or be unexported (golint)
    • Line 31: warning: exported method Writer.WriteAll should have comment or be unexported (golint)
    • Line 68: warning: exported function WithSerializationMode should have comment or be unexported (golint)
    • kerigo/pkg/direct/server.go
    • Line 19: warning: exported const DefaultDirectModeAddr should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type Server should have comment or be unexported (golint)
    • Line 46: warning: exported method Server.ListenAndServe should have comment or be unexported (golint)
    • Line 60: warning: exported method Server.Serve should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/ordered_set.go
    • Line 11: warning: exported type OrderedSet should have comment or be unexported (golint)
    • Line 17: warning: exported function NewOrderedSet should have comment or be unexported (golint)
    • Line 26: warning: exported method OrderedSet.Get should have comment or be unexported (golint)
    • Line 31: warning: exported method OrderedSet.Put should have comment or be unexported (golint)
    • Line 36: warning: exported method OrderedSet.Add should have comment or be unexported (golint)
    • Line 41: warning: exported method OrderedSet.Count should have comment or be unexported (golint)
    • Line 46: warning: exported method OrderedSet.Delete should have comment or be unexported (golint)
    • Line 51: warning: exported method OrderedSet.RemoveFromSet should have comment or be unexported (golint)
    • Line 56: warning: exported method OrderedSet.Iterator should have comment or be unexported (golint)
    • Line 61: warning: exported method OrderedSet.First should have comment or be unexported (golint)
    • Line 73: warning: exported method OrderedSet.Last should have comment or be unexported (golint)
    • kerigo/pkg/direct/client.go
    • Line 18: warning: exported const DefaultReceiptTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type Client should have comment or be unexported (golint)
    • Line 27: warning: exported type Notify should have comment or be unexported (golint)
    • Line 29: warning: exported function Dial should have comment or be unexported (golint)
    • Line 33: warning: exported function DialTimeout should have comment or be unexported (golint)
    • Line 82: warning: exported method Client.WriteNotify should have comment or be unexported (golint)
    • Line 102: warning: exported method Client.Close should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/badger.go
    • Line 19: warning: exported type DB should have comment or be unexported (golint)
    • Line 35: warning: exported function New should have comment or be unexported (golint)
    • Line 64: warning: exported method DB.Close should have comment or be unexported (golint)
    • Line 68: warning: exported method DB.Put should have comment or be unexported (golint)
    • Line 84: warning: exported method DB.Get should have comment or be unexported (golint)
    • Line 112: warning: exported method DB.Seen should have comment or be unexported (golint)
    • Line 120: warning: exported method DB.LogEvent should have comment or be unexported (golint)
    • Line 185: warning: exported method DB.LogSize should have comment or be unexported (golint)
    • Line 192: warning: exported method DB.StreamAsFirstSeen should have comment or be unexported (golint)
    • Line 214: warning: exported method DB.StreamBySequenceNo should have comment or be unexported (golint)
    • Line 252: warning: exported method DB.StreamPending should have comment or be unexported (golint)
    • Line 276: warning: exported method DB.StreamEstablisment should have comment or be unexported (golint)
    • Line 298: warning: exported method DB.CurrentEvent should have comment or be unexported (golint)
    • Line 309: warning: exported method DB.CurrentEstablishmentEvent should have comment or be unexported (golint)
    • Line 321: warning: exported method DB.Inception should have comment or be unexported (golint)
    • Line 325: warning: exported method DB.Signatures should have comment or be unexported (golint)
    • Line 367: warning: exported method DB.Event should have comment or be unexported (golint)
    • Line 387: warning: exported method DB.Message should have comment or be unexported (golint)
    • Line 460: warning: exported method DB.EventAt should have comment or be unexported (golint)
    • Line 473: warning: exported method DB.EscrowPendingEvent should have comment or be unexported (golint)
    • Line 516: warning: exported method DB.RemovePendingEscrow should have comment or be unexported (golint)
    • Line 528: warning: exported method DB.EscrowOutOfOrderEvent should have comment or be unexported (golint)
    • Line 571: warning: exported method DB.EscrowLikelyDuplicitiousEvent should have comment or be unexported (golint)
    • Line 614: warning: exported method DB.LastAcceptedDigest should have comment or be unexported (golint)
    • Line 630: warning: exported method DB.LogTransferableReceipt should have comment or be unexported (golint)
    • Line 647: warning: exported method DB.LogNonTransferableReceipt should have comment or be unexported (golint)
    • Line 663: warning: exported method DB.StreamTransferableReceipts should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/logger.go
    • Line 3: warning: exported type NoOpLogger should have comment or be unexported (golint)
    • Line 6: warning: exported method NoOpLogger.Errorf should have comment or be unexported (golint)
    • Line 9: warning: exported method NoOpLogger.Warningf should have comment or be unexported (golint)
    • Line 12: warning: exported method NoOpLogger.Infof should have comment or be unexported (golint)
    • Line 15: warning: exported method NoOpLogger.Debugf should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/value.go
    • Line 10: warning: exported type Value should have comment or be unexported (golint)
    • Line 16: warning: exported function NewValue should have comment or be unexported (golint)
    • Line 25: warning: exported method Value.Exists should have comment or be unexported (golint)
    • Line 32: warning: exported method Value.Get should have comment or be unexported (golint)
    • Line 72: warning: exported method Value.Iterator should have comment or be unexported (golint)
    • Line 77: warning: exported method Value.Count should have comment or be unexported (golint)
    • Line 82: warning: exported method Value.First should have comment or be unexported (golint)
    • Line 92: warning: exported method Value.Last should have comment or be unexported (golint)
    • Line 102: warning: exported method Value.Delete should have comment or be unexported (golint)
    • Line 107: warning: exported method Value.DeleteAll should have comment or be unexported (golint)
    • kerigo/pkg/db/mem/mem.go
    • Line 11: warning: exported type DB should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method DB.Put should have comment or be unexported (golint)
    • Line 57: warning: exported method DB.Get should have comment or be unexported (golint)
    • Line 68: warning: exported method DB.LogSize should have comment or be unexported (golint)
    • Line 80: warning: exported method DB.Seen should have comment or be unexported (golint)
    • Line 88: warning: exported method DB.Inception should have comment or be unexported (golint)
    • Line 100: warning: exported method DB.CurrentEvent should have comment or be unexported (golint)
    • Line 114: warning: exported method DB.CurrentEstablishmentEvent should have comment or be unexported (golint)
    • Line 134: warning: exported method DB.EventAt should have comment or be unexported (golint)
    • Line 147: warning: exported method DB.LogEvent should have comment or be unexported (golint)
    • Line 175: warning: exported method DB.StreamEstablisment should have comment or be unexported (golint)
    • Line 197: warning: exported method DB.Close should have comment or be unexported (golint)
    • Line 201: warning: comment on exported method DB.StreamAsFirstSeen should be of the form "StreamAsFirstSeen ..." (golint)
    • Line 221: warning: comment on exported method DB.StreamBySequenceNo should be of the form "StreamBySequenceNo ..." (golint)
    • Line 257: warning: exported method DB.LastAcceptedDigest should have comment or be unexported (golint)
    • Line 276: warning: exported method DB.EscrowOutOfOrderEvent should have comment or be unexported (golint)
    • Line 280: warning: exported method DB.EscrowLikelyDuplicitiousEvent should have comment or be unexported (golint)
    • Line 301: warning: exported method DB.EscrowPendingEvent should have comment or be unexported (golint)
    • Line 322: warning: exported method DB.RemovePendingEscrow should have comment or be unexported (golint)
    • Line 345: warning: exported method DB.StreamPending should have comment or be unexported (golint)
    • Line 367: warning: exported method DB.LogTransferableReceipt should have comment or be unexported (golint)
    • Line 384: warning: exported method DB.LogNonTransferableReceipt should have comment or be unexported (golint)
    • Line 401: warning: exported method DB.StreamTransferableReceipts should have comment or be unexported (golint)
    • kerigo/pkg/encoding/stream/reader.go
    • Line 18: warning: exported const FullVerSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported var Rever should have comment or be unexported (golint)
    • Line 27: warning: error var EOA should have name of the form ErrFoo (golint)
    • Line 30: warning: exported type Reader should have comment or be unexported (golint)
    • Line 34: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 105: warning: exported method Reader.ReadAll should have comment or be unexported (golint)
    • kerigo/pkg/derivation/code.go
    • Line 7: warning: exported type Code should have comment or be unexported (golint)
    • Line 177: warning: comment on exported method Code.PrefixBase64Length should be of the form "PrefixBase64Length ..." (golint)
    • Line 188: warning: comment on exported method Code.Name should be of the form "Name ..." (golint)
    • Line 200: warning: comment on exported method Code.SelfAddressing should be of the form "SelfAddressing ..." (golint)
    • kerigo/pkg/derivation/counter.go
    • Line 7: warning: exported type CountCode should have comment or be unexported (golint)
    • Line 10: warning: exported const ControllerSigCountCode should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported var CountCodes should have comment or be unexported (golint)
    • Line 55: warning: exported type CountOpt should have comment or be unexported (golint)
    • Line 57: warning: exported type Counter should have comment or be unexported (golint)
    • Line 63: warning: exported function NewSigCounter should have comment or be unexported (golint)
    • Line 79: warning: exported method Counter.Incr should have comment or be unexported (golint)
    • Line 84: warning: exported method Counter.IncrBy should have comment or be unexported (golint)
    • Line 101: warning: exported function WithCount should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/iterator.go
    • Line 9: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 15: warning: exported function NewIterator should have comment or be unexported (golint)
    • Line 24: warning: exported method Iterator.Next should have comment or be unexported (golint)
    • Line 36: warning: exported method Iterator.Value should have comment or be unexported (golint)
    • Line 50: warning: exported method Iterator.Close should have comment or be unexported (golint)
    • Line 54: warning: exported method Iterator.Key should have comment or be unexported (golint)
    • Line 62: warning: exported type SetIterator should have comment or be unexported (golint)
    • Line 70: warning: exported function NewSetIterator should have comment or be unexported (golint)
    • Line 82: warning: exported method SetIterator.Next should have comment or be unexported (golint)
    • Line 130: warning: exported method SetIterator.Value should have comment or be unexported (golint)
    • Line 137: warning: exported method SetIterator.Key should have comment or be unexported (golint)
    • Line 141: warning: exported method SetIterator.Close should have comment or be unexported (golint)
    • kerigo/pkg/derivation/ordinal.go
    • Line 11: warning: exported type Ordinal should have comment or be unexported (golint)
    • Line 15: warning: exported function NewOrdinal should have comment or be unexported (golint)
    • Line 19: warning: exported method Ordinal.Base64 should have comment or be unexported (golint)
    • Line 36: warning: exported method Ordinal.Num should have comment or be unexported (golint)
    • Line 40: warning: exported function ParseOrdinal should have comment or be unexported (golint)
    • kerigo/pkg/db/badger/set.go
    • Line 11: warning: exported type Set should have comment or be unexported (golint)
    • Line 17: warning: exported function NewSet should have comment or be unexported (golint)
    • Line 26: warning: exported method Set.Get should have comment or be unexported (golint)
    • Line 31: warning: exported method Set.Put should have comment or be unexported (golint)
    • Line 36: warning: exported method Set.Add should have comment or be unexported (golint)
    • Line 41: warning: exported method Set.Count should have comment or be unexported (golint)
    • Line 46: warning: exported method Set.Delete should have comment or be unexported (golint)
    • Line 51: warning: exported method Set.Iterator should have comment or be unexported (golint)
    • Line 56: warning: exported method Set.First should have comment or be unexported (golint)
    • Line 68: warning: exported method Set.Last should have comment or be unexported (golint)
    • kerigo/pkg/test/inception.go
    • Line 15: warning: exported function InceptionFromSecrets should have comment or be unexported (golint)
    • Line 79: warning: exported function Inception should have comment or be unexported (golint)
    • kerigo/pkg/encoding/stream/detect.go
    • Line 3: warning: exported type FrameType should have comment or be unexported (golint)
    • Line 6: warning: exported const FrameMask should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported var FrameTypePrefixes should have comment or be unexported (golint)
    • Line 47: warning: exported function DetectFrameType should have comment or be unexported (golint)
    • kerigo/pkg/event/attachment.go
    • Line 12: warning: exported type AttachmentParser should have comment or be unexported (golint)
    • Line 14: warning: exported type Attachment should have comment or be unexported (golint)
    • Line 22: warning: exported type Couplet should have comment or be unexported (golint)
    • Line 27: warning: exported type Quadlet should have comment or be unexported (golint)
    • Line 34: warning: exported function ParseAttachment should have comment or be unexported (golint)
    • Line 60: warning: exported function ParseAttached should have comment or be unexported (golint)
    • kerigo/pkg/event/message.go
    • Line 9: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 19: warning: exported type MessageOption should have comment or be unexported (golint)
    • Line 21: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 34: warning: exported function WithSignatures should have comment or be unexported (golint)
    • Line 41: warning: exported function WithTransferableReceipts should have comment or be unexported (golint)
    • Line 64: warning: exported function WithNonTransferableReceipts should have comment or be unexported (golint)
    • Line 81: warning: exported function WithWitnessReceipts should have comment or be unexported (golint)
    • kerigo/pkg/encoding/stream/serialize.go
    • Line 11: warning: exported type ReplayMode should have comment or be unexported (golint)
    • Line 14: warning: exported const DisjointMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function ToDisjoint should have comment or be unexported (golint)
    • Line 84: warning: exported function ToConjoint should have comment or be unexported (golint)
    • kerigo/pkg/event/main.go
    • Line 12: warning: exported type EventOption should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function WithSequence should be of the form "WithSequence ..." (golint)
    • Line 134: warning: exported function WithDefaultVersion should have comment or be unexported (golint)
    • Line 141: warning: exported function WithPrefix should have comment or be unexported (golint)
    • Line 148: warning: exported function WithSeals should have comment or be unexported (golint)
    • Line 248: warning: comment on exported function NewInteractionEvent should be of the form "NewInteractionEvent ..." (golint)
    • kerigo/pkg/event/receipt.go
    • Line 14: warning: exported type Receipt should have comment or be unexported (golint)
    • Line 30: warning: exported type ReceiptOpt should have comment or be unexported (golint)
    • Line 32: warning: exported function NewReceipt should have comment or be unexported (golint)
    • Line 62: warning: exported function WithEstablishmentEvent should have comment or be unexported (golint)
    • Line 78: warning: exported function WithEstablishmentSeal should have comment or be unexported (golint)
    • Line 89: warning: exported function WithQB64 should have comment or be unexported (golint)
    • Line 97: warning: exported function WithSignature should have comment or be unexported (golint)
    • Line 104: warning: exported function WithSignerPrefix should have comment or be unexported (golint)
    • Line 111: warning: exported method Receipt.Text should have comment or be unexported (golint)
    • Line 127: warning: exported method Receipt.Bin should have comment or be unexported (golint)
    • Line 146: warning: exported method Receipt.Message should have comment or be unexported (golint)
    • kerigo/pkg/event/sig-threshold.go
    • Line 14: warning: exported type SigThreshold should have comment or be unexported (golint)
    • Line 34: warning: exported method SigThreshold.UnmarshalJSON should have comment or be unexported (golint)
    • Line 178: warning: comment on exported method SigThreshold.Weighted should be of the form "Weighted ..." (golint)
    • Line 188: warning: comment on exported function NewSigThreshold should be of the form "NewSigThreshold ..." (golint)
    • kerigo/pkg/prefix/main.go
    • Line 7: warning: exported type Type should have comment or be unexported (golint)
    • Line 10: warning: exported const Basic should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: comment on exported type Trait should be of the form "Trait ..." (with optional leading article) (golint)
    • Line 20: warning: exported const EstablishmentOnly should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type Prefix should have comment or be unexported (golint)
    • Line 41: warning: exported function New should have comment or be unexported (golint)
    • Line 57: warning: exported function FromString should have comment or be unexported (golint)
    • kerigo/pkg/keri/keri.go
    • Line 21: warning: exported type Option should have comment or be unexported (golint)
    • Line 23: warning: exported type Keri should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 69: warning: exported method Keri.KEL should have comment or be unexported (golint)
    • Line 73: warning: exported method Keri.ProcessEvents should have comment or be unexported (golint)
    • Line 109: warning: exported method Keri.Prefix should have comment or be unexported (golint)
    • Line 113: warning: exported method Keri.Sign should have comment or be unexported (golint)
    • Line 117: warning: exported method Keri.Inception should have comment or be unexported (golint)
    • Line 126: warning: exported method Keri.Rotate should have comment or be unexported (golint)
    • Line 176: warning: exported method Keri.Interaction should have comment or be unexported (golint)
    • Line 215: warning: exported method Keri.FindConnection should have comment or be unexported (golint)
    • Line 223: warning: exported method Keri.WaitForReceipt should have comment or be unexported (golint)
    • Line 342: warning: exported method Keri.ProcessEvent should have comment or be unexported (golint)
    • Line 357: warning: exported method Keri.ProcessReceipt should have comment or be unexported (golint)
    • kerigo/pkg/keri/receipts.go
    • Line 11: warning: comment on exported type Receipts should be of the form "Receipts ..." (with optional leading article) (golint)
    • Line 26: warning: comment on exported method Receipts.RegisterRcptChan should be of the form "RegisterRcptChan ..." (golint)
    • Line 40: warning: comment on exported method Receipts.UnregisterRcptChan should be of the form "UnregisterRcptChan ..." (golint)
    • kerigo/pkg/log/main.go
    • Line 21: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method Log.EventAt should have comment or be unexported (golint)
    • Line 87: warning: exported method Log.Size should have comment or be unexported (golint)
    • Line 217: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 314: warning: exported method Log.ApplyReceipt should have comment or be unexported (golint)
    • Line 389: warning: exported method Log.ReceiptsForEvent should have comment or be unexported (golint)
    • kerigo/pkg/event/attached-receipt.go
    • Line 13: warning: exported function ParseAttachedCouplets should have comment or be unexported (golint)
    • Line 42: warning: exported function ParseAttachedCouplet should have comment or be unexported (golint)
    • Line 60: warning: exported function ParseAttachedQuadlets should have comment or be unexported (golint)
    • Line 89: warning: exported function ParseAttachedQuadlet should have comment or be unexported (golint)
    • kerigo/pkg/event/event.go
    • Line 18: warning: exported type ILK should have comment or be unexported (golint)
    • Line 21: warning: exported const ICP should have comment (or a comment on this block) or be unexported (golint)
    • Line 77: warning: exported type FORMAT should have comment or be unexported (golint)
    • Line 104: warning: exported type Event should have comment or be unexported (golint)
    • Line 131: warning: exported method Event.IsEstablishment should have comment or be unexported (golint)
    • Line 274: warning: exported method Event.GetDigest should have comment or be unexported (golint)
    • Line 329: warning: exported function Format should have comment or be unexported (golint)
    • Line 354: warning: exported function Deserialize should have comment or be unexported (golint)
    • Line 452: warning: exported function NextDigest should have comment or be unexported (golint)
    • Line 485: warning: exported function MarshalReceipt should have comment or be unexported (golint)
    • Line 500: warning: exported function UnmarshalReceipt should have comment or be unexported (golint)
    • kerigo/pkg/event/seal.go
    • Line 12: warning: exported type SealType should have comment or be unexported (golint)
    • Line 15: warning: exported const DigestSeal should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type SealOption should have comment or be unexported (golint)
    • Line 35: warning: exported function NewSeal should have comment or be unexported (golint)
    • Line 50: warning: exported function NewDigestSeal should have comment or be unexported (golint)
    • Line 54: warning: exported function NewRootSeal should have comment or be unexported (golint)
    • Line 58: warning: exported function NewEventSeal should have comment or be unexported (golint)
    • Line 62: warning: exported function SealEstablishment should have comment or be unexported (golint)
    • Line 81: warning: exported function NewEventLocationSeal should have comment or be unexported (golint)
    • Line 90: warning: exported function WithSealDigest should have comment or be unexported (golint)
    • Line 97: warning: exported function WithRoot should have comment or be unexported (golint)
    • Line 104: warning: exported function WithSealPrefix should have comment or be unexported (golint)
    • Line 111: warning: exported function WithSealEventType should have comment or be unexported (golint)
    • Line 118: warning: exported function WithSealSequence should have comment or be unexported (golint)
    • Line 125: warning: exported type SealArray should have comment or be unexported (golint)
    • Line 127: warning: exported method SealArray.UnmarshalJSON should have comment or be unexported (golint)
    • Line 157: warning: exported method SealArray.MarshalJSON should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign81%

IneffAssign detects ineffectual assignments in Go code.

    • kerigo/pkg/keri/keri_test.go
    • Line 72: warning: ineffectual assignment to err (ineffassign)
    • Line 76: warning: ineffectual assignment to err (ineffassign)
    • Line 79: warning: ineffectual assignment to msgsToBob (ineffassign)
    • Line 117: warning: ineffectual assignment to err (ineffassign)
    • Line 127: warning: ineffectual assignment to err (ineffassign)
    • Line 130: warning: ineffectual assignment to msgsToBob (ineffassign)
    • Line 152: warning: ineffectual assignment to err (ineffassign)
    • kerigo/pkg/db/badger/badger_test.go
    • Line 47: warning: ineffectual assignment to err (ineffassign)
    • Line 631: warning: ineffectual assignment to expectedDig (ineffassign)
    • Line 633: warning: ineffectual assignment to actualDig (ineffassign)
    • Line 639: warning: ineffectual assignment to expectedDig (ineffassign)
    • Line 641: warning: ineffectual assignment to actualDig (ineffassign)
    • Line 674: warning: ineffectual assignment to err (ineffassign)
    • Line 748: warning: ineffectual assignment to err (ineffassign)

misspell94%

Misspell Finds commonly misspelled English words

    • kerigo/pkg/event/main.go
    • Line 36: warning: "adressing" is a misspelling of "addressing" (misspell)
    • Line 184: warning: "incpetion" is a misspelling of "inception" (misspell)
    • Line 206: warning: "incpetion" is a misspelling of "inception" (misspell)
    • Line 248: warning: "incpetion" is a misspelling of "inception" (misspell)