Showing 165 of 196 total issues

File jquery.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 app/js/jquery.js - About 2 wks to fix

    Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        ajax: function( url, options ) {
    
            // If url is an object, simulate pre-1.5 signature
            if ( typeof url === "object" ) {
                options = url;
    Severity: Major
    Found in app/js/jquery.js - About 1 day to fix

      Function setDocument has 200 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      setDocument = Sizzle.setDocument = function( node ) {
          var doc = node ? node.ownerDocument || node : preferredDoc,
              parent = doc.defaultView;
      
          // If no document and documentElement is available, return
      Severity: Major
      Found in app/js/jquery.js - About 1 day to fix

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

            _create: function() {
                // Some browsers only repeat keydown events, not keypress events,
                // so we use the suppressKeyPress flag to determine if we've already
                // handled the keydown event. #7269
                // Unfortunately the code for & in keypress is the same as the up arrow,
        Severity: Major
        Found in app/js/jquery.ui.autocomplete.js - About 7 hrs to fix

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

          /*!
           * jQuery UI Menu 1.10.4
           * http://jqueryui.com
           *
           * Copyright 2014 jQuery Foundation and other contributors
          Severity: Minor
          Found in app/js/jquery.ui.menu.js - About 7 hrs to fix

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

            /*!
             * jQuery UI Autocomplete 1.10.4
             * http://jqueryui.com
             *
             * Copyright 2014 jQuery Foundation and other contributors
            Severity: Minor
            Found in app/js/jquery.ui.autocomplete.js - About 7 hrs to fix

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

              /*!
               * jQuery UI Position 1.10.4
               * http://jqueryui.com
               *
               * Copyright 2014 jQuery Foundation and other contributors
              Severity: Minor
              Found in app/js/jquery.ui.position.js - About 6 hrs to fix

                Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.fn.position = function( options ) {
                    if ( !options || !options.of ) {
                        return _position.apply( this, arguments );
                    }
                
                
                Severity: Major
                Found in app/js/jquery.ui.position.js - About 5 hrs to fix

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

                  /*!
                   * jQuery UI Widget 1.10.4
                   * http://jqueryui.com
                   *
                   * Copyright 2014 jQuery Foundation and other contributors
                  Severity: Minor
                  Found in app/js/jquery.ui.widget.js - About 5 hrs to fix

                    Method create has 130 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        def self.create(args = {})
                          # Set defaults:
                          args = {
                            filepath: 'public/ggi_family_data.xlsx',
                            # NOTE - The version CANNOT come from the source file, we need to ask what version FALO wants this to be known as, and when we last asked CP about
                    Severity: Major
                    Found in lib/ggi/all_families_download.rb - About 5 hrs to fix

                      Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      jQuery.Callbacks = function( options ) {
                      
                          // Convert options from String-formatted to Object-formatted if needed
                          // (we check in cache first)
                          options = typeof options === "string" ?
                      Severity: Major
                      Found in app/js/jquery.js - About 5 hrs to fix

                        Consider simplifying this complex logical expression.
                        Open

                                    if ( event.pageX == null && original.clientX != null ) {
                                        eventDoc = event.target.ownerDocument || document;
                                        doc = eventDoc.documentElement;
                                        body = eventDoc.body;
                        
                        
                        Severity: Critical
                        Found in app/js/jquery.js - About 5 hrs to fix

                          Function support has 119 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          jQuery.support = (function( support ) {
                          
                              var all, a, input, select, fragment, opt, eventName, isSupported, i,
                                  div = document.createElement("div");
                          
                          
                          Severity: Major
                          Found in app/js/jquery.js - About 4 hrs to fix

                            Function defaultPrefilter has 95 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function defaultPrefilter( elem, props, opts ) {
                                /* jshint validthis: true */
                                var prop, value, toggle, tween, hooks, oldfire,
                                    anim = this,
                                    orig = {},
                            Severity: Major
                            Found in app/js/jquery.js - About 3 hrs to fix

                              Function trigger has 86 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  trigger: function( event, data, elem, onlyHandlers ) {
                                      var handle, ontype, cur,
                                          bubbleType, special, tmp, i,
                                          eventPath = [ elem || document ],
                                          type = core_hasOwn.call( event, "type" ) ? event.type : event,
                              Severity: Major
                              Found in app/js/jquery.js - About 3 hrs to fix

                                Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function Animation( elem, properties, options ) {
                                    var result,
                                        stopped,
                                        index = 0,
                                        length = animationPrefilters.length,
                                Severity: Major
                                Found in app/js/jquery.js - About 3 hrs to fix

                                  Function send has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                                  send: function( headers, complete ) {
                                  
                                                      // Get a new xhr
                                                      var handle, i,
                                                          xhr = s.xhr();
                                  Severity: Major
                                  Found in app/js/jquery.js - About 3 hrs to fix

                                    Function _keydown has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _keydown: function( event ) {
                                            var match, prev, character, skip, regex,
                                                preventDefault = true;
                                    
                                            function escape( value ) {
                                    Severity: Major
                                    Found in app/js/jquery.ui.menu.js - About 3 hrs to fix

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

                                      function Sizzle( selector, context, results, seed ) {
                                          var match, elem, m, nodeType,
                                              // QSA vars
                                              i, groups, old, nid, newContext, newSelector;
                                      
                                      
                                      Severity: Major
                                      Found in app/js/jquery.js - About 3 hrs to fix

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

                                            _create: function() {
                                                this.activeMenu = this.element;
                                                // flag used to prevent firing of the click handler
                                                // as the event bubbles up through nested menus
                                                this.mouseHandled = false;
                                        Severity: Major
                                        Found in app/js/jquery.ui.menu.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language