timgabets/electron-atm

View on GitHub
src/services/cards.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getPaymentScheme has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  getPaymentScheme(cardnumber){
    if(cardnumber[0] === '4')
      return 'VISA';

    switch(cardnumber.substr(0, 2)){
Severity: Minor
Found in src/services/cards.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status