zpbappi/angular-autowrap

View on GitHub

Showing 4 of 15 total issues

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

                init: function(scope, element, attrs, formCtrl, modelCtrl){
                    // set custom object properties
                    var injectedCustomProperties = {};
                    ng.forEach(attrs, function(val, key){
                        if(customPropertyHelper.isCustomProperty(key)){
Severity: Major
Found in src/linker.js - About 2 hrs to fix

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

    module.exports = function(config) {
      config.set({
    
        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '',
    Severity: Minor
    Found in karma.conf.js - About 1 hr to fix

      Function setWatch has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                      setWatch: function(scope, controller, elementName, propertyToWatch, scopeProperty, additionalCallback, callbackContext){
      Severity: Major
      Found in src/linker-helper.js - About 50 mins to fix

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

                        init: function(scope, element, attrs, formCtrl, modelCtrl){
        Severity: Minor
        Found in src/linker.js - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language