bob-gray/solv

View on GitHub
Gruntfile.js

Summary

Maintainability
B
6 hrs
Test Coverage

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 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

There are no issues that match your filters.

Category
Status