mossadal/math-parser

View on GitHub

Showing 188 of 188 total issues

Avoid too many return statements within this method.
Open

                return sinh($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 atanh($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/DivisionNodeFactory.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 "$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 Complex::arccot($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 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 exp($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, new FunctionNode('sqrt', $temp));
                  Severity: Major
                  Found in src/MathParser/Interpreting/Differentiator.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 $this->rpow($a, $b);
                      Severity: Major
                      Found in src/MathParser/Interpreting/RationalEvaluator.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return pow($leftValue, $rightValue);
                        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->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 Complex::arsinh($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 asin($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 / $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 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 log($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 $inner >= 0 ? 1 : -1;
                                      Severity: Major
                                      Found in src/MathParser/Interpreting/Evaluator.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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