j84reginato/my-eval

View on GitHub

Showing 154 of 154 total issues

Avoid too many return statements within this method.
Open

                return $this->visitFactorialNode($node);
Severity: Major
Found in src/Solving/LaTeXPrinter.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

                      return Complex::tanh($z);
      Severity: Major
      Found in src/Solving/ComplexEvaluator.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 1 / $tan_inner;
          Severity: Major
          Found in src/Solving/StdMathEvaluator.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

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

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                          return true;
                              Severity: Major
                              Found in src/Parsing/Parser.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return new InfixExpressionNode('-', $operand, null);
                                Severity: Major
                                Found in src/Parsing/Operations/Math/SubtractionOperation.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return true;
                                  Severity: Major
                                  Found in src/Parsing/Parser.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                      return atanh(1 / $inner);
                                      Severity: Major
                                      Found in src/Solving/StdMathEvaluator.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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language