stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Function filter has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Sizzle.filter = function( expr, set, inplace, not ) {
    var match, anyFound,
        old = expr,
        result = [],
        curLoop = set,
Severity: Major
Found in public/lib/jquery.js - About 2 hrs to fix

    Function attr has 67 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        attr: function( elem, name, value, pass ) {
            // don't get/set attributes on text, comment and attribute nodes
            if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || elem.nodeType === 2 ) {
                return undefined;
            }
    Severity: Major
    Found in public/lib/jquery.js - About 2 hrs to fix

      Function _doKeyDown has 67 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _doKeyDown: function(event) {
              var inst = $.datepicker._getInst(event.target);
              var handled = true;
              var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
              inst._keyEvent = true;
      Severity: Major
      Found in public/lib/jquery-ui.js - About 2 hrs to fix

        Function _open has 67 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _open: function( event, target, content ) {
                var tooltip, events, delayedShow,
                    positionOption = $.extend( {}, this.options.position );
        
                if ( !content ) {
        Severity: Major
        Found in public/lib/jquery-ui.js - About 2 hrs to fix

          Function _Deferred has 65 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _Deferred: function() {
                  var // callbacks list
                      callbacks = [],
                      // stored [ context , args ]
                      fired,
          Severity: Major
          Found in public/lib/jquery.js - About 2 hrs to fix

            Function plotLine has 64 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                        function plotLine(datapoints, xoffset, yoffset, axisx, axisy) {
                            var points = datapoints.points,
                                ps = datapoints.pointsize,
                                prevx = null, prevy = null;
                            
            Severity: Major
            Found in public/lib/jquery.flot.js - About 2 hrs to fix

              Function bounce has 64 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.effects.effect.bounce = function( o, done ) {
                  var el = $( this ),
                      props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
              
                      // defaults:
              Severity: Major
              Found in public/lib/jquery-ui.js - About 2 hrs to fix

                Function _showDatepicker has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _showDatepicker: function(input) {
                        input = input.target || input;
                        if (input.nodeName.toLowerCase() != 'input') // find from button/image trigger
                            input = $('input', input.parentNode)[0];
                        if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here
                Severity: Major
                Found in public/lib/jquery-ui.js - About 2 hrs to fix

                  Function findNearbyItem has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          function findNearbyItem(mouseX, mouseY, seriesFilter) {
                              var maxDistance = options.grid.mouseActiveRadius,
                                  smallestDistance = maxDistance * maxDistance + 1,
                                  item = null, foundPoint = false, i, j;
                  
                  
                  Severity: Major
                  Found in public/lib/jquery.flot.js - About 2 hrs to fix

                    Function init has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        init: function( selector, context, rootjQuery ) {
                            var match, elem, ret, doc;
                    
                            // Handle $(""), $(null), or $(undefined)
                            if ( !selector ) {
                    Severity: Major
                    Found in public/lib/jquery.js - About 2 hrs to fix

                      Function clean has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          clean: function( elems, context, fragment, scripts ) {
                              context = context || document;
                      
                              // !context.createElement fails in IE with an error but returns typeof 'object'
                              if ( typeof context.createElement === "undefined" ) {
                      Severity: Major
                      Found in public/lib/jquery.js - About 2 hrs to fix

                        Function _mouseStart has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _mouseStart: function(event, overrideHandle, noActivation) {
                        
                                var o = this.options;
                                this.currentContainer = this;
                        
                        
                        Severity: Major
                        Found in public/lib/jquery-ui.js - About 2 hrs to fix

                          Function _create has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _create: function() {
                                  var that = this,
                                      options = this.options,
                                      active = options.active,
                                      locationHash = location.hash.substring( 1 );
                          Severity: Major
                          Found in public/lib/jquery-ui.js - About 2 hrs to fix

                            Function drag has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                drag: function(event, ui) {
                            
                                    var inst = $(this).data("draggable"), that = this;
                            
                                    var checkPos = function(o) {
                            Severity: Major
                            Found in public/lib/jquery-ui.js - About 2 hrs to fix

                              Function insertLegend has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      function insertLegend() {
                                          placeholder.find(".legend").remove();
                              
                                          if (!options.legend.show)
                                              return;
                              Severity: Major
                              Found in public/lib/jquery.flot.js - About 2 hrs to fix

                                Function explode has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                $.effects.effect.explode = function( o, done ) {
                                
                                    var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
                                        cells = rows,
                                        el = $( this ),
                                Severity: Major
                                Found in public/lib/jquery-ui.js - About 2 hrs to fix

                                  Function liveHandler has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function liveHandler( event ) {
                                      var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret,
                                          elems = [],
                                          selectors = [],
                                          events = jQuery._data( this, "events" );
                                  Severity: Major
                                  Found in public/lib/jquery.js - About 2 hrs to fix

                                    Function ajaxConvert has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function ajaxConvert( s, response ) {
                                    
                                        // Apply the dataFilter if provided
                                        if ( s.dataFilter ) {
                                            response = s.dataFilter( response, s.dataType );
                                    Severity: Major
                                    Found in public/lib/jquery.js - About 2 hrs to fix

                                      Function keydown has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                  keydown: function( event ) {
                                                      var allowed, curVal, newVal, step,
                                                          index = $( event.target ).data( "ui-slider-handle-index" );
                                      
                                                      switch ( event.keyCode ) {
                                      Severity: Major
                                      Found in public/lib/jquery-ui.js - About 2 hrs to fix

                                        Function fillInSeriesOptions has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                function fillInSeriesOptions() {
                                                    var i;
                                                    
                                                    // collect what we already got of colors
                                                    var neededColors = series.length,
                                        Severity: Major
                                        Found in public/lib/jquery.flot.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language