zordius/webtasks

View on GitHub

Showing 3 of 5 total issues

Function middleware has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    middleware: function (type, name) {
        var task,
            trans,
            pipe;

Severity: Minor
Found in lib/webtask.js - About 1 hr to fix

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

    module.exports = function (product_id) {
        // example: input validation
    console.log('product id: ' + product_id);
        if (!product_id) {
            return this.task();
    Severity: Minor
    Found in data/getProduct.js - About 1 hr to fix

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

          react: function (name, dynamic) {
              var CX = this;
              return function () {
                  var component,
                      componentFactory,
      Severity: Minor
      Found in lib/context.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language