edgewall/trac

View on GitHub

Showing 1,048 of 1,370 total issues

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 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._make_ext_link(ns + ':' + target, label)
      Severity: Major
      Found in trac/wiki/formatter.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 []
          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._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 escape(match)
              Severity: Major
              Found in trac/wiki/formatter.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 '/'.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._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 e
                      Severity: Major
                      Found in trac/util/html.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 True
                          Severity: Major
                          Found in trac/util/html.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 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 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 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_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 dist.key == toplevel.lower()
                                        Severity: Major
                                        Found in trac/util/__init__.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language