pcko1/etherscan-python

View on GitHub
etherscan/modules/accounts.py

Summary

Maintainability
A
0 mins
Test Coverage

File accounts.py has 300 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

from functools import reduce
from typing import List

from etherscan.enums.actions_enum import ActionsEnum as actions
from etherscan.enums.fields_enum import FieldsEnum as fields
Severity: Minor
Found in etherscan/modules/accounts.py - About 3 hrs to fix

    Function get_normal_txs_by_address_paginated has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

        def get_normal_txs_by_address_paginated(
    Severity: Minor
    Found in etherscan/modules/accounts.py - About 45 mins to fix

      Function get_internal_txs_by_address_paginated has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Wontfix

          def get_internal_txs_by_address_paginated(
      Severity: Minor
      Found in etherscan/modules/accounts.py - About 45 mins to fix

        Function get_erc721_token_transfer_events_by_address_and_contract_paginated has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Wontfix

            def get_erc721_token_transfer_events_by_address_and_contract_paginated(
        Severity: Minor
        Found in etherscan/modules/accounts.py - About 35 mins to fix

          Function get_internal_txs_by_block_range_paginated has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Wontfix

              def get_internal_txs_by_block_range_paginated(
          Severity: Minor
          Found in etherscan/modules/accounts.py - About 35 mins to fix

            Function get_erc20_token_transfer_events_by_address_and_contract_paginated has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Wontfix

                def get_erc20_token_transfer_events_by_address_and_contract_paginated(
            Severity: Minor
            Found in etherscan/modules/accounts.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status