sgmap/ludwig-ui

View on GitHub

Showing 3 of 14 total issues

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

module.exports = function (grunt) {

  // Load grunt tasks automatically
  require('load-grunt-tasks')(grunt);

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

    Function controller has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            controller: function($scope) {
                $scope.showTags = true;
    
                $scope.addKeyword = function(keyword) {
                    var newKeyword;
    Severity: Minor
    Found in app/scripts/directives/keyword.js - About 1 hr to fix

      Function rejectTest has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          $scope.rejectTest = function(test) {
              var modalInstance = $modal.open({
                  templateUrl: 'views/modal.html',
                  resolve: {
                      comment: function() {
      Severity: Minor
      Found in app/scripts/controllers/list.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language