samples/Node.js/flow-node.js
Function post
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.post = function(req, callback) {
var fields = req.body;
var files = req.files;
Function validateRequest
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function validateRequest(chunkNumber, chunkSize, totalSize, identifier, filename, fileSize) {
Avoid too many return
statements within this function. Open
Open
return 'invalid_flow_request4';
Avoid too many return
statements within this function. Open
Open
return 'invalid_flow_request5';
Avoid too many return
statements within this function. Open
Open
return 'valid';