3den/riotjs-todomvc

View on GitHub
bower_components/todomvc-common/base.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function _ has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var _ = (function (_) {
        _.defaults = function (object) {
            if (!object) {
                return object;
            }
Severity: Major
Found in bower_components/todomvc-common/base.js - About 3 hrs to fix

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

            _.template = function(text, data, settings) {
                var render;
                settings = _.defaults({}, settings, _.templateSettings);
    
                // Combine delimiters into one regular expression via alternation.
    Severity: Minor
    Found in bower_components/todomvc-common/base.js - About 1 hr to fix

      Function Learn has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function Learn(learnJSON, config) {
              if (!(this instanceof Learn)) {
                  return new Learn(learnJSON, config);
              }
      
      
      Severity: Minor
      Found in bower_components/todomvc-common/base.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status