flowjs/flow.js

View on GitHub
samples/Node.js/flow-node.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

    $.post = function(req, callback) {

        var fields = req.body;
        var files = req.files;

Severity: Minor
Found in samples/Node.js/flow-node.js - About 1 hr to fix

    Function validateRequest has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function validateRequest(chunkNumber, chunkSize, totalSize, identifier, filename, fileSize) {
    Severity: Minor
    Found in samples/Node.js/flow-node.js - About 45 mins to fix

      Avoid too many return statements within this function.
      Open

                      return 'invalid_flow_request4';
      Severity: Major
      Found in samples/Node.js/flow-node.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return 'invalid_flow_request5';
        Severity: Major
        Found in samples/Node.js/flow-node.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return 'valid';
          Severity: Major
          Found in samples/Node.js/flow-node.js - About 30 mins to fix

            There are no issues that match your filters.

            Category
            Status