ddo/chirp-rest

View on GitHub

Showing 2 of 8 total issues

Function post has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

ChirpRest.prototype.post = function(url, param, callback) {
    var self = this;

    if(arguments.length === 2) {
        callback = param;
Severity: Minor
Found in index.js - About 1 hr to fix

    Function get has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    ChirpRest.prototype.get = function(url, param, callback) {
        if(arguments.length === 2) {
            callback = param;
            param = {};
        }
    Severity: Minor
    Found in index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language