adobe/brackets

View on GitHub

Showing 3,294 of 3,294 total issues

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

    remove: function( elem, types, handler, selector, mappedTypes ) {
Severity: Minor
Found in src/thirdparty/jquery-2.1.3.js - About 35 mins to fix

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

    function Tween( elem, options, prop, end, easing ) {
    Severity: Minor
    Found in src/thirdparty/jquery-2.1.3.js - About 35 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 src/thirdparty/jquery-2.1.3.js - About 35 mins to fix

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

                "CHILD": function( type, what, argument, first, last ) {
        Severity: Minor
        Found in src/thirdparty/jquery-2.1.3.js - About 35 mins to fix

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

          function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
          Severity: Minor
          Found in src/thirdparty/jquery-2.1.3.js - About 35 mins to fix

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

              function expandNodes(ownerID, nodes, bitmap, including, node) {
            Severity: Minor
            Found in src/thirdparty/immutable.js - About 35 mins to fix

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

                function mergeIntoNode(node, ownerID, shift, keyHash, entry) {
              Severity: Minor
              Found in src/thirdparty/immutable.js - About 35 mins to fix

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

                    function doSearchInScope(queryInfo, scope, filter, replaceText, candidateFilesPromise) {
                Severity: Minor
                Found in src/search/FindInFiles.js - About 35 mins to fix

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

                      function showModalDialog(dlgClass, title, message, buttons, autoDismiss) {
                  Severity: Minor
                  Found in src/widgets/Dialogs.js - About 35 mins to fix

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

                        function searchAndShowResults(queryInfo, scope, filter, replaceText, candidateFilesPromise) {
                    Severity: Minor
                    Found in src/search/FindInFilesUI.js - About 35 mins to fix

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

                          function searchAndReplaceResults(queryInfo, scope, filter, replaceText, candidateFilesPromise) {
                      Severity: Minor
                      Found in src/search/FindInFilesUI.js - About 35 mins to fix

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Open

                                if (!/\S/.test(token.string) || token.string === ".") {
                                    token = hostEditor._codeMirror.getTokenAt({line: pos.line, ch: pos.ch + 1}, true);
                                }
                        Severity: Minor
                        Found in src/extensions/default/JavaScriptQuickEdit/main.js and 1 other location - About 35 mins to fix
                        src/extensions/samples/InlineImageViewer/main.js on lines 49..51

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 4 locations. Consider refactoring.
                        Open

                                $(this.P1)
                                    .off("mousemove", _pointMouseMove)
                                    .off("mousedown", _pointMouseDown)
                                    .off("mouseup", _pointMouseUp)
                                    .off("keydown", _pointKeyDown);
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 550..554
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 555..559
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 577..581

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 4 locations. Consider refactoring.
                        Open

                                case ERR_TYPE_CREATE:
                                    title = StringUtils.format(Strings.ERROR_CREATING_FILE_TITLE, titleType);
                                    message = StringUtils.format(Strings.ERROR_CREATING_FILE, entryType, path, error);
                                    break;
                        Severity: Major
                        Found in src/project/ProjectManager.js and 3 other locations - About 35 mins to fix
                        src/project/ProjectManager.js on lines 626..629
                        src/project/ProjectManager.js on lines 630..633
                        src/project/ProjectManager.js on lines 634..637

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Open

                                            searchCtx = TokenUtils.getInitialContext(editor._codeMirror, {line: ctx.pos.line, ch: ctx.token.start});
                        Severity: Minor
                        Found in src/editor/EditorCommandHandlers.js and 1 other location - About 35 mins to fix
                        src/editor/EditorCommandHandlers.js on lines 395..395

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 4 locations. Consider refactoring.
                        Open

                                $(this.P2)
                                    .on("mousemove", _pointMouseMove)
                                    .on("mousedown", _pointMouseDown)
                                    .on("mouseup", _pointMouseUp)
                                    .on("keydown", _pointKeyDown);
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 550..554
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 572..576
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 577..581

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Open

                            if (typeof options == 'string' && (options == 'isDisabled' || options == 'getDate' || options == 'widget'))
                                return $.datepicker['_' + options + 'Datepicker'].
                                    apply($.datepicker, [this[0]].concat(otherArgs));
                        src/extensions/default/JavaScriptQuickEdit/unittest-files/jquery-ui/ui/jquery.ui.datepicker.js on lines 1835..1837

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Open

                                var workingSetFiles = MainViewManager.getWorkingSet(MainViewManager.ALL_PANES),
                                    workingSetFileFound = {},
                                    fileSetWithoutWorkingSet = [],
                                    startingWorkingFileSet = [],
                                    propertyName = "",
                        Severity: Minor
                        Found in src/search/FindUtils.js and 1 other location - About 35 mins to fix
                        src/search/SearchModel.js on lines 215..220

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Open

                                    if ( isSuccess ) {
                                        deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
                                    } else {
                                        deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
                                    }
                        src/thirdparty/jquery-2.1.3.js on lines 8258..8262

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 4 locations. Consider refactoring.
                        Open

                                $(this.P2)
                                    .off("mousemove", _pointMouseMove)
                                    .off("mousedown", _pointMouseDown)
                                    .off("mouseup", _pointMouseUp)
                                    .off("keydown", _pointKeyDown);
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 550..554
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 555..559
                        src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js on lines 572..576

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Severity
                        Category
                        Status
                        Source
                        Language