AugurProject/augur-ui

View on GitHub
src/modules/markets/helpers/insufficient-funds.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function insufficientFunds has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function insufficientFunds(
  validityBond,
  gasCost,
  designatedReportNoShowReputationBond,
  availableEth,
Severity: Minor
Found in src/modules/markets/helpers/insufficient-funds.js - About 1 hr to fix

    Function insufficientFunds has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      validityBond,
      gasCost,
      designatedReportNoShowReputationBond,
      availableEth,
      availableRep,
    Severity: Major
    Found in src/modules/markets/helpers/insufficient-funds.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status