adobe/brackets

View on GitHub

Showing 3,294 of 3,294 total issues

Function _refreshItems has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _refreshItems: function(event) {

        this.items = [];
        this.containers = [this];
        var items = this.items;

    Function _makeDraggable has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _makeDraggable: function() {
            var that = this,
                options = this.options;
    
            function filteredUi( ui ) {

      Function option has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          option: function( key, value ) {
              var options = key,
                  parts,
                  curOption,
                  i;

        Function _createButtons has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _createButtons: function( buttons ) {
                var uiDialogButtonPane, uiButtonSet,
                    that = this,
                    hasButtons = false;
        
        

          Function create has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              create: function( dialog ) {
                  if ( this.instances.length === 0 ) {
                      // prevent use of anchors and inputs
                      // we use a setTimeout in case the overlay is created from an
                      // event that we're going to be cancelling (see #2804)

            Function cleanData has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                cleanData: function( elems ) {
                    var data, id,
                        cache = jQuery.cache,
                        special = jQuery.event.special,
                        deleteExpando = jQuery.support.deleteExpando;

              Function object has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                              "object": function( b, a ) {
                                  var i, j, loop,
                                      // Default to true
                                      eq = true,
                                      aProperties = [],

                Function handleShowPerfData has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function handleShowPerfData() {
                        var templateVars = {
                            delimitedPerfData: PerfUtils.getDelimitedPerfData(),
                            perfData: []
                        };
                Severity: Minor
                Found in src/extensions/default/DebugCommands/main.js - About 1 hr to fix

                  Function resolve has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      FileSystem.prototype.resolve = function (path, callback) {
                          var normalizedPath = this._normalizePath(path, false),
                              item = this._index.getEntry(normalizedPath);
                  
                          if (!item) {
                  Severity: Minor
                  Found in src/filesystem/FileSystem.js - About 1 hr to fix

                    Function inputChangedHandler has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            var inputChangedHandler = function () {
                                // CodeMirror's fastPoll will batch up input events into a consolidated change
                                if (inProgress) {
                                    return;
                                }
                    Severity: Minor
                    Found in src/extensions/samples/TypingSpeedLogger/main.js - About 1 hr to fix

                      Function init has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function init(paths) {
                              var params = new UrlParams();
                      
                              if (_init) {
                                  // Only init once. Return a resolved promise.
                      Severity: Minor
                      Found in src/utils/ExtensionLoader.js - About 1 hr to fix

                        Function _tryAddToScopeOrder has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                _tryAddToScopeOrder: function (shadowEntry) {
                                    var shadowScopeOrder = this._defaults._shadowScopeOrder,
                                        index = _.findIndex(shadowScopeOrder, function (entry) {
                                            return entry === shadowEntry;
                                        }),
                        Severity: Minor
                        Found in src/preferences/PreferencesBase.js - About 1 hr to fix

                          Function _createPlaceholder has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function _createPlaceholder(treeData, basedir, name, isFolder, options) {
                                  options = options || {};
                                  var parentPath = _filePathToObjectPath(treeData, basedir);
                          
                                  if (!parentPath) {
                          Severity: Minor
                          Found in src/project/FileTreeViewModel.js - About 1 hr to fix

                            Function updateList has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              function updateList(list, index, value) {
                                index = wrapIndex(list, index);
                            
                                if (index !== index) {
                                  return list;
                            Severity: Minor
                            Found in src/thirdparty/immutable.js - About 1 hr to fix

                              Function _doJumpToDef has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function _doJumpToDef() {
                                      var request = null,
                                          result = new $.Deferred(),
                                          jumpToDefProvider = null,
                                          editor = EditorManager.getActiveEditor();
                              Severity: Minor
                              Found in src/features/JumpToDefManager.js - About 1 hr to fix

                                Function update has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    HashArrayMapNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {
                                      if (keyHash === undefined) {
                                        keyHash = hash(key);
                                      }
                                      var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;
                                Severity: Minor
                                Found in src/thirdparty/immutable.js - About 1 hr to fix

                                  Function next has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      MapIterator.prototype.next = function() {
                                        var type = this._type;
                                        var stack = this._stack;
                                        while (stack) {
                                          var node = stack.node;
                                  Severity: Minor
                                  Found in src/thirdparty/immutable.js - About 1 hr to fix

                                    Function insertHint has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        CodeHintsProvider.prototype.insertHint = function ($hint) {
                                            var editor = EditorManager.getActiveEditor(),
                                                cursor = editor.getCursorPos(),
                                                token = $hint.data("token"),
                                                txt = null,
                                    Severity: Minor
                                    Found in src/languageTools/DefaultProviders.js - About 1 hr to fix

                                      Function applyPlacement has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        , applyPlacement: function(offset, placement){
                                            var $tip = this.tip()
                                              , width = $tip[0].offsetWidth
                                              , height = $tip[0].offsetHeight
                                              , actualWidth
                                      Severity: Minor
                                      Found in src/widgets/bootstrap-tooltip.js - About 1 hr to fix

                                        Function setData has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                function setData(metadata) {
                                                    var locationType,
                                                        id = metadata.name,
                                                        userExtensionPath = ExtensionLoader.getUserExtensionPath();
                                                    if (path.indexOf(userExtensionPath) === 0) {
                                        Severity: Minor
                                        Found in src/extensibility/ExtensionManager.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language