terranodo/angular-search

View on GitHub
app/service/numberService.js

Summary

Maintainability
A
1 hr
Test Coverage

Function compactInteger has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        function compactInteger(input, decimals) {
            decimals = decimals || 0;
            decimals = Math.max(decimals, 0);
            var number = parseInt(input, 10);
            var signString = number < 0 ? '-' : '';
Severity: Minor
Found in app/service/numberService.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status