zalando/zappr

View on GitHub
server/checks/Specification.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  _validateBody(body, checks = {}) {
    const {
      [MINIMUM_LENGTH]: {
        enabled: shouldCheckLength = true,
        length: requiredLength = DEFAULT_REQUIRED_LENGTH
Severity: Minor
Found in server/checks/Specification.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status