dalisoft/nanoexpress

View on GitHub
src/helpers/is-simple-handler.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function newFnString has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const newFnString = lineGoHandle(fnString, (line, index) => {
    line = line.trim();

    if (!line) {
      return line;
Severity: Major
Found in src/helpers/is-simple-handler.js - About 2 hrs to fix

    Avoid too many return statements within this function.
    Open

        return { simple: false, reason: 'error' };
    Severity: Major
    Found in src/helpers/is-simple-handler.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status