department-of-veterans-affairs/vets-website

View on GitHub
src/applications/edu-benefits/pages/directDepositChangeUpdate.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function createDirectDepositPage has 73 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function createDirectDepositPage(schema) {
  const { bankAccountChangeUpdate, bankAccount } = schema.definitions;

  return {
    title: 'Direct deposit',
Severity: Major
Found in src/applications/edu-benefits/pages/directDepositChangeUpdate.js - About 2 hrs to fix

    Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      errors,
      routingNumber,
      formData,
      schema,
      errorMessages,
    Severity: Minor
    Found in src/applications/edu-benefits/pages/directDepositChangeUpdate.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status