edgewall/trac

View on GitHub

Showing 1,048 of 1,370 total issues

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 2
    Severity: Major
    Found in trac/admin/console.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

            return False
        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 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 None
              Severity: Major
              Found in trac/notification/mail.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 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, args)
                    Severity: Major
                    Found in trac/db/util.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 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 False
                          Severity: Major
                          Found in trac/web/auth.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/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 tag(groups[0], [(', ', g) for g in groups[1:]])
                                  Severity: Major
                                  Found in trac/ticket/query.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                        return (('NOT ' if neg else '')
                                    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(
                                      Severity: Major
                                      Found in trac/ticket/query.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return tag.span(_("No results"), class_='query_no_results')
                                        Severity: Major
                                        Found in trac/ticket/query.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language