lucasmiranda42/deepof

View on GitHub

Showing 344 of 362 total issues

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

def look_around(
Severity: Minor
Found in deepof/annotation_utils.py - About 45 mins to fix

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

    def kleinberg(
    Severity: Minor
    Found in deepof/utils.py - About 45 mins to fix

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

      def annotate_video(
      Severity: Minor
      Found in deepof/visuals.py - About 45 mins to fix

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

            def __init__(
        Severity: Minor
        Found in deepof/hypermodels.py - About 45 mins to fix

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

          def outside_ellipse(x, y, e_center, e_axes, e_angle, threshold=0.0):
          Severity: Minor
          Found in deepof/annotation_utils.py - About 45 mins to fix

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

            def following_path(
            Severity: Minor
            Found in deepof/annotation_utils.py - About 45 mins to fix

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

              def _scatter_embeddings(
              Severity: Minor
              Found in deepof/visuals.py - About 45 mins to fix

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

                def find_learning_rate(
                Severity: Minor
                Found in deepof/model_utils.py - About 45 mins to fix

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

                  def separation_between_conditions(
                  Severity: Minor
                  Found in deepof/post_hoc.py - About 45 mins to fix

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

                    def gmm_model_selection(
                    Severity: Minor
                    Found in deepof/utils.py - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                          if "polygonal" in arena_type or len(corners) < 5:
                                              cv2.line(
                                                  frame_copy,
                                                  (corners[c - 1][0], corners[c - 1][1]),
                                                  (corners[c][0], corners[c][1]),
                      Severity: Major
                      Found in deepof/utils.py - About 45 mins to fix

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

                        def get_transformer_decoder(
                        Severity: Minor
                        Found in deepof/models.py - About 45 mins to fix

                          Consider simplifying this complex logical expression.
                          Open

                                  if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" &&
                                      context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {
                          
                                      context = ( Expr.find[ "ID" ]( token.matches[ 0 ]
                                          .replace( runescape, funescape ), context ) || [] )[ 0 ];
                          Severity: Major
                          Found in docs/build/html/_static/jquery-3.6.0.js - About 40 mins to fix

                            Consider simplifying this complex logical expression.
                            Open

                            if ( !support.focusin ) {
                                jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) {
                            
                                    // Attach a single capturing handler on the document while someone wants focusin/focusout
                                    var handler = function( event ) {
                            Severity: Major
                            Found in docs/build/html/_static/jquery-3.6.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++ ) {
                              Severity: Major
                              Found in docs/build/html/_static/jquery-3.6.0.js - About 40 mins to fix

                                Consider simplifying this complex logical expression.
                                Open

                                      if (
                                        [...excludedTerms].some(
                                          (term) =>
                                            terms[term] === file ||
                                            titleTerms[term] === file ||
                                Severity: Major
                                Found in docs/build/html/_static/searchtools.js - About 40 mins to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                              if ( support.qsa &&
                                                  !nonnativeSelectorCache[ selector + " " ] &&
                                                  ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
                                  
                                                  // Support: IE 8 only
                                  Severity: Major
                                  Found in docs/build/html/_static/jquery-3.6.0.js - About 40 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.6.0.js - About 35 mins to fix

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

                                        function executeBound(sourceFunc, boundFunc, context, callingContext, args) {
                                      Severity: Minor
                                      Found in docs/build/html/_static/underscore-1.13.1.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.6.0.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language