ahmadnassri/mockbin

View on GitHub
lib/middleware/body-parser.js

Summary

Maintainability
B
4 hrs
Test Coverage

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

module.exports = (req, res, next) => {
    req.bodyChunks = [];

    req.on("data", (chunk) => {
        req.bodyChunks.push(chunk);
Severity: Major
Found in lib/middleware/body-parser.js - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status