tadashi-aikawa/owlmixin

View on GitHub

Showing 225 of 243 total issues

Consider simplifying this complex logical expression.
Open

    if ( ( !support.boxSizingReliable() && isBorderBox ||

        // Support: IE 10 - 11+, Edge 15 - 18+
        // IE/Edge misreport `getComputedStyle` of table rows with width/height
        // set in CSS while `offset*` properties report correct values.
Severity: Critical
Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

    Function showHide has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function showHide( elements, show ) {
        var display, elem,
            values = [],
            index = 0,
            length = elements.length;
    Severity: Minor
    Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

      Function handler has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              handler: function( event ) {
                  var notAsync, result,
                      saved = dataPriv.get( this, type );
      
                  if ( ( event.isTrigger & 1 ) && this[ type ] ) {
      Severity: Minor
      Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

        jQuery.fn.load = function( url, params, callback ) {
            var selector, type, response,
                self = this,
                off = url.indexOf( " " );
        
        
        Severity: Minor
        Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

          jQuery.speed = function( speed, easing, fn ) {
              var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
                  complete: fn || !fn && easing ||
                      isFunction( speed ) && speed,
                  duration: speed,
          Severity: Minor
          Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

                    set: function( elem, value, extra ) {
                        var matches,
                            styles = getStyles( elem ),
            
                            // Only read styles.position if the test has a chance to fail
            Severity: Minor
            Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

                  removeClass: function( value ) {
                      var classes, elem, cur, curValue, clazz, j, finalValue,
                          i = 0;
              
                      if ( isFunction( value ) ) {
              Severity: Minor
              Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

                    attr: function( elem, name, value ) {
                        var ret, hooks,
                            nType = elem.nodeType;
                
                        // Don't get/set attributes on text, comment and attribute nodes
                Severity: Minor
                Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                  Function highlightSearchWords has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    highlightSearchWords: () => {
                      if (!SPHINX_HIGHLIGHT_ENABLED) return;  // bail if no highlight
                  
                      // get and clear terms from localstorage
                      const url = new URL(window.location);
                  Severity: Minor
                  Found in docs/_static/sphinx_highlight.js - About 1 hr to fix

                    Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        finish: function( type ) {
                            if ( type !== false ) {
                                type = type || "fx";
                            }
                            return this.each( function() {
                    Severity: Minor
                    Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                      Function off has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          off: function( types, selector, fn ) {
                              var handleObj, type;
                              if ( types && types.preventDefault && types.handleObj ) {
                      
                                  // ( event )  dispatched jQuery.Event
                      Severity: Minor
                      Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                        Function parseHTML has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        jQuery.parseHTML = function( data, context, keepScripts ) {
                            if ( typeof data !== "string" ) {
                                return [];
                            }
                            if ( typeof context === "boolean" ) {
                        Severity: Minor
                        Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                          Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function propFilter( props, specialEasing ) {
                              var index, name, easing, value, hooks;
                          
                              // camelCase, specialEasing and expand cssHook pass
                              for ( index in props ) {
                          Severity: Minor
                          Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                            Function when has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                when: function( singleValue ) {
                                    var
                            
                                        // count of uncompleted subordinates
                                        remaining = arguments.length,
                            Severity: Minor
                            Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                              Function addClass has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  addClass: function( value ) {
                                      var classes, elem, cur, curValue, clazz, j, finalValue,
                                          i = 0;
                              
                                      if ( isFunction( value ) ) {
                              Severity: Minor
                              Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                                Function clone has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                        var i, l, srcElements, destElements,
                                            clone = elem.cloneNode( true ),
                                            inPage = isAttached( elem );
                                
                                
                                Severity: Minor
                                Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

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

                                      position: function() {
                                          if ( !this[ 0 ] ) {
                                              return;
                                          }
                                  
                                  
                                  Severity: Minor
                                  Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                                    Function remove has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        remove: function( owner, key ) {
                                            var i,
                                                cache = owner[ this.expando ];
                                    
                                            if ( cache === undefined ) {
                                    Severity: Minor
                                    Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix

                                      Function debounce has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        function debounce(func, wait, immediate) {
                                          var timeout, previous, args, result, context;
                                      
                                          var later = function() {
                                            var passed = now() - previous;
                                      Severity: Minor
                                      Found in docs/_static/underscore-1.13.1.js - About 1 hr to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                            if ( support.matchesSelector && documentIsHTML &&
                                                !nonnativeSelectorCache[ expr + " " ] &&
                                                ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                                                ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
                                        
                                        
                                        Severity: Major
                                        Found in docs/_static/jquery-3.6.0.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language