lucydot/effmass

View on GitHub

Showing 213 of 291 total issues

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/build/_static/jquery-3.5.1.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/build/_static/jquery-3.5.1.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/build/_static/jquery-3.5.1.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/build/_static/jquery-3.5.1.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/build/_static/jquery-3.5.1.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/build/_static/jquery-3.5.1.js - About 1 hr to fix

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

                  def __init__(self, bandstructure_path, info_path, results_path):
                      r"""
                      Initialises an instance of the :class:`~effmass.inputs.Data` class and checks data using :meth:`check_data`.
              
                      Args:
              Severity: Minor
              Found in effmass/inputs.py - 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/build/_static/underscore-1.12.0.js - About 1 hr to fix

                  Consider simplifying this complex logical expression.
                  Open

                        if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor &&
                                                 isFunction$1(bCtor) && bCtor instanceof bCtor)
                                            && ('constructor' in a && 'constructor' in b)) {
                          return false;
                        }
                  Severity: Major
                  Found in docs/build/_static/underscore-1.12.0.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/build/_static/jquery-3.5.1.js - About 1 hr to fix

                      Function __init__ has 8 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def __init__(
                      Severity: Major
                      Found in effmass/inputs.py - About 1 hr to fix

                        Function access has 7 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
                        Severity: Major
                        Found in docs/build/_static/jquery-3.5.1.js - About 50 mins to fix

                          Function check_data has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def check_data(
                          Severity: Major
                          Found in effmass/inputs.py - About 50 mins to fix

                            Function setMatcher has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                            Severity: Minor
                            Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                      if ( node && node.value === id ) {
                                                          return [ elem ];
                                                      }
                              Severity: Major
                              Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
                                                            cur = cur.replace( " " + clazz + " ", " " );
                                                        }
                                Severity: Major
                                Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                      while ( i-- ) {
                                                          groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
                                                              toSelector( groups[ i ] );
                                                      }
                                  Severity: Major
                                  Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                                    Function boxModelAdjustment has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {
                                    Severity: Minor
                                    Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                      } else if ( match[ 2 ] ) {
                                                          push.apply( results, context.getElementsByTagName( selector ) );
                                                          return results;
                                      
                                                      // Class selector
                                      Severity: Major
                                      Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                                                    cur += clazz + " ";
                                                                }
                                        Severity: Major
                                        Found in docs/build/_static/jquery-3.5.1.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language