kelsin/coretheloothound

View on GitHub
app/helpers/character-race.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function characterRace has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function characterRace(race_id) {
  var faction = function(race_id) {
    switch(parseInt(race_id)) {
    case 1:
    case 3:
Severity: Major
Found in app/helpers/character-race.js - About 2 hrs to fix

    Function faction has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var faction = function(race_id) {
        switch(parseInt(race_id)) {
        case 1:
        case 3:
        case 4:
    Severity: Minor
    Found in app/helpers/character-race.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status