async-worker/aiologger

View on GitHub

Showing 334 of 1,000 total issues

File files.py has 390 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# The following code and documentation was inspired, and in some cases
# copied and modified, from the work of Vinay Sajip and contributors
# on cpython's logging package

import abc
Severity: Minor
Found in aiologger/handlers/files.py - About 5 hrs to fix

    File searchtools.js has 378 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * searchtools.js
     * ~~~~~~~~~~~~~~~~
     *
     * Sphinx JavaScript utilities for the full-text search.
    Severity: Minor
    Found in docs/_static/searchtools.js - About 5 hrs to fix

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

      function defaultPrefilter( elem, props, opts ) {
          var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
              isBox = "width" in props || "height" in props,
              anim = this,
              orig = {},
      Severity: Major
      Found in docs/_static/jquery-3.5.1.js - About 4 hrs to fix

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

        function defaultPrefilter( elem, props, opts ) {
            var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
                isBox = "width" in props || "height" in props,
                anim = this,
                orig = {},
        Severity: Major
        Found in docs/_static/jquery-3.2.1.js - About 4 hrs to fix

          Function Callbacks has 121 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 docs/_static/jquery-3.5.1.js - About 4 hrs to fix

            Function Callbacks has 121 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 docs/_static/jquery-3.2.1.js - About 4 hrs to fix

              Function query has 118 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                query : function(query) {
                  var i;
              
                  // stem the searchterms and add them to the correct list
                  var stemmer = new Stemmer();
              Severity: Major
              Found in docs/_static/searchtools.js - About 4 hrs to fix

                Function stemWord has 109 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  this.stemWord = function (w) {
                    var stem;
                    var suffix;
                    var firstch;
                    var origword = w;
                Severity: Major
                Found in docs/_static/language_data.js - About 4 hrs to fix

                  Function then has 102 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                                  then: function( onFulfilled, onRejected, onProgress ) {
                                      var maxDepth = 0;
                                      function resolve( depth, deferred, handler, special ) {
                                          return function() {
                                              var that = this,
                  Severity: Major
                  Found in docs/_static/jquery-3.5.1.js - About 4 hrs to fix

                    Function then has 102 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                    then: function( onFulfilled, onRejected, onProgress ) {
                                        var maxDepth = 0;
                                        function resolve( depth, deferred, handler, special ) {
                                            return function() {
                                                var that = this,
                    Severity: Major
                    Found in docs/_static/jquery-3.2.1.js - About 4 hrs to fix

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

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

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

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

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

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

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

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

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

                              function Sizzle( selector, context, results, seed ) {
                                  var m, i, elem, nid, match, groups, newSelector,
                                      newContext = context && context.ownerDocument,
                              
                                      // nodeType defaults to 9, since context defaults to document
                              Severity: Major
                              Found in docs/_static/jquery-3.5.1.js - About 3 hrs to fix

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

                                        "CHILD": function( type, what, _argument, first, last ) {
                                            var simple = type.slice( 0, 3 ) !== "nth",
                                                forward = type.slice( -4 ) !== "last",
                                                ofType = what === "of-type";
                                
                                
                                Severity: Major
                                Found in docs/_static/jquery-3.5.1.js - About 3 hrs to fix

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

                                          "CHILD": function( type, what, argument, first, last ) {
                                              var simple = type.slice( 0, 3 ) !== "nth",
                                                  forward = type.slice( -4 ) !== "last",
                                                  ofType = what === "of-type";
                                  
                                  
                                  Severity: Major
                                  Found in docs/_static/jquery-3.2.1.js - About 3 hrs to fix

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

                                    function Sizzle( selector, context, results, seed ) {
                                        var m, i, elem, nid, match, groups, newSelector,
                                            newContext = context && context.ownerDocument,
                                    
                                            // nodeType defaults to 9, since context defaults to document
                                    Severity: Major
                                    Found in docs/_static/jquery-3.2.1.js - About 3 hrs to fix

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

                                                  send: function( headers, complete ) {
                                                      var i,
                                                          xhr = options.xhr();
                                      
                                                      xhr.open(
                                      Severity: Major
                                      Found in docs/_static/jquery-3.5.1.js - About 3 hrs to fix

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

                                                    send: function( headers, complete ) {
                                                        var i,
                                                            xhr = options.xhr();
                                        
                                                        xhr.open(
                                        Severity: Major
                                        Found in docs/_static/jquery-3.2.1.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language