mossadal/math-parser

View on GitHub

Showing 188 of 188 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                            return exp($logGamma);
            Severity: Major
            Found in src/MathParser/Interpreting/Evaluator.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return $z;
              Severity: Major
              Found in src/MathParser/Extensions/Complex.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                    return $this->nodeFactory->multiplication($node, $factor2);
                Severity: Major
                Found in src/MathParser/Interpreting/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/MathParser/Interpreting/ComplexEvaluator.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return Complex::sinh($z);
                    Severity: Major
                    Found in src/MathParser/Interpreting/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/MathParser/Interpreting/ComplexEvaluator.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                          return '\frac{' . $left->accept($this) . '}{' . $right->accept($this) . '}';
                          Severity: Major
                          Found in src/MathParser/Interpreting/LaTeXPrinter.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                              return new IntegerNode(pow($leftOperand->getValue(), $rightOperand->getValue()));
                              Severity: Major
                              Found in src/MathParser/Parsing/Nodes/Factories/ExponentiationNodeFactory.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return new IntegerNode($leftOperand->getValue() - $rightOperand->getValue());
                                Severity: Major
                                Found in src/MathParser/Parsing/Nodes/Factories/SubtractionNodeFactory.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return null;
                                  Severity: Major
                                  Found in src/MathParser/Parsing/Nodes/Factories/MultiplicationNodeFactory.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return 'INF';
                                    Severity: Major
                                    Found in src/MathParser/Interpreting/ASCIIPrinter.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                        return Complex::div(Complex::log($z), M_LN10);
                                        Severity: Major
                                        Found in src/MathParser/Interpreting/ComplexEvaluator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language