javiercejudo/javiercejudo.com

View on GitHub

Showing 6 of 12 total issues

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

module.exports = function(karma) {
  'use strict';

  var
    env = process.env,
Severity: Major
Found in karma.conf.js - About 4 hrs to fix

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

    module.exports = function(grunt) {
      grunt.loadNpmTasks('grunt-modernizr');
      grunt.loadNpmTasks('grunt-karma');
      grunt.loadNpmTasks('grunt-docular');
    
    
    Severity: Major
    Found in Gruntfile.js - About 3 hrs to fix

      File SecretaryProblemCtrl.js has 307 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*global angular:true, browser:true */
      
      (function (angular) {
        'use strict';
      
      
      Severity: Minor
      Found in js/controllers/SecretaryProblemCtrl.js - About 3 hrs to fix

        Function generateItemValue has 45 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                  $scope.generateItemValue = function (index) {
                    var game = $scope.game;
                    var items = game.items;
                    var numDigits = game.numDigitsThis;
                    var willBeMax;
        Severity: Minor
        Found in js/controllers/SecretaryProblemCtrl.js - About 1 hr to fix

          Function automaticGame has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                    $scope.automaticGame = function (n, numberOfGames) {
                      var game = $scope.game;
                      var strategy;
                      var itemIndex;
                      var gameIndex;
          Severity: Minor
          Found in js/controllers/SecretaryProblemCtrl.js - About 1 hr to fix

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

            module.exports = function(karma) {
              karma.set({
                // base path, that will be used to resolve files and exclude
                basePath: '.',
            
            
            Severity: Minor
            Found in karma-e2e.conf.js - About 1 hr to fix
              Severity
              Category
              Status
              Source
              Language