JohnMunsch/ClearAndDraw

View on GitHub

Showing 10 of 273 total issues

File Dicemasters.js has 4585 lines of code (exceeds 250 allowed). Consider refactoring.
Open

var dicemastersCardData = [
  {
    id: 1,
    dieId: 1,
    setAbbr: "AVX",
Severity: Major
Found in app/scripts/Dicemasters.js - About 1 wk to fix

    Function exports has 282 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function (grunt) {
    
      // Load grunt tasks automatically
      require('load-grunt-tasks')(grunt);
    
    
    Severity: Major
    Found in Gruntfile.js - About 1 day to fix

      File Gruntfile.js has 285 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // Generated on 2014-05-13 using generator-angular 0.8.0
      'use strict';
      
      // # Globbing
      // for performance reasons we're only matching one level down:
      Severity: Minor
      Found in Gruntfile.js - About 2 hrs to fix

        Function filteredCards has 47 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

              this.filteredCards = function (cardList, team) {
                var setsList = _.compact(this.sets);
                var affiliationsList = _.compact(this.affiliations);
                var costsList = _.compact(_.map(this.costs, function (cost) { return parseInt(cost); }));
                var typesList = _.compact(this.types);
        Severity: Minor
        Found in app/scripts/data.service.js - About 1 hr to fix

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

          module.exports = function (shipit) {
            require('shipit-deploy')(shipit);
          
            shipit.initConfig({
              default: {
          Severity: Minor
          Found in shipitfile.js - About 1 hr to fix

            Avoid too many return statements within this function.
            Open

                          return false;
            Severity: Major
            Found in app/scripts/data.service.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                            return false;
              Severity: Major
              Found in app/scripts/data.service.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                              return false;
                Severity: Major
                Found in app/scripts/data.service.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                return false;
                  Severity: Major
                  Found in app/scripts/data.service.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                              return true;
                    Severity: Major
                    Found in app/scripts/data.service.js - About 30 mins to fix
                      Severity
                      Category
                      Status
                      Source
                      Language