e107inc/e107

View on GitHub
e107_core/url/news/sef_noid_url.php

Summary

Maintainability
A
3 hrs
Test Coverage
F
34%

Avoid too many return statements within this method.
Open

                return 'list/tag';
Severity: Major
Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return 'list/author';
    Severity: Major
    Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return 'list/month';
      Severity: Major
      Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return false;
        Severity: Major
        Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return 'list/all';
          Severity: Major
          Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return 'list/day';
            Severity: Major
            Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return false;
              Severity: Major
              Found in e107_core/url/news/sef_noid_url.php - About 30 mins to fix

                Returning type false but parse() is declared to return string
                Open

                        return false;
                Severity: Minor
                Found in e107_core/url/news/sef_noid_url.php by phan

                Returning type false but parse() is declared to return string
                Open

                                    return false;
                Severity: Minor
                Found in e107_core/url/news/sef_noid_url.php by phan

                Returning type false but parse() is declared to return string
                Open

                                return false;
                Severity: Minor
                Found in e107_core/url/news/sef_noid_url.php by phan

                Returning type false but create() is declared to return array|string
                Open

                        if(empty($r)) return false;
                Severity: Minor
                Found in e107_core/url/news/sef_noid_url.php by phan

                There are no issues that match your filters.

                Category
                Status