neyric/wireit

View on GitHub

Showing 497 of 497 total issues

File xslt.js has 395 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Copyright 2005 Google Inc.
// All Rights Reserved
//
//
// An XSL-T processor written in JavaScript. The implementation is NOT
Severity: Minor
Found in sandbox/grouping/examples/sawire/xml/xslt.js - About 5 hrs to fix

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

    YUI.add('terminal-input', function (Y, NAME) {
    
    /**
     * @module terminal-input
     */
    Severity: Major
    Found in build/wireit-all/wireit-all.js and 3 other locations - About 5 hrs to fix
    build/terminal-input/terminal-input-debug.js on lines 1..44
    build/terminal-input/terminal-input.js on lines 1..44
    build/wireit-all/wireit-all-debug.js on lines 1382..1425

    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 144.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-input', function (Y, NAME) {
    
    /**
     * @module terminal-input
     */
    Severity: Major
    Found in build/terminal-input/terminal-input.js and 3 other locations - About 5 hrs to fix
    build/terminal-input/terminal-input-debug.js on lines 1..44
    build/wireit-all/wireit-all-debug.js on lines 1382..1425
    build/wireit-all/wireit-all.js on lines 1382..1425

    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 144.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-input', function (Y, NAME) {
    
    /**
     * @module terminal-input
     */
    Severity: Major
    Found in build/terminal-input/terminal-input-debug.js and 3 other locations - About 5 hrs to fix
    build/terminal-input/terminal-input.js on lines 1..44
    build/wireit-all/wireit-all-debug.js on lines 1382..1425
    build/wireit-all/wireit-all.js on lines 1382..1425

    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 144.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-input', function (Y, NAME) {
    
    /**
     * @module terminal-input
     */
    Severity: Major
    Found in build/wireit-all/wireit-all-debug.js and 3 other locations - About 5 hrs to fix
    build/terminal-input/terminal-input-debug.js on lines 1..44
    build/terminal-input/terminal-input.js on lines 1..44
    build/wireit-all/wireit-all.js on lines 1382..1425

    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 144.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-output', function (Y, NAME) {
    
    /**
     * @module terminal-output
     */
    Severity: Major
    Found in build/terminal-output/terminal-output.js and 3 other locations - About 5 hrs to fix
    build/terminal-output/terminal-output-debug.js on lines 1..43
    build/wireit-all/wireit-all-debug.js on lines 1426..1468
    build/wireit-all/wireit-all.js on lines 1426..1468

    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 142.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-output', function (Y, NAME) {
    
    /**
     * @module terminal-output
     */
    Severity: Major
    Found in build/terminal-output/terminal-output-debug.js and 3 other locations - About 5 hrs to fix
    build/terminal-output/terminal-output.js on lines 1..43
    build/wireit-all/wireit-all-debug.js on lines 1426..1468
    build/wireit-all/wireit-all.js on lines 1426..1468

    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 142.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-output', function (Y, NAME) {
    
    /**
     * @module terminal-output
     */
    Severity: Major
    Found in build/wireit-all/wireit-all.js and 3 other locations - About 5 hrs to fix
    build/terminal-output/terminal-output-debug.js on lines 1..43
    build/terminal-output/terminal-output.js on lines 1..43
    build/wireit-all/wireit-all-debug.js on lines 1426..1468

    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 142.

    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 2 locations. Consider refactoring.
    Open

                layoutOptions: {
                     units: [
                       { position: 'top', height: 57, body: 'top'},
                      { position: 'left', width: 290, resize: true, body: 'left', gutter: '5px', collapse: true, 
                        collapseSize: 25, header: 'BPMN Modules', scroll: true, animate: true },
    Severity: Major
    Found in sandbox/editor-examples/BPMN-editor/bpmn-2.0.js and 1 other location - About 5 hrs to fix
    sandbox/editor-base/editor-base.js on lines 32..41

    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 142.

    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 4 locations. Consider refactoring.
    Open

    YUI.add('terminal-output', function (Y, NAME) {
    
    /**
     * @module terminal-output
     */
    Severity: Major
    Found in build/wireit-all/wireit-all-debug.js and 3 other locations - About 5 hrs to fix
    build/terminal-output/terminal-output-debug.js on lines 1..43
    build/terminal-output/terminal-output.js on lines 1..43
    build/wireit-all/wireit-all.js on lines 1426..1468

    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 142.

    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 2 locations. Consider refactoring.
    Open

        layoutOptions: {
             units: [
               { position: 'top', height: 57, body: 'top'},
              { position: 'left', width: 200, resize: true, body: 'left', gutter: '5px', collapse: true, 
                collapseSize: 25, header: 'Modules', scroll: true, animate: true },
    Severity: Major
    Found in sandbox/editor-base/editor-base.js and 1 other location - About 5 hrs to fix
    sandbox/editor-examples/BPMN-editor/bpmn-2.0.js on lines 1051..1060

    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 142.

    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

    Function expand has 130 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        expand: function() 
        {
        //For each module add it to the layer
        //For each wire wire up the new containers
        //For each internal group add to layer groups, remap from serialised 
    Severity: Major
    Found in sandbox/grouping/js/GroupFormContainer.js - About 5 hrs to fix

      File ExecutionFrame.js has 381 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * An "ExecutionFrame" is the equivalent to the jsBox layer.
       * It contains a set module instances and a set of wires linking them.
       * @class ExecutionFrame
       * @constructor
      Severity: Minor
      Found in sandbox/grouping/examples/sawire/ExecutionFrame.js - About 5 hrs to fix

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

                       children: [
                         { align: {points:["tl", "tl"]} },
                         { align: {points:["tl", "tc"]} },
                         { align: {points:["tl", "tr"]} },
                         { align: {points:["tl", "lc"]} },
        Severity: Major
        Found in sandbox/yide/tabs/layerTab.js and 1 other location - About 4 hrs to fix
        sandbox/yide/tabs/layerTab.js on lines 28..37

        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 134.

        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

                       children: [
                         { align: {points:["tl", "tl"]} },
                         { align: {points:["tl", "tc"]} },
                         { align: {points:["tl", "tr"]} },
                         { align: {points:["tl", "lc"]} },
        Severity: Major
        Found in sandbox/yide/tabs/layerTab.js and 1 other location - About 4 hrs to fix
        sandbox/yide/tabs/layerTab.js on lines 51..60

        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 134.

        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 2 locations. Consider refactoring.
        Open

          '\u0041-\u005a\u0061-\u007a\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u00ff' +
          '\u0100-\u0131\u0134-\u013e\u0141-\u0148\u014a-\u017e\u0180-\u01c3' +
          '\u01cd-\u01f0\u01f4-\u01f5\u01fa-\u0217\u0250-\u02a8\u02bb-\u02c1\u0386' +
          '\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03ce\u03d0-\u03d6\u03da\u03dc' +
          '\u03de\u03e0\u03e2-\u03f3\u0401-\u040c\u040e-\u044f\u0451-\u045c' +
        Severity: Major
        Found in sandbox/grouping/examples/sawire/xml/xmltoken.js and 1 other location - About 4 hrs to fix
        sandbox/res/SyntaxHighlighter/shBrushPhp.js on lines 32..65

        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 133.

        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 2 locations. Consider refactoring.
        Open

            var funcs    =    'abs acos acosh addcslashes addslashes ' +
                            'array_change_key_case array_chunk array_combine array_count_values array_diff '+
                            'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
                            'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
                            'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
        Severity: Major
        Found in sandbox/res/SyntaxHighlighter/shBrushPhp.js and 1 other location - About 4 hrs to fix
        sandbox/grouping/examples/sawire/xml/xmltoken.js on lines 44..77

        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 133.

        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 2 locations. Consider refactoring.
        Open

                for (var tName in g.terminals)
                {
                    var t = g.terminals[tName];
                    var o = {}
                    o.visible = t.visible.checked;
        Severity: Major
        Found in sandbox/grouping/js/GroupUtils.js and 1 other location - About 4 hrs to fix
        sandbox/grouping/js/GroupUtils.js on lines 349..362

        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 131.

        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 2 locations. Consider refactoring.
        Open

                for (var tName in c.terminals)
                {
                    var t = c.terminals[tName];
                    var o = {}
                    o.visible = t.visible.checked;
        Severity: Major
        Found in sandbox/grouping/js/GroupUtils.js and 1 other location - About 4 hrs to fix
        sandbox/grouping/js/GroupUtils.js on lines 386..399

        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 131.

        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

        Function generateTerminalMap has 117 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            generateTerminalMap: function(group, usedNames, containerMap, groupMap)
            {
                var self = this;
                
                var mergeTerminalOverrides = function(terminalConfigs, overrides, usedNames, forceVisible, terminalMap)
        Severity: Major
        Found in sandbox/grouping/js/GroupUtils.js - About 4 hrs to fix
          Severity
          Category
          Status
          Source
          Language