bob-gray/solv

View on GitHub

Showing 5 of 76 total issues

File engine.js has 438 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* istanbul ignore if */
if (typeof define !== "function") {
    var define = require("amdefine")(module);
}

Severity: Minor
Found in src/event/engine.js - About 6 hrs to fix

File bundle.js has 407 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* istanbul ignore if */
if (typeof define !== "function") {
    var define = require("amdefine")(module);
}

Severity: Minor
Found in src/util/bundle.js - About 5 hrs to fix

Function configureTasks has 138 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function configureTasks (grunt) {
    var pkg = grunt.file.readJSON("package.json");

    pkg.versionMajorMinor = pkg.version.replace(/^(\d+\.\d+).*$/, "$1");

Severity: Major
Found in Gruntfile.js - About 5 hrs to fix

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

module.exports = function (config) {
    "use strict";

    config.set({
        files: [{
Severity: Major
Found in karma.conf.js - About 2 hrs to fix

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

function registerTasks (grunt) {
    grunt.registerTask("default", [
        "lint",
        "complexity",
        "test"
Severity: Minor
Found in Gruntfile.js - About 1 hr to fix
Severity
Category
Status
Source
Language