j84reginato/my-eval

View on GitHub

Showing 147 of 154 total issues

Avoid too many return statements within this method.
Open

                return M_PI / 2 - atan($inner);
Severity: Major
Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return Math::semiFactorial((int)$inner);
    Severity: Major
    Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return "$leftValue OR $rightValue";
      Severity: Major
      Found in src/Solving/ASCIIPrinter.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return $this->nodeFactory->division($inner, $denom);
        Severity: Major
        Found in src/Solving/Differentiator.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return "($text)";
          Severity: Major
          Found in src/Solving/LaTeXPrinter.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return ceil($inner);
            Severity: Major
            Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return Complex::log($z);
              Severity: Major
              Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return asinh($inner);
                Severity: Major
                Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return "$leftValue<>$rightValue";
                  Severity: Major
                  Found in src/Solving/ASCIIPrinter.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $this->nodeFactory->division($inner, $denominator);
                    Severity: Major
                    Found in src/Solving/Differentiator.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return Complex::arsinh($z);
                      Severity: Major
                      Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return NAN;
                        Severity: Major
                        Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return new Complex($z->abs(), 0);
                          Severity: Major
                          Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return round($inner);
                            Severity: Major
                            Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return new Complex($z->imaginary, 0);
                              Severity: Major
                              Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return "$leftValue$operator$rightValue";
                                Severity: Major
                                Found in src/Solving/ASCIIPrinter.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return "$leftValue<$rightValue";
                                  Severity: Major
                                  Found in src/Solving/ASCIIPrinter.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $result;
                                    Severity: Major
                                    Found in src/Solving/LaTeXPrinter.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return "($text)";
                                      Severity: Major
                                      Found in src/Solving/ASCIIPrinter.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return Complex::pow($left->accept($this), $right->accept($this));
                                        Severity: Major
                                        Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language