StoryScriptorg/StoryScript

View on GitHub

Showing 99 of 110 total issues

Avoid too many return statements within this function.
Open

            return self.handle_function(functioncall, original_text)
Severity: Major
Found in storyscript/lexer.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return Types.Dictionary
    Severity: Major
    Found in storyscript/langParser.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return True, None
      Severity: Major
      Found in storyscript/langParser.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return True, None
        Severity: Major
        Found in storyscript/langParser.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return None, None
          Severity: Major
          Found in storyscript/lexer.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return self.loopfor_statement(tc)
            Severity: Major
            Found in storyscript/lexer.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return Types.Dynamic
              Severity: Major
              Found in storyscript/langParser.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return Types.Action
                Severity: Major
                Found in storyscript/langParser.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return f"NotDefinedException: {e}", Exceptions.NotDefinedException
                  Severity: Major
                  Found in storyscript/langParser.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return None, None
                    Severity: Major
                    Found in storyscript/lexer.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return self.handle_array_setting_variable_methods(functioncall, function_name)
                      Severity: Major
                      Found in storyscript/lexer.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                            return "NotDefinedException: Undefined argument #1 \"msg\" in string.Trim method call.", Exceptions.NotDefinedException
                        Severity: Major
                        Found in storyscript/lexer.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return value, error
                          Severity: Major
                          Found in storyscript/lexer.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return result, None
                            Severity: Major
                            Found in storyscript/lexer.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return f"\"{msg.strip()}\"", None
                              Severity: Major
                              Found in storyscript/lexer.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return Types.Void
                                Severity: Major
                                Found in storyscript/langParser.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return f"InvalidSyntax: {e}", Exceptions.InvalidSyntax
                                  Severity: Major
                                  Found in storyscript/langParser.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return (
                                    Severity: Major
                                    Found in storyscript/lexer.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return "NotDefinedException: value arguments is required but not defined.", Exceptions.NotDefinedException
                                      Severity: Major
                                      Found in storyscript/lexer.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return None, None
                                        Severity: Major
                                        Found in storyscript/lexer.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language