muneebalam/scrapenhl2

View on GitHub

Showing 385 of 747 total issues

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

def tweet_game_images(h2hfile, tlfile, hname, rname, status, tweetdata):
Severity: Minor
Found in scrapenhl2/twitterbot/gamebot.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        if per == 'OT':
                            per = 4
                        periods.append(int(per))
    Severity: Major
    Found in scrapenhl2/scrape/parse_toi.py - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                  if team_info.team_as_id(part) is not None:
                                      teams.append(part)
                          if len(teams) == 0:
      Severity: Major
      Found in scrapenhl2/twitterbot/gamebot.py - About 45 mins to fix

        Consider simplifying this complex logical expression.
        Open

                if (terms[excluded[i]] == file ||
                    titleterms[excluded[i]] == file ||
                    $u.contains(terms[excluded[i]] || [], file) ||
                    $u.contains(titleterms[excluded[i]] || [], file)) {
                  valid = false;
        Severity: Major
        Found in docs/build/html/_static/searchtools.js - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                      if ( matcher[ expando ] ) {
                          // Find the next relative operator (if any) for proper handling
                          j = ++i;
                          for ( ; j < len; j++ ) {
                              if ( Expr.relative[ tokens[j].type ] ) {
          Severity: Major
          Found in docs/build/html/_static/jquery-3.1.0.js - About 40 mins to fix

            Consider simplifying this complex logical expression.
            Open

                    if ( delegateCount && cur.nodeType &&
                        ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
            
                        for ( ; cur !== this; cur = cur.parentNode || this ) {
            
            
            Severity: Major
            Found in docs/build/html/_static/jquery-3.1.0.js - About 40 mins to fix

              Consider simplifying this complex logical expression.
              Open

                      if (terms[excluded[i]] == file ||
                          titleterms[excluded[i]] == file ||
                          $u.contains(terms[excluded[i]] || [], file) ||
                          $u.contains(titleterms[excluded[i]] || [], file)) {
                        valid = false;
              Severity: Major
              Found in docs/build/_static/searchtools.js - About 40 mins to fix

                Consider simplifying this complex logical expression.
                Open

                        if ( delegateCount && cur.nodeType &&
                            ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
                
                            for ( ; cur !== this; cur = cur.parentNode || this ) {
                
                
                Severity: Major
                Found in docs/build/_static/jquery-3.1.0.js - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                              if ( matcher[ expando ] ) {
                                  // Find the next relative operator (if any) for proper handling
                                  j = ++i;
                                  for ( ; j < len; j++ ) {
                                      if ( Expr.relative[ tokens[j].type ] ) {
                  Severity: Major
                  Found in docs/build/_static/jquery-3.1.0.js - About 40 mins to fix

                    Function buildFragment has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    function buildFragment( elems, context, scripts, selection, ignored ) {
                    Severity: Minor
                    Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                      Function add has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          add: function( elem, types, handler, data, selector ) {
                      Severity: Minor
                      Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                        Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            remove: function( elem, types, handler, selector, mappedTypes ) {
                        Severity: Minor
                        Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                          Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                                  superMatcher = function( seed, context, xml, results, outermost ) {
                          Severity: Minor
                          Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                            Function Tween has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            function Tween( elem, options, prop, end, easing ) {
                            Severity: Minor
                            Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                              Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              function condense( unmatched, map, filter, context, xml ) {
                              Severity: Minor
                              Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                                Function augmentWidthOrHeight has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                                Severity: Minor
                                Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                                  Function CHILD has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                          "CHILD": function( type, what, argument, first, last ) {
                                  Severity: Minor
                                  Found in docs/build/html/_static/jquery-3.1.0.js - About 35 mins to fix

                                    Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    function condense( unmatched, map, filter, context, xml ) {
                                    Severity: Minor
                                    Found in docs/build/_static/jquery-3.1.0.js - About 35 mins to fix

                                      Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          remove: function( elem, types, handler, selector, mappedTypes ) {
                                      Severity: Minor
                                      Found in docs/build/_static/jquery-3.1.0.js - About 35 mins to fix

                                        Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                superMatcher = function( seed, context, xml, results, outermost ) {
                                        Severity: Minor
                                        Found in docs/build/_static/jquery-3.1.0.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language