mar10/fancytree

View on GitHub

Showing 460 of 700 total issues

Function _onDragEvent has 224 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _onDragEvent: function (
            eventName,
            node,
            otherNode,
            event,
Severity: Major
Found in src/jquery.fancytree.dnd.js - About 1 day to fix

    Function onDropEvent has 222 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function onDropEvent(event) {
            var json,
                allowAutoExpand,
                nodeData,
                isSourceFtNode,
    Severity: Major
    Found in src/jquery.fancytree.dnd5.js - About 1 day to fix

      Function publish has 218 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      exports.publish = function(taffyData, opts, tutorials) {
          var classes;
          var conf;
          var externals;
          var files;
      Severity: Major
      Found in bin/jsdoc3-moogle/publish.js - About 1 day to fix

        Function dump has 213 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            var dump = (function () {
              function quote(str) {
                return '"' + str.toString().replace(/\\/g, '\\\\').replace(/"/g, '\\"') + '"';
              }
          
        Severity: Major
        Found in lib/qunit.js - About 1 day to fix

          File publish.js has 505 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          'use strict';
          
          var doop = require('jsdoc/util/doop');
          var env = require('jsdoc/env');
          var fs = require('jsdoc/fs');
          Severity: Major
          Found in bin/jsdoc3-moogle/publish.js - About 1 day to fix

            Function treeInit has 179 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    treeInit: function (ctx) {
                        this._requireExtension("table", true, true);
                        // 'fixed' requires the table extension to be loaded before itself
            
                        var res = this._superApply(arguments),
            Severity: Major
            Found in src/jquery.fancytree.fixed.js - About 7 hrs to fix

              Function Deferred has 178 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  Deferred: function( func ) {
                      var tuples = [
              
                              // action, add listener, callbacks,
                              // ... .then handlers, argument index, [final state]
              Severity: Major
              Found in lib/jquery.js - About 7 hrs to fix

                Function equiv has 178 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    var equiv = (function () {
                      // Value pairs queued for comparison. Used for breadth-first processing order, recursion
                      // detection and avoiding repeated comparison (see below for details).
                      // Elements are { a: val, b: val }.
                      var pairs = [];
                Severity: Major
                Found in lib/qunit.js - About 7 hrs to fix

                  Function nodeRenderTitle has 177 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                              nodeRenderTitle: function (ctx, title) {
                                  // set node connector images, links and text
                                  var checkbox,
                                      className,
                                      icon,
                  Severity: Major
                  Found in src/jquery.fancytree.js - About 7 hrs to fix

                    Function _applyFilterImpl has 167 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        $.ui.fancytree._FancytreeClass.prototype._applyFilterImpl = function (
                            filter,
                            branchMode,
                            _opts
                        ) {
                    Severity: Major
                    Found in src/jquery.fancytree.filter.js - About 6 hrs to fix

                      Function nodeSetExpanded has 161 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                                  nodeSetExpanded: function (ctx, flag, callOpts) {
                                      callOpts = callOpts || {};
                                      var _afterLoad,
                                          dfd,
                                          i,
                      Severity: Major
                      Found in src/jquery.fancytree.js - About 6 hrs to fix

                        Function nodeKeydown has 149 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                nodeKeydown: function (ctx) {
                                    var handleKeys,
                                        inputType,
                                        res,
                                        $td,
                        Severity: Major
                        Found in src/jquery.fancytree.ariagrid.js - About 5 hrs to fix

                          Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              $.fn.position = function( options ) {
                                  if ( !options || !options.of ) {
                                      return _position.apply( this, arguments );
                                  }
                          
                          
                          Severity: Major
                          Found in src/jquery-ui-dependencies/jquery-ui-iife.js - About 5 hrs to fix

                            Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            $.fn.position = function( options ) {
                                if ( !options || !options.of ) {
                                    return _position.apply( this, arguments );
                                }
                            
                            
                            Severity: Major
                            Found in src/jquery-ui-dependencies/jquery.fancytree.ui-deps.js - About 5 hrs to fix

                              Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.fn.position = function( options ) {
                                  if ( !options || !options.of ) {
                                      return _position.apply( this, arguments );
                                  }
                              
                              
                              Severity: Major
                              Found in src/jquery-ui-dependencies/jquery-ui.js - About 5 hrs to fix

                                File jquery.fancytree.table.js has 407 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*!
                                 * jquery.fancytree.table.js
                                 *
                                 * Render tree as table (aka 'tree grid', 'table tree').
                                 * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
                                Severity: Minor
                                Found in src/jquery.fancytree.table.js - About 5 hrs to fix

                                  Function _bind has 144 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                              _bind: function () {
                                                  var self = this,
                                                      opts = this.options,
                                                      tree = this.tree,
                                                      ns = tree._ns;
                                  Severity: Major
                                  Found in src/jquery.fancytree.js - About 5 hrs to fix

                                    File jquery.fancytree.filter.js has 404 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    /*!
                                     * jquery.fancytree.filter.js
                                     *
                                     * Remove or highlight tree nodes, based on a filter.
                                     * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
                                    Severity: Minor
                                    Found in src/jquery.fancytree.filter.js - About 5 hrs to fix

                                      Function _registerDnd has 141 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function _registerDnd() {
                                              if (didRegisterDnd) {
                                                  return;
                                              }
                                      
                                      
                                      Severity: Major
                                      Found in src/jquery.fancytree.dnd.js - About 5 hrs to fix

                                        File taxonomy-browser.js has 401 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        /*!
                                         * Fancytree Taxonomy Browser
                                         *
                                         * Copyright (c) 2015, Martin Wendt (https://wwWendt.de)
                                         *
                                        Severity: Minor
                                        Found in demo/taxonomy-browser/taxonomy-browser.js - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language