status-im/status-go

View on GitHub
protocol/common/message_sender.go

Summary

Maintainability
C
1 day
Test Coverage
C
76%

MessageSender has 37 methods (exceeds 21 allowed). Consider refactoring.
Open

type MessageSender struct {
    identity    *ecdsa.PrivateKey
    datasync    *datasync.DataSync
    database    *sql.DB
    protocol    *encryption.Protocol
Severity: Minor
Found in protocol/common/message_sender.go - About 4 hrs to fix

    File message_sender.go has 1007 lines of code (exceeds 900 allowed). Consider refactoring.
    Open

    package common
    
    import (
        "context"
        "crypto/ecdsa"
    Severity: Major
    Found in protocol/common/message_sender.go - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status