handsontable/formula.js

View on GitHub

Showing 506 of 506 total issues

Avoid too many return statements within this function.
Open

  return Math.round(ChiSq(xsqr, dof) * 1000000) / 1000000;
Severity: Major
Found in lib/statistical.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return number1 & number2;
    Severity: Major
    Found in lib/engineering.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return error.value;
      Severity: Major
      Found in lib/engineering.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return Math.atan(y / x) - Math.PI;
        Severity: Major
        Found in lib/engineering.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

            return jStat.row(matrix, index);
          Severity: Major
          Found in lib/statistical.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return (places >= result.length) ? text.REPT('0', places - result.length) + result : error.num;
            Severity: Major
            Found in lib/engineering.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return error.value;
              Severity: Major
              Found in lib/engineering.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return (isNaN(inumber.substring(0, inumber.length - 1))) ? error.num : 0;
                Severity: Major
                Found in lib/engineering.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return (places >= result.length) ? text.REPT('0', places - result.length) + result : error.num;
                  Severity: Major
                  Found in lib/engineering.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return -exports.ROUND(Math.ceil(Math.abs(number) / significance) * significance, precision);
                    Severity: Major
                    Found in lib/math-trig.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return error.num;
                      Severity: Major
                      Found in lib/engineering.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return error.num;
                        Severity: Major
                        Found in lib/engineering.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return (isNaN(inumber.substring(0, plus)) || isNaN(inumber.substring(plus + 1, inumber.length - 1))) ?
                                  error.num :
                                  Number(inumber.substring(plus + 1, inumber.length - 1));
                          Severity: Major
                          Found in lib/engineering.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return 0;
                            Severity: Major
                            Found in lib/engineering.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return error.value;
                              Severity: Major
                              Found in lib/engineering.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return (isNaN(inumber.substring(0, inumber.length - 1))) ? error.num : inumber.substring(0, inumber.length - 1);
                                Severity: Major
                                Found in lib/engineering.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                            return idx + 1;
                                  Severity: Major
                                  Found in lib/lookup-reference.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                      return total;
                                    Severity: Major
                                    Found in lib/date-time.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                        return start_date;
                                      Severity: Major
                                      Found in lib/date-time.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return jStat.col(matrix, index);
                                        Severity: Major
                                        Found in lib/statistical.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language