RackHD/on-core

View on GitHub

Showing 326 of 326 total issues

Function SkuModelFactory has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function SkuModelFactory (Model, _, assert, Validatable, Anchor, configuration, uuid) {
    var allRules = _.keys(new Anchor().rules);
    return Model.extend({
        types: {
            skuRules: function(rules) {
Severity: Major
Found in lib/models/sku.js - About 3 hrs to fix

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

        TaskGraphRunnerProtocol.prototype.getTaskLibrary = function (filter) {
            if (filter) {
                assert.object(filter);
            }
    
    
    Severity: Major
    Found in lib/protocol/task-graph-runner.js and 3 other locations - About 3 hrs to fix
    lib/protocol/task-graph-runner.js on lines 28..40
    lib/protocol/task-graph-runner.js on lines 99..111
    lib/protocol/task-graph-runner.js on lines 133..145

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

    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

        TaskGraphRunnerProtocol.prototype.getActiveTaskGraph = function (filter) {
            if (filter) {
                assert.object(filter);
            }
    
    
    Severity: Major
    Found in lib/protocol/task-graph-runner.js and 3 other locations - About 3 hrs to fix
    lib/protocol/task-graph-runner.js on lines 28..40
    lib/protocol/task-graph-runner.js on lines 64..76
    lib/protocol/task-graph-runner.js on lines 133..145

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

    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

        TaskGraphRunnerProtocol.prototype.getActiveTaskGraphs = function (filter) {
            if (filter) {
                assert.object(filter);
            }
    
    
    Severity: Major
    Found in lib/protocol/task-graph-runner.js and 3 other locations - About 3 hrs to fix
    lib/protocol/task-graph-runner.js on lines 28..40
    lib/protocol/task-graph-runner.js on lines 64..76
    lib/protocol/task-graph-runner.js on lines 99..111

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

    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

        TaskGraphRunnerProtocol.prototype.getTaskGraphLibrary = function (filter) {
            if (filter) {
                assert.object(filter);
            }
    
    
    Severity: Major
    Found in lib/protocol/task-graph-runner.js and 3 other locations - About 3 hrs to fix
    lib/protocol/task-graph-runner.js on lines 64..76
    lib/protocol/task-graph-runner.js on lines 99..111
    lib/protocol/task-graph-runner.js on lines 133..145

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

    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

        EventsProtocol.prototype.subscribeGraphStarted = function (graphid, callback) {
            assert.uuid(graphid);
            assert.func(callback);
    
            return messenger.subscribe(
    Severity: Major
    Found in lib/protocol/events.js and 1 other location - About 2 hrs to fix
    lib/protocol/events.js on lines 253..264

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

    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

        EventsProtocol.prototype.subscribeGraphFinished = function (graphid, callback) {
            assert.uuid(graphid);
            assert.func(callback);
    
            return messenger.subscribe(
    Severity: Major
    Found in lib/protocol/events.js and 1 other location - About 2 hrs to fix
    lib/protocol/events.js on lines 223..234

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

    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

        DhcpProtocol.prototype.unpinIp = function (ip) {
            assert.isIP(ip);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 231..241
    lib/protocol/dhcp.js on lines 264..274

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

    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

        TaskProtocol.prototype.publishSnmpCommandResult = function (uuid, results) {
            assert.uuid(uuid, 'routing key uuid suffix');
            assert.object(results);
    
            return messenger.publish(
    Severity: Major
    Found in lib/protocol/task.js and 2 other locations - About 2 hrs to fix
    lib/protocol/task.js on lines 344..353
    lib/protocol/task.js on lines 450..459

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

    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

        DhcpProtocol.prototype.removeLease = function (mac) {
            assert.isMac(mac);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 264..274

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

    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

        DhcpProtocol.prototype.ipInRange = function (ip) {
            assert.isIP(ip);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 231..241
    lib/protocol/dhcp.js on lines 264..274

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

    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

        DhcpProtocol.prototype.removeLeaseByIp = function (ip) {
            assert.isIP(ip);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 231..241

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

    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

        DhcpProtocol.prototype.pinMac = function (mac) {
            assert.isMac(mac);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 231..241
    lib/protocol/dhcp.js on lines 264..274

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

    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

        TaskProtocol.prototype.publishAnsibleResult = function (uuid, data) {
            assert.uuid(uuid, 'routing key uuid suffix');
            assert.object(data);
    
            return messenger.publish(
    Severity: Major
    Found in lib/protocol/task.js and 2 other locations - About 2 hrs to fix
    lib/protocol/task.js on lines 344..353
    lib/protocol/task.js on lines 381..390

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

    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

        TaskProtocol.prototype.publishRunSnmpCommand = function (uuid, data) {
            assert.uuid(uuid, 'routing key uuid suffix');
            assert.object(data);
    
            return messenger.publish(
    Severity: Major
    Found in lib/protocol/task.js and 2 other locations - About 2 hrs to fix
    lib/protocol/task.js on lines 381..390
    lib/protocol/task.js on lines 450..459

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

    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

        DhcpProtocol.prototype.lookupIpLease = function (ip) {
            assert.isIP(ip);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 135..145
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 231..241
    lib/protocol/dhcp.js on lines 264..274

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

    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

        DhcpProtocol.prototype.unpinMac = function (mac) {
            assert.isMac(mac);
    
            return messenger.request(
                Constants.Protocol.Exchanges.Dhcp.Name,
    Severity: Major
    Found in lib/protocol/dhcp.js and 6 other locations - About 2 hrs to fix
    lib/protocol/dhcp.js on lines 30..40
    lib/protocol/dhcp.js on lines 69..79
    lib/protocol/dhcp.js on lines 102..112
    lib/protocol/dhcp.js on lines 168..178
    lib/protocol/dhcp.js on lines 231..241
    lib/protocol/dhcp.js on lines 264..274

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

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

    function arpCacheFactory(
        Logger,
        Promise,
        assert,
        util,
    Severity: Major
    Found in lib/common/arp.js - About 2 hrs to fix

      Function HttpTool has 69 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function HttpTool(){
              this.settings = {};
              this.urlObject = {};
              this.dataToWrite = '';
              // ********** Helper Functions/Members **********
      Severity: Major
      Found in lib/common/http-tool.js - About 2 hrs to fix

        Function graphProgressFactory has 68 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function graphProgressFactory(
            Constants,
            _,
            assert
        ) {
        Severity: Major
        Found in lib/common/graph-progress.js - About 2 hrs to fix
          Severity
          Category
          Status
          Source
          Language