Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Erp.Web/Content/js/nprogress/nprogress.js

Summary

Maintainability
B
5 hrs
Test Coverage

File nprogress.js has 270 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
 * @license MIT */

;(function(root, factory) {

Severity: Minor
Found in Slack.Automation/Promact.Erp.Web/Content/js/nprogress/nprogress.js - About 2 hrs to fix

    Function css has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var css = (function() {
        var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
            cssProps    = {};
    
        function camelCase(string) {
    Severity: Minor
    Found in Slack.Automation/Promact.Erp.Web/Content/js/nprogress/nprogress.js - About 1 hr to fix

      Function set has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        NProgress.set = function(n) {
          var started = NProgress.isStarted();
      
          n = clamp(n, Settings.minimum, 1);
          NProgress.status = (n === 1 ? null : n);
      Severity: Minor
      Found in Slack.Automation/Promact.Erp.Web/Content/js/nprogress/nprogress.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status