Showing 6 of 12 total issues
Function exports
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(karma) {
'use strict';
var
env = process.env,
Function exports
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-modernizr');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-docular');
File SecretaryProblemCtrl.js
has 307 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*global angular:true, browser:true */
(function (angular) {
'use strict';
Function generateItemValue
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.generateItemValue = function (index) {
var game = $scope.game;
var items = game.items;
var numDigits = game.numDigitsThis;
var willBeMax;
Function automaticGame
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.automaticGame = function (n, numberOfGames) {
var game = $scope.game;
var strategy;
var itemIndex;
var gameIndex;
Function exports
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(karma) {
karma.set({
// base path, that will be used to resolve files and exclude
basePath: '.',