stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Function _determineDate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _determineDate: function(inst, date, defaultDate) {
        var offsetNumeric = function(offset) {
            var date = new Date();
            date.setDate(date.getDate() + offset);
            return date;
Severity: Minor
Found in public/lib/jquery-ui.js - About 1 hr to fix

    Function _toggle has 48 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _toggle: function( event, eventData ) {
            var that = this,
                toShow = eventData.newPanel,
                toHide = eventData.oldPanel;
    
    
    Severity: Minor
    Found in public/lib/jquery-ui.js - About 1 hr to fix

      Function measureTickLabels has 47 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              function measureTickLabels(axis) {
                  var opts = axis.options, i, ticks = axis.ticks || [], labels = [],
                      l, w = opts.labelWidth, h = opts.labelHeight, dummyDiv;
      
                  function makeDummyDiv(labels, width) {
      Severity: Minor
      Found in public/lib/jquery.flot.js - About 1 hr to fix

        Function scale has 47 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        $.effects.effect.scale = function( o, done ) {
        
            // Create element
            var el = $( this ),
                options = $.extend( true, {}, o ),
        Severity: Minor
        Found in public/lib/jquery-ui.js - About 1 hr to fix

          Function domManip has 46 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              domManip: function( args, table, callback ) {
                  var results, first, fragment, parent,
                      value = args[0],
                      scripts = [];
          
          
          Severity: Minor
          Found in public/lib/jquery.js - About 1 hr to fix

            Function ajaxHandleResponses has 46 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function ajaxHandleResponses( s, jqXHR, responses ) {
            
                var contents = s.contents,
                    dataTypes = s.dataTypes,
                    responseFields = s.responseFields,
            Severity: Minor
            Found in public/lib/jquery.js - About 1 hr to fix

              Function _setOption has 46 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _setOption: function( key, value ) {
                      var i,
                          valsLength = 0;
              
                      if ( $.isArray( this.options.values ) ) {
              Severity: Minor
              Found in public/lib/jquery-ui.js - About 1 hr to fix

                Function fold has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.effects.effect.fold = function( o, done ) {
                
                    // Create element
                    var el = $( this ),
                        props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                Severity: Minor
                Found in public/lib/jquery-ui.js - About 1 hr to fix

                  Function CHILD has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          CHILD: function( elem, match ) {
                              var type = match[1],
                                  node = elem;
                  
                              switch ( type ) {
                  Severity: Minor
                  Found in public/lib/jquery.js - About 1 hr to fix

                    Function removeData has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                            if ( !jQuery.acceptData( elem ) ) {
                                return;
                            }
                    
                    
                    Severity: Minor
                    Found in public/lib/jquery.js - About 1 hr to fix

                      Function closest has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          closest: function( selectors, context ) {
                              var ret = [], i, l, cur = this[0];
                      
                              if ( jQuery.isArray( selectors ) ) {
                                  var match, selector,
                      Severity: Minor
                      Found in public/lib/jquery.js - About 1 hr to fix

                        Function _tabKeydown has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _tabKeydown: function( event ) {
                                var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
                                    selectedIndex = this.tabs.index( focusedTab ),
                                    goingForward = true;
                        
                        
                        Severity: Minor
                        Found in public/lib/jquery-ui.js - About 1 hr to fix

                          Function data has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                  if ( !jQuery.acceptData( elem ) ) {
                                      return;
                                  }
                          
                          
                          Severity: Minor
                          Found in public/lib/jquery.js - About 1 hr to fix

                            Function load has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                load: function( url, params, callback ) {
                                    if ( typeof url !== "string" && _load ) {
                                        return _load.apply( this, arguments );
                            
                                    // Don't do a request if no elements are being requested
                            Severity: Minor
                            Found in public/lib/jquery.js - About 1 hr to fix

                              Function effect has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  effect: function( /* effect, options, speed, callback */ ) {
                                      var args = _normalizeArguments.apply( this, arguments ),
                                          mode = args.mode,
                                          queue = args.queue,
                                          effectMethod = $.effects.effect[ args.effect ],
                              Severity: Minor
                              Found in public/lib/jquery-ui.js - About 1 hr to fix

                                Function _generatePosition has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _generatePosition: function(event) {
                                
                                        var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
                                        var pageX = event.pageX;
                                        var pageY = event.pageY;
                                Severity: Minor
                                Found in public/lib/jquery-ui.js - About 1 hr to fix

                                  Function _destroy has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _destroy: function() {
                                          if ( this.xhr ) {
                                              this.xhr.abort();
                                          }
                                  
                                  
                                  Severity: Minor
                                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                                    Function refresh has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        refresh: function() {
                                            var menus,
                                                icon = this.options.icons.submenu,
                                                submenus = this.element.find( this.options.menus );
                                    
                                    
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                                      Function drawSeriesPoints has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              function drawSeriesPoints(series) {
                                                  function plotPoints(datapoints, radius, fillStyle, offset, shadow, axisx, axisy, symbol) {
                                                      var points = datapoints.points, ps = datapoints.pointsize;
                                      
                                                      for (var i = 0; i < points.length; i += ps) {
                                      Severity: Minor
                                      Found in public/lib/jquery.flot.js - About 1 hr to fix

                                        Function show has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          , show: function () {
                                              var $tip
                                                , inside
                                                , pos
                                                , actualWidth
                                        Severity: Minor
                                        Found in public/lib/bootstrap/js/bootstrap.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language