mgcrea/angular-strap

View on GitHub
src/helpers/date-parser.js

Summary

Maintainability
D
2 days
Test Coverage

Function $get has 201 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  this.$get = function ($locale, dateFilter) {

    var DateParserFactory = function (config) {

      var options = angular.extend({}, defaults, config);
Severity: Major
Found in src/helpers/date-parser.js - About 1 day to fix

Function DateParserFactory has 198 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var DateParserFactory = function (config) {

      var options = angular.extend({}, defaults, config);

      var $dateParser = {};
Severity: Major
Found in src/helpers/date-parser.js - About 7 hrs to fix

File date-parser.js has 255 lines of code (exceeds 250 allowed). Consider refactoring.
Open

'use strict';

angular.module('mgcrea.ngStrap.helpers.dateParser', [])

.provider('$dateParser', function ($localeProvider) {
Severity: Minor
Found in src/helpers/date-parser.js - About 2 hrs to fix

There are no issues that match your filters.

Category
Status