hisptz/90-90-90-cascade-graph-library

View on GitHub

Showing 25 of 33 total issues

Avoid too many return statements within this function.
Open

            return 100;
Severity: Major
Found in cascade/index.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return parseFloat(calculate90Percent(initialTarget).toFixed(2));
    Severity: Major
    Found in cascade/index.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return initialTarget;
      Severity: Major
      Found in cascade/index.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return parseFloat(sanitizedSeriesData[pos].toFixed(2));
        Severity: Major
        Found in cascade/index.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return parseFloat(
                          calculate90Percent(calculate90Percent(initialTarget)).toFixed(2)
                      );
          Severity: Major
          Found in cascade/index.js - About 30 mins to fix
            Severity
            Category
            Status
            Source
            Language