patternfly/angular-patternfly

View on GitHub
Gruntfile.js

Summary

Maintainability
F
6 days
Test Coverage

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

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

  var nodeSass = require('node-sass');
  require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
Severity: Major
Found in Gruntfile.js - About 2 days to fix

    Function init has 491 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function init () {
    
        // '--sass' command line argument exists?
        var sassBuild = grunt.option('sass');
    
    
    Severity: Major
    Found in Gruntfile.js - About 2 days to fix

      File Gruntfile.js has 499 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      module.exports = function (grunt) {
        'use strict';
      
        var nodeSass = require('node-sass');
        require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
      Severity: Minor
      Found in Gruntfile.js - About 1 day to fix

        Function replacement has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                        replacement: function(match, p1, p2, p3, p4) {
        Severity: Minor
        Found in Gruntfile.js - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status