mossadal/math-parser

View on GitHub

Showing 178 of 188 total issues

Avoid too many return statements within this method.
Open

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

      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 null;
        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($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::div(1, 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 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 new RationalNode($p, $q);
                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 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 $this->nodeFactory->multiplication($rightValue, $node);
                    Severity: Major
                    Found in src/MathParser/Interpreting/Differentiator.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return "$prepend$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 $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 $this->visitFactorialNode($node);
                          Severity: Major
                          Found in src/MathParser/Interpreting/LaTeXPrinter.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return pi() / 2 - atan($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 Math::SemiFactorial($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->division($inner, $denominator);
                                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::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 $this->nodeFactory->division($inner, $denom);
                                    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::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 $this->nodeFactory->division($inner, new FunctionNode('sqrt', $temp));
                                        Severity: Major
                                        Found in src/MathParser/Interpreting/Differentiator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language