adobe/brackets

View on GitHub

Showing 1,485 of 3,294 total issues

File unittests.js has 507 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
Severity: Major
Found in src/extensions/default/HTMLCodeHints/unittests.js - About 1 day to fix

    File ColorEditor.js has 502 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
     *
     * Permission is hereby granted, free of charge, to any person obtaining a
     * copy of this software and associated documentation files (the "Software"),
    Severity: Major
    Found in src/extensions/default/InlineColorEditor/ColorEditor.js - About 1 day to fix

      File QuickOpen.js has 496 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
       * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
       *
       * Permission is hereby granted, free of charge, to any person obtaining a
       * copy of this software and associated documentation files (the "Software"),
      Severity: Minor
      Found in src/search/QuickOpen.js - About 7 hrs to fix

        File unittests.js has 493 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*
         * Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
         *
         * Permission is hereby granted, free of charge, to any person obtaining a
         * copy of this software and associated documentation files (the "Software"),
        Severity: Minor
        Found in src/extensions/default/SVGCodeHints/unittests.js - About 7 hrs to fix

          Function Inspector has 195 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          define(function Inspector(require, exports, module) {
              "use strict";
          
              var Async           = require("utils/Async"),
                  EventDispatcher = require("utils/EventDispatcher");
          Severity: Major
          Found in src/LiveDevelopment/Inspector/Inspector.js - About 7 hrs to fix

            Function colorAndGradientPreviewProvider has 195 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function colorAndGradientPreviewProvider(editor, pos, token, line) {
            
                    // Check for gradient. -webkit-gradient() can have parens in parameters
                    // nested 2 levels. Other gradients can only nest 1 level.
                    var gradientRegEx = /-webkit-gradient\((?:[^\(]*?(?:\((?:[^\(]*?(?:\([^\)]*?\))*?)*?\))*?)*?\)|(?:(?:-moz-|-ms-|-o-|-webkit-|:|\s)((repeating-)?linear-gradient)|(?:-moz-|-ms-|-o-|-webkit-|:|\s)((repeating-)?radial-gradient))(\((?:[^\)]*?(?:\([^\)]*?\))*?)*?\))/gi,
            Severity: Major
            Found in src/extensions/default/QuickView/main.js - About 7 hrs to fix

              File strings.js has 491 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /*
               * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
               *
               * Permission is hereby granted, free of charge, to any person obtaining a
               * copy of this software and associated documentation files (the "Software"),
              Severity: Minor
              Found in src/nls/id/strings.js - About 7 hrs to fix

                Function _create has 194 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _create: function() {
                        // Some browsers only repeat keydown events, not keypress events,
                        // so we use the suppressKeyPress flag to determine if we've already
                        // handled the keydown event. #7269
                        // Unfortunately the code for & in keypress is the same as the up arrow,

                  Function hitTest has 194 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                              function hitTest(e) {
                                  var pageY = $ghost.offset().top,
                                      direction =  e.pageY - lastPageY,
                                      result = {
                                          where: NOMANSLAND
                  Severity: Major
                  Found in src/project/WorkingSetView.js - About 7 hrs to fix

                    File jquery.ui.menu.js has 488 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /*!
                     * jQuery UI Menu @VERSION
                     *
                     * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
                     * Dual licensed under the MIT or GPL Version 2 licenses.

                      File FileSystem.js has 488 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /*
                       * Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
                       *
                       * Permission is hereby granted, free of charge, to any person obtaining a
                       * copy of this software and associated documentation files (the "Software"),
                      Severity: Minor
                      Found in src/filesystem/FileSystem.js - About 7 hrs to fix

                        File strings.js has 487 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*
                         * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
                         *
                         * Permission is hereby granted, free of charge, to any person obtaining a
                         * copy of this software and associated documentation files (the "Software"),
                        Severity: Minor
                        Found in src/nls/fa-ir/strings.js - About 7 hrs to fix

                          File strings.js has 486 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          /*
                           * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
                           *
                           * Permission is hereby granted, free of charge, to any person obtaining a
                           * copy of this software and associated documentation files (the "Software"),
                          Severity: Minor
                          Found in src/nls/ro/strings.js - About 7 hrs to fix

                            File strings.js has 486 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            /*
                             * Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
                             *
                             * Permission is hereby granted, free of charge, to any person obtaining a
                             * copy of this software and associated documentation files (the "Software"),
                            Severity: Minor
                            Found in src/nls/sr/strings.js - About 7 hrs to fix

                              File strings.js has 486 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              /*
                               * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
                               *
                               * Permission is hereby granted, free of charge, to any person obtaining a
                               * copy of this software and associated documentation files (the "Software"),
                              Severity: Minor
                              Found in src/nls/uk/strings.js - About 7 hrs to fix

                                File StringMatch.js has 484 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*
                                 * Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
                                 *
                                 * Permission is hereby granted, free of charge, to any person obtaining a
                                 * copy of this software and associated documentation files (the "Software"),
                                Severity: Minor
                                Found in src/utils/StringMatch.js - About 7 hrs to fix

                                  Function parse has 188 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function parse (pattern, isSub) {
                                    var options = this.options
                                  
                                    // shortcuts
                                    if (!options.noglobstar && pattern === "**") return GLOBSTAR
                                  Severity: Major
                                  Found in src/thirdparty/globmatch.js - About 7 hrs to fix

                                    Function jsDump has 185 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    QUnit.jsDump = (function() {
                                        function quote( str ) {
                                            return '"' + str.toString().replace( /"/g, '\\"' ) + '"';
                                        }
                                        function literal( o ) {

                                      File LanguageClientWrapper.js has 475 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*
                                       * Copyright (c) 2019 - present Adobe. All rights reserved.
                                       *
                                       * Permission is hereby granted, free of charge, to any person obtaining a
                                       * copy of this software and associated documentation files (the "Software"),
                                      Severity: Minor
                                      Found in src/languageTools/LanguageClientWrapper.js - About 7 hrs to fix

                                        File strings.js has 473 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        /*
                                         * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
                                         *
                                         * Permission is hereby granted, free of charge, to any person obtaining a
                                         * copy of this software and associated documentation files (the "Software"),
                                        Severity: Minor
                                        Found in src/nls/gl/strings.js - About 7 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language