mossadal/math-parser

View on GitHub

Showing 178 of 188 total issues

Avoid too many return statements within this method.
Open

                return Complex::div($a, $b);
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::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::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 '{' . $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 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 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 ceil($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 "$real${imag}i";
                    Severity: Major
                    Found in src/MathParser/Extensions/Complex.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return new PostfixOperatorNode($token->getValue(), null);
                      Severity: Major
                      Found in src/MathParser/Parsing/Nodes/Node.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return new NumberNode($leftOperand->getValue() * $rightOperand->getValue());
                        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 new ExpressionNode(null, $token->getValue(), null);
                          Severity: Major
                          Found in src/MathParser/Parsing/Nodes/Node.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return 8 + $left->complexity() + (($right === null) ? 0 : $right->complexity());
                            Severity: Major
                            Found in src/MathParser/Parsing/Nodes/Node.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 false;
                                Severity: Major
                                Found in src/MathParser/Parsing/Nodes/ExpressionNode.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return new FunctionNode($token->getValue(), null);
                                  Severity: Major
                                  Found in src/MathParser/Parsing/Nodes/Node.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return true;
                                    Severity: Major
                                    Found in src/MathParser/Parsing/Nodes/Node.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/Node.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/Node.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language