radare/radare2-webui

View on GitHub

Showing 2,691 of 2,691 total issues

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

        uiSelect(dom, 'Platform', archs, archs.indexOf(r2Settings.getItem(r2Settings.keys.PLATFORM)), function(item) {
            r2Settings.setItem(r2Settings.keys.PLATFORM, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 91..93
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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

    wrString: function() {
     var msg = prompt('Text', '');
     if (msg)
     r2.cmd('w ' + msg, function() {
         r2ui.seek('$$', false);
Severity: Major
Found in www/enyo/js/mainpanel.js and 2 other locations - About 1 hr to fix
www/enyo/js/mainpanel.js on lines 30..36
www/enyo/js/mainpanel.js on lines 106..112

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

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

    coCode: function() {
     var msg = prompt('How many bytes?', '');
     if (msg)
     r2.cmd('y ' + msg, function() {
         r2ui.seek('$$', false);
Severity: Major
Found in www/enyo/js/mainpanel.js and 2 other locations - About 1 hr to fix
www/enyo/js/mainpanel.js on lines 30..36
www/enyo/js/mainpanel.js on lines 77..83

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

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

        uiSelect(dom, 'Bits', bits, bits.indexOf(r2Settings.getItem(r2Settings.keys.BITS)), function(item) {
            r2Settings.setItem(r2Settings.keys.BITS, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 91..93
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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

        uiSelect(dom, 'Theme', colors, colors.indexOf(r2Settings.getItem(r2Settings.keys.THEME)), function(theme) {
            r2Settings.setItem(r2Settings.keys.THEME, theme);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 91..93

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

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

        uiSelect(dom, 'Decoding', decoding, decoding.indexOf(r2Settings.getItem(r2Settings.keys.DECODING)), function(item) {
            r2Settings.setItem(r2Settings.keys.DECODING, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 91..93
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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

        },{
            name: 'Analyse calls',
            ugly: 'calls',
            active: false,
            action: function(active) {
Severity: Major
Found in www/m/js/modules/disasm/Disassembly.js and 1 other location - About 1 hr to fix
www/m/js/modules/disasm/Disassembly.js on lines 164..175

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

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

        uiSelect(dom, 'Size', sizes, sizes.indexOf(r2Settings.getItem(r2Settings.keys.SIZE)), function(item) {
            r2Settings.setItem(r2Settings.keys.SIZE, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 91..93
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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

        },{
            name: 'Emulate code',
            ugly: 'code',
            active: false,
            action: function(active) {
Severity: Major
Found in www/m/js/modules/disasm/Disassembly.js and 1 other location - About 1 hr to fix
www/m/js/modules/disasm/Disassembly.js on lines 143..154

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

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

        uiSelect(dom, 'Mode', mode, mode.indexOf(r2Settings.getItem(r2Settings.keys.MODE)), function(item) {
            r2Settings.setItem(r2Settings.keys.MODE, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 52..54
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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

    if ((r2.varMap[ins.fcn_addr] !== null && r2.varMap[ins.fcn_addr] !== undefined && r2.varMap[ins.fcn_addr].length > 0) ||
Severity: Major
Found in www/lib/disasm.js and 1 other location - About 1 hr to fix
www/lib/disasm.js on lines 768..768

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

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

    goRename: function() {
     var msg = prompt('New name?', '');
     if (msg)
         r2.cmd('afr ' + msg, function() {
             r2ui.seek('$$', false);
Severity: Major
Found in www/enyo/js/mainpanel.js and 2 other locations - About 1 hr to fix
www/enyo/js/mainpanel.js on lines 77..83
www/enyo/js/mainpanel.js on lines 106..112

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

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

            (r2.argMap[ins.fcn_addr] !== null && r2.argMap[ins.fcn_addr] !== undefined && r2.argMap[ins.fcn_addr].length > 0)) {
Severity: Major
Found in www/lib/disasm.js and 1 other location - About 1 hr to fix
www/lib/disasm.js on lines 767..767

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

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

        uiSelect(dom, 'OS', os, os.indexOf(r2Settings.getItem(r2Settings.keys.OS)), function(item) {
            r2Settings.setItem(r2Settings.keys.OS, item);
        });
Severity: Major
Found in www/m/js/widgets/SettingsWidget.js and 6 other locations - About 1 hr to fix
www/m/js/widgets/SettingsWidget.js on lines 42..44
www/m/js/widgets/SettingsWidget.js on lines 47..49
www/m/js/widgets/SettingsWidget.js on lines 59..61
www/m/js/widgets/SettingsWidget.js on lines 63..65
www/m/js/widgets/SettingsWidget.js on lines 91..93
www/m/js/widgets/SettingsWidget.js on lines 138..140

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

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 statusConsole has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function statusConsole() {
    var statusbar = document.getElementById('statusbar');
    var container = document.getElementById('container');
    if (statusTab === Tab.CONSOLE) {
        if (statusMode !== Mode.LINE) {
Severity: Minor
Found in www/m/js/helpers/statusbar/statusbar.legacy.js - About 1 hr to fix

    Function _getDataUrlInfo has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        JqTreeWidget.prototype._getDataUrlInfo = function(node) {
          var data_url, getUrlFromString;
          data_url = this.options.dataUrl || this.element.data('url');
          getUrlFromString = (function(_this) {
            return function() {
    Severity: Minor
    Found in www/p/lib/js/dependencies/tree.jquery.js - About 1 hr to fix

      Function getPanel has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          getPanel() {
              var c = document.createElement('div');
      
              var header = document.createElement('div');
              header.style.position = 'fixed';
      Severity: Minor
      Found in www/m/js/widgets/ClassesWidget.js - About 1 hr to fix

        Function configureWorker_ has 32 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            configureWorker_() {
                var _this = this;
                this.providerWorker.onmessage = function(e) {
                    if (e.data.dir === NavigatorDirection.CURRENT) {
                        if (typeof _this.curChunk.data.callback !== 'undefined') {
        Severity: Minor
        Found in www/m/js/core/BlockNavigator.js - About 1 hr to fix

          Function statusConsole has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
          Open

          function statusConsole() {
              var statusbar = document.getElementById('statusbar');
              var container = document.getElementById('container');
              if (statusTab === Tab.CONSOLE) {
                  if (statusMode !== Mode.LINE) {
          Severity: Minor
          Found in www/m/js/helpers/statusbar/statusbar.legacy.js - About 1 hr to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function setStatusbarBody has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
          Open

          function setStatusbarBody() {
              function addElement(e, id) {
                  var doc = document.createElement(e);
                  doc.id = id;
                  doc.className = id;
          Severity: Minor
          Found in www/m/js/helpers/statusbar/statusbar.legacy.js - About 1 hr to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Severity
          Category
          Status
          Source
          Language