opsforgeio/cabot

View on GitHub

Showing 840 of 1,637 total issues

File jquery-ui.js has 11714 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
(function( $, undefined ) {
Severity: Major
Found in cabot/static/theme/js/jquery-ui.js - About 1 mo to fix

    File d3.js has 9264 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    !function() {
      var d3 = {
        version: "3.4.1"
      };
      if (!Date.now) Date.now = function() {
    Severity: Major
    Found in cabot/static/arachnys/js/d3.js - About 3 wks to fix

      Function DataTable has 4212 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        var DataTable = function( oInit )
        {
      
      
          /**
      Severity: Major
      Found in cabot/static/theme/js/jquery.dataTables.min.js - About 3 wks to fix

        File jquery-1.10.2.js has 6641 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*!
         * jQuery JavaScript Library v1.10.2
         * http://jquery.com/
         *
         * Includes Sizzle.js
        Severity: Major
        Found in cabot/static/bootstrap/js/jquery-1.10.2.js - About 2 wks to fix

          File raphael.js has 5493 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          // ┌────────────────────────────────────────────────────────────────────┐ \\
          // │ Raphaël 2.1.0 - JavaScript Vector Library                          │ \\
          // ├────────────────────────────────────────────────────────────────────┤ \\
          // │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com)    │ \\
          // │ Copyright © 2008-2012 Sencha Labs (http://sencha.com)              │ \\
          Severity: Major
          Found in cabot/static/arachnys/js/raphael.js - About 2 wks to fix

            File jquery.dataTables.min.js has 4999 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /**
             * @summary     DataTables
             * @description Paginate, search and sort HTML tables
             * @version     1.9.4
             * @file        jquery.dataTables.js
            Severity: Major
            Found in cabot/static/theme/js/jquery.dataTables.min.js - About 2 wks to fix

              File rickshaw.js has 2941 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /* jshint -W079 */
              
              var Rickshaw = {
              
                namespace: function(namespace, obj) {
              Severity: Major
              Found in cabot/static/arachnys/js/rickshaw.js - About 1 wk to fix

                File jquery.sparkline.min.js has 2443 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /**
                *
                * jquery.sparkline.js
                *
                * v2.1.2
                Severity: Major
                Found in cabot/static/theme/js/jquery.sparkline.min.js - About 6 days to fix

                  File morris.js has 1622 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  (function() {
                    var $, Morris, minutesSpecHelper, secondsSpecHelper,
                      __slice = [].slice,
                      __hasProp = {}.hasOwnProperty,
                      __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
                  Severity: Major
                  Found in cabot/static/arachnys/js/morris.js - About 4 days to fix

                    File bootstrap.js has 1413 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /* ===================================================
                     * bootstrap-transition.js v2.2.1
                     * http://twitter.github.com/bootstrap/javascript.html#transitions
                     * ===================================================
                     * Copyright 2012 Twitter, Inc.
                    Severity: Major
                    Found in cabot/static/theme/js/bootstrap.js - About 3 days to fix

                      File bootstrap.js has 1189 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /* ========================================================================
                       * Bootstrap: alert.js v3.0.3
                       * http://getbootstrap.com/javascript/#alerts
                       * ========================================================================
                       * Copyright 2013 Twitter, Inc.
                      Severity: Major
                      Found in cabot/static/bootstrap/js/bootstrap.js - About 3 days to fix

                        File chosen.jquery.js has 1042 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        // Chosen, a Select Box Enhancer for jQuery and Prototype
                        // by Patrick Filler for Harvest, http://getharvest.com
                        //
                        // Version 1.0.0
                        // Full source at https://github.com/harvesthq/chosen
                        Severity: Major
                        Found in cabot/static/theme/js/chosen.jquery.js - About 2 days to fix

                          Function Grid has 422 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            Morris.Grid = (function(_super) {
                          
                              __extends(Grid, _super);
                          
                              function Grid(options) {
                          Severity: Major
                          Found in cabot/static/arachnys/js/morris.js - About 2 days to fix

                            File models.py has 816 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            import itertools
                            import json
                            import re
                            import subprocess
                            import time
                            Severity: Major
                            Found in cabot/cabotapp/models.py - About 1 day to fix

                              Function Line has 383 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                Morris.Line = (function(_super) {
                              
                                  __extends(Line, _super);
                              
                                  function Line(options) {
                              Severity: Major
                              Found in cabot/static/arachnys/js/morris.js - About 1 day to fix

                                File views.py has 639 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                import json
                                import re
                                from datetime import datetime, timedelta, date
                                from itertools import groupby, dropwhile, izip_longest
                                
                                
                                Severity: Major
                                Found in cabot/cabotapp/views.py - About 1 day to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                          if (params.opacity != null ||
                                              params["stroke-width"] != null ||
                                              params.fill != null ||
                                              params.src != null ||
                                              params.stroke != null ||
                                  Severity: Critical
                                  Found in cabot/static/arachnys/js/raphael.js - About 1 day to fix

                                    Function brush has 277 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      d3.svg.brush = function() {
                                        var event = d3_eventDispatch(brush, "brushstart", "brush", "brushend"), x = null, y = null, xExtent = [ 0, 0 ], yExtent = [ 0, 0 ], xExtentDomain, yExtentDomain, xClamp = true, yClamp = true, resizes = d3_svg_brushResizes[0];
                                        function brush(g) {
                                          g.each(function() {
                                            var g = d3.select(this).style("pointer-events", "all").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)").on("mousedown.brush", brushstart).on("touchstart.brush", brushstart);
                                    Severity: Major
                                    Found in cabot/static/arachnys/js/d3.js - About 1 day to fix

                                      Function zoom has 248 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        d3.behavior.zoom = function() {
                                          var view = {
                                            x: 0,
                                            y: 0,
                                            k: 1
                                      Severity: Major
                                      Found in cabot/static/arachnys/js/d3.js - About 1 day to fix

                                        Function setFillAndStroke has 243 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            setFillAndStroke = function (o, params) {
                                                var node = o.node,
                                                    attrs = o.attrs,
                                                    vis = node.style.visibility;
                                                node.style.visibility = "hidden";
                                        Severity: Major
                                        Found in cabot/static/arachnys/js/raphael.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language