j84reginato/my-eval

View on GitHub

Showing 147 of 154 total issues

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

                            Avoid too many return statements within this method.
                            Open

                                                return $this->nodeFactory->multiplication(
                                                    new IntegerNode($exponent->value),
                                                    $this->nodeFactory->multiplication($fpow, $base->accept($this))
                                                );
                            Severity: Major
                            Found in src/Solving/Differentiator.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                                  return log($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 "$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 Complex::div($left->accept($this), $right->accept($this));
                                        Severity: Major
                                        Found in src/Solving/ComplexEvaluator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language