Showing 7 of 22 total issues
Function exports
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
eslint: {
- Create a ticketCreate a ticket
Function run
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.run = function (map, callback, Heap) {
var distance = {};
var queue = new Heap();
var queueNodes = {};
var queuedPaints = [];
- Create a ticketCreate a ticket
Function run
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.run = function (map, callback) {
var i;
var closedList = [];
var openList = [];
var start = map.start;
- Create a ticketCreate a ticket
Function run
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.run = function (map, callback, Heap, convertHeapToList) {
var closedList = {};
var openHash = {};
var openList = new Heap();
var start = map.start;
- Create a ticketCreate a ticket
Function paintNodes
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function paintNodes(queuedPaints, goalNode, openList, getSpeed) {
if (!queuedPaints.length) {
return;
}
var paint = queuedPaints.shift();
- Create a ticketCreate a ticket
Function addNodesToOpenList
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function addNodesToOpenList(nodes, openList, openHash, closedList, goal, queuedPaints) {
- Create a ticketCreate a ticket
Function addNodesToOpenList
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function addNodesToOpenList(nodes, goal, openList, closedList, queuedPaints) {
- Create a ticketCreate a ticket