edgewall/trac

View on GitHub

Showing 1,372 of 1,372 total issues

Avoid too many return statements within this function.
Open

                return diff_blocks(old_content.splitlines(),
Severity: Major
Found in trac/versioncontrol/web_ui/changeset.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return self._render_view(req, versioned_page)
    Severity: Major
    Found in trac/wiki/web_ui.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return self._render_history(req, versioned_page)
      Severity: Major
      Found in trac/wiki/web_ui.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return tag.a(label, class_='forbidden wiki',
        Severity: Major
        Found in trac/wiki/api.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return '/'.join(referrer[:-1]) + '/' + pagename
          Severity: Major
          Found in trac/wiki/api.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return self._make_intertrac_link(ns, target, label) or \
            Severity: Major
            Found in trac/wiki/formatter.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return tag_("%(title)s: %(message)s",
              Severity: Major
              Found in trac/versioncontrol/web_ui/changeset.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return self._render_editor(req, page)
                Severity: Major
                Found in trac/wiki/web_ui.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return original_label or label
                  Severity: Major
                  Found in trac/wiki/api.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return []
                    Severity: Major
                    Found in trac/versioncontrol/web_ui/changeset.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return self._render_confirm_rename(req, page)
                      Severity: Major
                      Found in trac/wiki/web_ui.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return self._render_diff(req, versioned_page)
                        Severity: Major
                        Found in trac/wiki/web_ui.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

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

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

                                              return _("Attachments of %(parent)s",
                                  Severity: Major
                                  Found in trac/attachment.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return True
                                    Severity: Major
                                    Found in trac/util/html.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 Markup(str(e).replace('"', '"').replace(''', "'"))
                                        Severity: Major
                                        Found in trac/util/html.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language