mossadal/math-parser

View on GitHub

Showing 188 of 188 total issues

Avoid too many return statements within this method.
Open

                return 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 new Complex($z->arg(), 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 $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 '\infty{}';
        Severity: Major
        Found in src/MathParser/Interpreting/LaTeXPrinter.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/LaTeXPrinter.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return atanh(1 / $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 false;
              Severity: Major
              Found in src/MathParser/Parsing/Parser.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 "$leftValue$operator$rightValue";
                  Severity: Major
                  Found in src/MathParser/Interpreting/LaTeXPrinter.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 new RationalNode(Math::Factorial($inner->getNumerator()), 1);
                      Severity: Major
                      Found in src/MathParser/Interpreting/RationalEvaluator.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/ExponentiationNodeFactory.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/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/AdditionNodeFactory.php - About 30 mins to fix

                              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 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 "\\$functionName($operand)";
                                  Severity: Major
                                  Found in src/MathParser/Interpreting/LaTeXPrinter.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return exp($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 new Complex($z->i(), 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 cosh($inner);
                                        Severity: Major
                                        Found in src/MathParser/Interpreting/Evaluator.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language