mossadal/math-parser

View on GitHub

Showing 188 of 188 total issues

Avoid too many return statements within this method.
Open

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

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                        return 1 / $tan_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 $this->nodeFactory->simplify($node);
          Severity: Major
          Found in src/MathParser/Parsing/Parser.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return Complex::cosh($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::arcosh($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::exp($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 sqrt($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($leftOperand->getValue() + $rightOperand->getValue());
                    Severity: Major
                    Found in src/MathParser/Parsing/Nodes/Factories/AdditionNodeFactory.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return $this->nodeFactory->multiplication($inner, $df);
                      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::artanh($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 sin(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 1 / $tan_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 log10($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 NAN;
                                Severity: Major
                                Found in src/MathParser/Interpreting/Evaluator.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return acosh($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 abs($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 floor($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 $this->nodeFactory->simplify($node);
                                        Severity: Major
                                        Found in src/MathParser/Parsing/Parser.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language