status-im/status-go

View on GitHub
services/wallet/transfer/commands_sequential_test.go

Summary

Maintainability
F
3 days
Test Coverage

File commands_sequential_test.go has 1595 lines of code (exceeds 900 allowed). Consider refactoring.
Open

package transfer

import (
    "context"
    "fmt"
Severity: Major
Found in services/wallet/transfer/commands_sequential_test.go - About 2 days to fix

    TestClient has 52 methods (exceeds 21 allowed). Consider refactoring.
    Open

    type TestClient struct {
        t *testing.T
        // [][block, newBalance, nonceDiff]
        balances                       map[common.Address][][]int
        outgoingERC20Transfers         map[common.Address][]testERC20Transfer
    Severity: Major
    Found in services/wallet/transfer/commands_sequential_test.go - About 7 hrs to fix

      There are no issues that match your filters.

      Category
      Status