pcko1/bscscan-python

View on GitHub
bscscan/modules/accounts.py

Summary

Maintainability
A
0 mins
Test Coverage

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

from functools import reduce
from typing import List

from bscscan.enums.actions_enum import ActionsEnum as actions
from bscscan.enums.fields_enum import FieldsEnum as fields
Severity: Major
Found in bscscan/modules/accounts.py - About 2 days 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 bscscan/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 bscscan/modules/accounts.py - About 45 mins to fix

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

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

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

              def get_bep721_token_transfer_events_by_address_and_contract_paginated(
          Severity: Minor
          Found in bscscan/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 bscscan/modules/accounts.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status