lucasmiranda42/deepof

View on GitHub

Showing 344 of 362 total issues

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

          Function select_contrastive_loss has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def select_contrastive_loss(
          Severity: Major
          Found in deepof/model_utils.py - About 1 hr to fix

            Function export_annotated_video has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            def export_annotated_video(
            Severity: Major
            Found in deepof/visuals.py - About 1 hr to fix

              Function close_double_contact has 9 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def close_double_contact(
              Severity: Major
              Found in deepof/annotation_utils.py - About 1 hr to fix

                Function recluster has 9 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def recluster(
                Severity: Major
                Found in deepof/post_hoc.py - About 1 hr to fix

                  Function compute_transition_matrix_per_condition has 9 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def compute_transition_matrix_per_condition(
                  Severity: Major
                  Found in deepof/post_hoc.py - About 1 hr to fix

                    Function enrichment_across_conditions has 9 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def enrichment_across_conditions(
                    Severity: Major
                    Found in deepof/post_hoc.py - About 1 hr to fix

                      Function align_deepof_kinematics_with_unsupervised_labels has 9 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def align_deepof_kinematics_with_unsupervised_labels(
                      Severity: Major
                      Found in deepof/post_hoc.py - About 1 hr to fix

                        Function _filter_embeddings has 9 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def _filter_embeddings(
                        Severity: Major
                        Found in deepof/visuals.py - About 1 hr to fix

                          Function automatically_recognize_arena has 9 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def automatically_recognize_arena(
                          Severity: Major
                          Found in deepof/utils.py - 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/build/html/_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/build/html/_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/build/html/_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/build/html/_static/sphinx_highlight.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/build/html/_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/build/html/_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/build/html/_static/jquery-3.6.0.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language