wp-plugins/all-in-one-seo-pack

View on GitHub

Showing 399 of 427 total issues

Avoid too many return statements within this method.
Open

                return '[' . join(',', $elements) . ']';
Severity: Major
Found in JSON.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                            return $property;
    Severity: Major
    Found in JSON.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $title;
      Severity: Major
      Found in aioseop_class.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return false;
        Severity: Major
        Found in aioseop_class.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return apply_filters( 'aioseop_home_page_title', $home_title );
          Severity: Major
          Found in aioseop_class.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return apply_filters( 'aioseop_title_single', $title );
            Severity: Major
            Found in aioseop_class.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return false;
              Severity: Major
              Found in aioseop_class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return '';
                Severity: Major
                Found in JSON.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              } else return false;
                  Severity: Major
                  Found in aioseop_class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                if ( is_post_type_archive() && !is_post_type_archive( $wp_post_types ) ) return false;
                    Severity: Major
                    Found in aioseop_class.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return '';
                      Severity: Major
                      Found in JSON.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return '{' . join(',', $properties) . '}';
                        Severity: Major
                        Found in JSON.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS)
                                              ? 'null'
                                              : new Services_JSON_Error(gettype($var)." can not be encoded as JSON string");
                          Severity: Major
                          Found in JSON.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $title;
                            Severity: Major
                            Found in aioseop_class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      if ( empty( $link ) || !is_string( $link ) ) return false;
                              Severity: Major
                              Found in aioseop_class.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return '{' . join(',', $properties) . '}';
                                Severity: Major
                                Found in JSON.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              if ( $post === null ) return false;
                                  Severity: Major
                                  Found in aioseop_class.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                                return $arr;
                                    Severity: Major
                                    Found in JSON.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                  return $obj;
                                      Severity: Major
                                      Found in JSON.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                if ( !empty( $this->meta_opts ) && $this->meta_opts['aiosp_disable'] == true ) return false;
                                        Severity: Major
                                        Found in aioseop_class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language