msieurtoph/angular-checkboxes

View on GitHub

Showing 3 of 3 total issues

Function exports has 63 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 2 hrs to fix

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

            controller: ['$parse', '$attrs', '$scope', function($parse, $attrs, $scope){
                var getter = $parse($attrs.mtTo),
                    setter = getter.assign,
                    _this = this
                ;
    Severity: Minor
    Found in angular-checkboxes.js - About 1 hr to fix

      Function pre has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  pre: function(scope, element, attrs, ctrls){
      
                      var ctrl = ctrls[0],
                          destCtrl = ctrls[1],
                          ngModelCtrl = ctrls[2]
      Severity: Minor
      Found in angular-checkboxes.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language