edgewall/trac

View on GitHub

Showing 1,048 of 1,370 total issues

Avoid too many return statements within this function.
Open

    return Markup(str(e).replace('"', '"').replace(''', "'"))
Severity: Major
Found in trac/util/html.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return _format_datetime_babel(t, format, locale, hint)
    Severity: Major
    Found in trac/util/datefmt.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return default
      Severity: Major
      Found in trac/util/__init__.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return toplevel in dist.get_metadata_lines('top_level.txt')
        Severity: Major
        Found in trac/util/__init__.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return bool(value)
          Severity: Major
          Found in trac/util/__init__.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return self.cursor.executemany(sql, args)
            Severity: Major
            Found in trac/db/util.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return None
              Severity: Major
              Found in trac/notification/mail.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return sid, auth, address
                Severity: Major
                Found in trac/notification/mail.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return self.cursor.executemany(sql_escape_percent(sql), args)
                  Severity: Major
                  Found in trac/db/util.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return to_unicode(value)
                    Severity: Major
                    Found in trac/config.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return auth['username']
                      Severity: Major
                      Found in trac/web/auth.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return False
                        Severity: Major
                        Found in trac/web/auth.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return None
                          Severity: Major
                          Found in trac/web/auth.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                return tag.div(class_='code')(tag.pre(result))
                            Severity: Major
                            Found in trac/mimeview/api.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                                  return self._render_source(context, result, annotations)
                              Severity: Major
                              Found in trac/mimeview/api.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return mimetype
                                Severity: Major
                                Found in trac/mimeview/api.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                      return None
                                  Severity: Major
                                  Found in trac/ticket/query.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return tag.div(tag.dl([(tag.dt(ticket_anchor(ticket)),
                                    Severity: Major
                                    Found in trac/ticket/query.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return ''
                                      Severity: Major
                                      Found in trac/ticket/roadmap.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return tag.div(
                                        Severity: Major
                                        Found in trac/ticket/query.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language