epeschier/angular-numeric-directive

View on GitHub

Showing 2 of 4 total issues

Function parseViewValue has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            function parseViewValue(value) {
                if (angular.isUndefined(value)) {
                    value = '';
                }
                value = (""+value).replace(decimalSeparator, '.');
Severity: Minor
Found in src/numeric-directive.js - About 1 hr to fix

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

                function minmaxValidator(value, testValue, validityName, limit, compareFunction) {
    Severity: Minor
    Found in src/numeric-directive.js - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language