edgewall/trac

View on GitHub

Showing 1,050 of 1,372 total issues

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 default
    Severity: Major
    Found in trac/util/__init__.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

                    return dist.key == toplevel.lower()
        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 e
            Severity: Major
            Found in trac/util/html.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 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 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 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 None
                      Severity: Major
                      Found in trac/notification/mail.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 None
                            Severity: Major
                            Found in trac/web/auth.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 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 mimetype
                                  Severity: Major
                                  Found in trac/mimeview/api.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return ("COALESCE(%s,'') %s%s" % (col, '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 ("COALESCE(%s,'')%s=%%s"
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language