WordPress/WordPress

View on GitHub
wp-includes/SimplePie/Misc.php

Summary

Maintainability
F
1 mo
Test Coverage

Method encoding has 1060 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function encoding($charset)
    {
        // Normalization from UTS #22
        switch (strtolower(preg_replace('/(?:[^a-zA-Z0-9]+|([^0-9])0+)/', '\1', $charset)))
        {
Severity: Major
Found in wp-includes/SimplePie/Misc.php - About 5 days to fix

    File Misc.php has 1777 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * SimplePie
     *
     * A PHP-Based RSS and Atom Feed Framework.
    Severity: Major
    Found in wp-includes/SimplePie/Misc.php - About 4 days to fix

      Function xml_encoding has a Cognitive Complexity of 36 (exceeds 5 allowed). Consider refactoring.
      Open

          public static function xml_encoding($data, $registry)
          {
              // UTF-32 Big Endian BOM
              if (substr($data, 0, 4) === "\x00\x00\xFE\xFF")
              {
      Severity: Minor
      Found in wp-includes/SimplePie/Misc.php - About 5 hrs to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      SimplePie_Misc has 36 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class SimplePie_Misc
      {
          public static function time_hms($seconds)
          {
              $time = '';
      Severity: Minor
      Found in wp-includes/SimplePie/Misc.php - About 4 hrs to fix

        Method xml_encoding has 85 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public static function xml_encoding($data, $registry)
            {
                // UTF-32 Big Endian BOM
                if (substr($data, 0, 4) === "\x00\x00\xFE\xFF")
                {
        Severity: Major
        Found in wp-includes/SimplePie/Misc.php - About 3 hrs to fix

          Function get_element has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring.
          Open

              public static function get_element($realname, $string)
              {
                  $return = array();
                  $name = preg_quote($realname, '/');
                  if (preg_match_all("/<($name)" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE))
          Severity: Minor
          Found in wp-includes/SimplePie/Misc.php - About 2 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function uncomment_rfc822 has a Cognitive Complexity of 19 (exceeds 5 allowed). Consider refactoring.
          Open

              public static function uncomment_rfc822($string)
              {
                  $string = (string) $string;
                  $position = 0;
                  $length = strlen($string);
          Severity: Minor
          Found in wp-includes/SimplePie/Misc.php - About 2 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function codepoint_to_utf8 has a Cognitive Complexity of 19 (exceeds 5 allowed). Consider refactoring.
          Open

              public static function codepoint_to_utf8($codepoint)
              {
                  $codepoint = (int) $codepoint;
                  if ($codepoint < 0)
                  {
          Severity: Minor
          Found in wp-includes/SimplePie/Misc.php - About 2 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Consider simplifying this complex logical expression.
          Open

                  if ($integer >= 0x41 && $integer <= 0x5A || $integer >= 0x61 && $integer <= 0x7A || $integer >= 0x30 && $integer <= 0x39 || $integer === 0x2D || $integer === 0x2E || $integer === 0x5F || $integer === 0x7E)
                  {
                      return chr($integer);
                  }
          Severity: Critical
          Found in wp-includes/SimplePie/Misc.php - About 2 hrs to fix

            Method uncomment_rfc822 has 46 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public static function uncomment_rfc822($string)
                {
                    $string = (string) $string;
                    $position = 0;
                    $length = strlen($string);
            Severity: Minor
            Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

              Method debug has 43 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public static function debug(&$sp)
                  {
                      $info = 'SimplePie ' . SIMPLEPIE_VERSION . ' Build ' . SIMPLEPIE_BUILD . "\n";
                      $info .= 'PHP ' . PHP_VERSION . "\n";
                      if ($sp->error() !== null)
              Severity: Minor
              Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                Function error has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
                Open

                    public static function error($message, $level, $file, $line)
                    {
                        if ((ini_get('error_reporting') & $level) > 0)
                        {
                            switch ($level)
                Severity: Minor
                Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function debug has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
                Open

                    public static function debug(&$sp)
                    {
                        $info = 'SimplePie ' . SIMPLEPIE_VERSION . ' Build ' . SIMPLEPIE_BUILD . "\n";
                        $info .= 'PHP ' . PHP_VERSION . "\n";
                        if ($sp->error() !== null)
                Severity: Minor
                Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Method error has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public static function error($message, $level, $file, $line)
                    {
                        if ((ini_get('error_reporting') & $level) > 0)
                        {
                            switch ($level)
                Severity: Minor
                Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                  Method get_element has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function get_element($realname, $string)
                      {
                          $return = array();
                          $name = preg_quote($realname, '/');
                          if (preg_match_all("/<($name)" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE))
                  Severity: Minor
                  Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                    Function change_encoding has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
                    Open

                        public static function change_encoding($data, $input, $output)
                        {
                            $input = SimplePie_Misc::encoding($input);
                            $output = SimplePie_Misc::encoding($output);
                    
                    
                    Severity: Minor
                    Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                    Cognitive Complexity

                    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                    A method's cognitive complexity is based on a few simple rules:

                    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                    • Code is considered more complex for each "break in the linear flow of the code"
                    • Code is considered more complex when "flow breaking structures are nested"

                    Further reading

                    Method change_encoding has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public static function change_encoding($data, $input, $output)
                        {
                            $input = SimplePie_Misc::encoding($input);
                            $output = SimplePie_Misc::encoding($output);
                    
                    
                    Severity: Minor
                    Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                      Method change_encoding_mbstring has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          protected static function change_encoding_mbstring($data, $input, $output)
                          {
                              if ($input === 'windows-949')
                              {
                                  $input = 'EUC-KR';
                      Severity: Minor
                      Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                        Method output_javascript has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public static function output_javascript()
                            {
                                if (function_exists('ob_gzhandler'))
                                {
                                    ob_start('ob_gzhandler');
                        Severity: Minor
                        Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                          Method atom_03_construct_type has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public static function atom_03_construct_type($attribs)
                              {
                                  if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
                                  {
                                      $mode = SIMPLEPIE_CONSTRUCT_BASE64;
                          Severity: Minor
                          Found in wp-includes/SimplePie/Misc.php - About 1 hr to fix

                            Function get_build has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
                            Open

                                public static function get_build()
                                {
                                    $root = dirname(dirname(__FILE__));
                                    if (file_exists($root . '/.git/index'))
                                    {
                            Severity: Minor
                            Found in wp-includes/SimplePie/Misc.php - About 45 mins to fix

                            Cognitive Complexity

                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                            A method's cognitive complexity is based on a few simple rules:

                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                            • Code is considered more complex for each "break in the linear flow of the code"
                            • Code is considered more complex when "flow breaking structures are nested"

                            Further reading

                            Avoid deeply nested control flow statements.
                            Open

                                                    if (count($attribs[$j]) === 2)
                                                    {
                                                        $attribs[$j][2] = $attribs[$j][1];
                                                    }
                            Severity: Major
                            Found in wp-includes/SimplePie/Misc.php - About 45 mins to fix

                              Method compress_parse_url has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public static function compress_parse_url($scheme = '', $authority = '', $path = '', $query = '', $fragment = '')
                              Severity: Minor
                              Found in wp-includes/SimplePie/Misc.php - About 35 mins to fix

                                Function change_encoding_mbstring has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                Open

                                    protected static function change_encoding_mbstring($data, $input, $output)
                                    {
                                        if ($input === 'windows-949')
                                        {
                                            $input = 'EUC-KR';
                                Severity: Minor
                                Found in wp-includes/SimplePie/Misc.php - About 35 mins to fix

                                Cognitive Complexity

                                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                A method's cognitive complexity is based on a few simple rules:

                                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                • Code is considered more complex for each "break in the linear flow of the code"
                                • Code is considered more complex when "flow breaking structures are nested"

                                Further reading

                                Function percent_encoding_normalization has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                Open

                                    public static function percent_encoding_normalization($match)
                                    {
                                        $integer = hexdec($match[1]);
                                        if ($integer >= 0x41 && $integer <= 0x5A || $integer >= 0x61 && $integer <= 0x7A || $integer >= 0x30 && $integer <= 0x39 || $integer === 0x2D || $integer === 0x2E || $integer === 0x5F || $integer === 0x7E)
                                        {
                                Severity: Minor
                                Found in wp-includes/SimplePie/Misc.php - About 35 mins to fix

                                Cognitive Complexity

                                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                A method's cognitive complexity is based on a few simple rules:

                                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                • Code is considered more complex for each "break in the linear flow of the code"
                                • Code is considered more complex when "flow breaking structures are nested"

                                Further reading

                                Avoid too many return statements within this method.
                                Open

                                            return substr_replace($url, 'itpc', 0, 4);
                                Severity: Major
                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return false;
                                  Severity: Major
                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $url;
                                    Severity: Major
                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return 'ASMO_449';
                                      Severity: Major
                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return 'BOCU-1';
                                        Severity: Major
                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                          Avoid too many return statements within this method.
                                          Open

                                                          return 'EBCDIC-US';
                                          Severity: Major
                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                            Avoid too many return statements within this method.
                                            Open

                                                            return 'Extended_UNIX_Code_Fixed_Width_for_Japanese';
                                            Severity: Major
                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                              Avoid too many return statements within this method.
                                              Open

                                                              return 'IBM297';
                                              Severity: Major
                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                Avoid too many return statements within this method.
                                                Open

                                                                return 'IBM850';
                                                Severity: Major
                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                  Avoid too many return statements within this method.
                                                  Open

                                                                  return 'ISO-8859-1-Windows-3.1-Latin-1';
                                                  Severity: Major
                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                    Avoid too many return statements within this method.
                                                    Open

                                                                    return 'ISO-8859-6';
                                                    Severity: Major
                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                      Avoid too many return statements within this method.
                                                      Open

                                                                      return 'ISO-11548-1';
                                                      Severity: Major
                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                        Avoid too many return statements within this method.
                                                        Open

                                                                        return 'EBCDIC-DK-NO';
                                                        Severity: Major
                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                          Avoid too many return statements within this method.
                                                          Open

                                                                          return 'ES';
                                                          Severity: Major
                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                            Avoid too many return statements within this method.
                                                            Open

                                                                            return 'IBM424';
                                                            Severity: Major
                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                              Avoid too many return statements within this method.
                                                              Open

                                                                              return 'DEC-MCS';
                                                              Severity: Major
                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                Avoid too many return statements within this method.
                                                                Open

                                                                                return 'EBCDIC-AT-DE';
                                                                Severity: Major
                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                  Avoid too many return statements within this method.
                                                                  Open

                                                                                  return 'GB18030';
                                                                  Severity: Major
                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                    Avoid too many return statements within this method.
                                                                    Open

                                                                                    return 'greek7';
                                                                    Severity: Major
                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                      Avoid too many return statements within this method.
                                                                      Open

                                                                                      return 'ISO-8859-4';
                                                                      Severity: Major
                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                        Avoid too many return statements within this method.
                                                                        Open

                                                                                        return 'ISO-8859-8-I';
                                                                        Severity: Major
                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                          Avoid too many return statements within this method.
                                                                          Open

                                                                                          return 'iso-ir-90';
                                                                          Severity: Major
                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                            Avoid too many return statements within this method.
                                                                            Open

                                                                                            return 'EBCDIC-AT-DE-A';
                                                                            Severity: Major
                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                              Avoid too many return statements within this method.
                                                                              Open

                                                                                              return 'EBCDIC-ES-A';
                                                                              Severity: Major
                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                Avoid too many return statements within this method.
                                                                                Open

                                                                                                return 'EUC-JP';
                                                                                Severity: Major
                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                  Avoid too many return statements within this method.
                                                                                  Open

                                                                                                  return 'IBM277';
                                                                                  Severity: Major
                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                    Avoid too many return statements within this method.
                                                                                    Open

                                                                                                    return 'IBM857';
                                                                                    Severity: Major
                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                      Avoid too many return statements within this method.
                                                                                      Open

                                                                                                      return 'IBM00924';
                                                                                      Severity: Major
                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                        Avoid too many return statements within this method.
                                                                                        Open

                                                                                                        return 'ISO-8859-2-Windows-Latin-2';
                                                                                        Severity: Major
                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                          Avoid too many return statements within this method.
                                                                                          Open

                                                                                                          return 'ISO-8859-6-I';
                                                                                          Severity: Major
                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                            Avoid too many return statements within this method.
                                                                                            Open

                                                                                                            return 'ISO-10646-UCS-2';
                                                                                            Severity: Major
                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                              Avoid too many return statements within this method.
                                                                                              Open

                                                                                                              return 'ISO-10646-UTF-1';
                                                                                              Severity: Major
                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                Avoid too many return statements within this method.
                                                                                                Open

                                                                                                                return 'ISO-Unicode-IBM-1265';
                                                                                                Severity: Major
                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                  Avoid too many return statements within this method.
                                                                                                  Open

                                                                                                                  return 'Big5-HKSCS';
                                                                                                  Severity: Major
                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                    Avoid too many return statements within this method.
                                                                                                    Open

                                                                                                                    return 'CSA_Z243.4-1985-1';
                                                                                                    Severity: Major
                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                      Avoid too many return statements within this method.
                                                                                                      Open

                                                                                                                      return 'CSA_Z243.4-1985-2';
                                                                                                      Severity: Major
                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                        Avoid too many return statements within this method.
                                                                                                        Open

                                                                                                                        return 'EBCDIC-FI-SE-A';
                                                                                                        Severity: Major
                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                          Avoid too many return statements within this method.
                                                                                                          Open

                                                                                                                          return 'IBM280';
                                                                                                          Severity: Major
                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                            Avoid too many return statements within this method.
                                                                                                            Open

                                                                                                                            return 'IBM852';
                                                                                                            Severity: Major
                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                              Avoid too many return statements within this method.
                                                                                                              Open

                                                                                                                              return 'IBM863';
                                                                                                              Severity: Major
                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                Avoid too many return statements within this method.
                                                                                                                Open

                                                                                                                                return 'IBM866';
                                                                                                                Severity: Major
                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                  Avoid too many return statements within this method.
                                                                                                                  Open

                                                                                                                                  return 'IBM1026';
                                                                                                                  Severity: Major
                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                    Avoid too many return statements within this method.
                                                                                                                    Open

                                                                                                                                    return 'ISO-8859-3';
                                                                                                                    Severity: Major
                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                      Avoid too many return statements within this method.
                                                                                                                      Open

                                                                                                                                      return 'CESU-8';
                                                                                                                      Severity: Major
                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                        Avoid too many return statements within this method.
                                                                                                                        Open

                                                                                                                                        return 'ECMA-cyrillic';
                                                                                                                        Severity: Major
                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                          Avoid too many return statements within this method.
                                                                                                                          Open

                                                                                                                                          return 'greek-ccitt';
                                                                                                                          Severity: Major
                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                            Avoid too many return statements within this method.
                                                                                                                            Open

                                                                                                                                            return 'IBM500';
                                                                                                                            Severity: Major
                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                              Avoid too many return statements within this method.
                                                                                                                              Open

                                                                                                                                              return 'IBM871';
                                                                                                                              Severity: Major
                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                Open

                                                                                                                                                return 'IBM01140';
                                                                                                                                Severity: Major
                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                  Open

                                                                                                                                                  return 'IBM01143';
                                                                                                                                  Severity: Major
                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                    Open

                                                                                                                                                    return 'IBM01146';
                                                                                                                                    Severity: Major
                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                      Open

                                                                                                                                                      return 'EBCDIC-ES';
                                                                                                                                      Severity: Major
                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                        Open

                                                                                                                                                        return 'EBCDIC-ES-S';
                                                                                                                                        Severity: Major
                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                          Open

                                                                                                                                                          return 'IBM855';
                                                                                                                                          Severity: Major
                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                            Open

                                                                                                                                                            return 'IBM903';
                                                                                                                                            Severity: Major
                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                              Open

                                                                                                                                                              return 'INVARIANT';
                                                                                                                                              Severity: Major
                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                Open

                                                                                                                                                                return 'ISO-10646-UCS-4';
                                                                                                                                                Severity: Major
                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                  Open

                                                                                                                                                                  return 'ISO-Unicode-IBM-1261';
                                                                                                                                                  Severity: Major
                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                    Open

                                                                                                                                                                    return 'ISO-Unicode-IBM-1268';
                                                                                                                                                    Severity: Major
                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                      Open

                                                                                                                                                                      return 'dk-us';
                                                                                                                                                      Severity: Major
                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                        Open

                                                                                                                                                                        return 'EBCDIC-CA-FR';
                                                                                                                                                        Severity: Major
                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                          Open

                                                                                                                                                                          return 'IBM284';
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                            Open

                                                                                                                                                                            return 'IBM437';
                                                                                                                                                            Severity: Major
                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                              Open

                                                                                                                                                                              return 'IBM880';
                                                                                                                                                              Severity: Major
                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                Open

                                                                                                                                                                                return 'IBM01147';
                                                                                                                                                                Severity: Major
                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                  Open

                                                                                                                                                                                  return 'IEC_P27-1';
                                                                                                                                                                  Severity: Major
                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                    Open

                                                                                                                                                                                    return 'Big5';
                                                                                                                                                                    Severity: Major
                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                      Open

                                                                                                                                                                                      return 'CSN_369103';
                                                                                                                                                                      Severity: Major
                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                        Open

                                                                                                                                                                                        return 'DIN_66003';
                                                                                                                                                                        Severity: Major
                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                          Open

                                                                                                                                                                                          return 'EBCDIC-FR';
                                                                                                                                                                          Severity: Major
                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                            Open

                                                                                                                                                                                            return 'GB_1988-80';
                                                                                                                                                                            Severity: Major
                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                              Open

                                                                                                                                                                                              return 'HP-Legal';
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                Open

                                                                                                                                                                                                return 'IBM273';
                                                                                                                                                                                Severity: Major
                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                  Open

                                                                                                                                                                                                  return 'IBM274';
                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                    Open

                                                                                                                                                                                                    return 'IBM275';
                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                      Open

                                                                                                                                                                                                      return 'IBM775';
                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                        Open

                                                                                                                                                                                                        return 'IBM862';
                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                          Open

                                                                                                                                                                                                          return 'IBM904';
                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                            Open

                                                                                                                                                                                                            return 'ISO-8859-1-Windows-3.0-Latin-1';
                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                              Open

                                                                                                                                                                                                              return 'ISO-8859-5';
                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                Open

                                                                                                                                                                                                                return 'ISO-8859-6-E';
                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                  Open

                                                                                                                                                                                                                  return 'ISO-8859-16';
                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                    Open

                                                                                                                                                                                                                    return 'ISO-10646-UCS-Basic';
                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                      Open

                                                                                                                                                                                                                      return 'HP-Math8';
                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                        Open

                                                                                                                                                                                                                        return 'IBM-Symbols';
                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                          Open

                                                                                                                                                                                                                          return 'IBM-Thai';
                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                            Open

                                                                                                                                                                                                                            return 'IBM278';
                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                              Open

                                                                                                                                                                                                                              return 'IBM891';
                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                return 'IBM01142';
                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                  return 'INIS';
                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                    return 'INIS-cyrillic';
                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                      return 'ISO-2022-CN-EXT';
                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                        return 'ISO-8859-10';
                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                          return 'ISO-8859-14';
                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                            return 'ISO-8859-15';
                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                              return 'EBCDIC-DK-NO-A';
                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                return 'EBCDIC-UK';
                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                  return 'greek7-old';
                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                    return 'IBM870';
                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                      return 'IBM01145';
                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                        return 'ISO-8859-8-E';
                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                          return 'ISO-10646-J-1';
                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                            return 'ISO_646.irv:1983';
                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                              return 'BRF';
                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                return 'HP-DeskTop';
                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                  return 'IBM423';
                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                    return 'INIS-8';
                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                      return 'ISO-8859-2';
                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                        return 'ISO-Unicode-IBM-1276';
                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                          return 'ES2';
                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                            return 'GBK';
                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                              return 'IBM037';
                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                return 'IBM038';
                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                  return 'IBM285';
                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                    return 'IBM860';
                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                      return 'IBM861';
                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                        return 'IBM869';
                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                          return 'IBM01148';
                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                            return 'ISO-2022-CN';
                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                              return 'ISO-2022-JP-2';
                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                return 'ISO-8859-7';
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                  return 'ISO-8859-8';
                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                    return 'BS_viewdata';
                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                      return 'EBCDIC-IT';
                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                        return 'IBM281';
                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          return 'IBM864';
                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                            return 'IBM865';
                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                              return 'IBM01141';
                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                return 'IBM01144';
                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                  return 'ISO-2022-KR';
                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                    return 'IBM420';
                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                      return 'IBM918';
                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                        return 'IBM01149';
                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                          return 'ISO-8859-9-Windows-Latin-5';
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            return 'ISO-8859-13';
                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                              return 'ISO-Unicode-IBM-1264';
                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                return 'BS_4730';
                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                  return 'CSA_Z243.4-1985-gr';
                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                    return 'DS_2089';
                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                      return 'EBCDIC-FI-SE';
                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                        return 'EBCDIC-PT';
                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                          return 'GOST_19768-74';
                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                            return 'HP-Pi-font';
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                              return 'hp-roman8';
                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                return 'HZ-GB-2312';
                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                  return 'IBM290';
                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                    return 'IBM851';
                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                      return 'IBM00858';
                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                        return 'IBM868';
                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                          return 'IBM905';
                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                            return 'IBM1047';
                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                              return 'ISO-2022-JP';
                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                return 'ISO-10646-Unicode-Latin1';
                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                  return 'ISO_646.basic:1983';
                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                    return 'ISO_5427:1981';
                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                      return 'JIS_C6229-1984-hand';
                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                        return 'MSZ_7795.3';
                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                          return 'OSD_EBCDIC_DF04_1';
                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                            return 'UNICODE-1-1';
                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                              return 'UTF-32';
                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                return 'windows-949';
                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                  return 'JIS_C6229-1984-hand-add';
                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                    return 'KOI7-switched';
                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                      return 'NATS-SEFI-ADD';
                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                        return 'VISCII';
                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                  return "\xEF\xBF\xBD";
                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                            return 'ISO_6937-2-25';
                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                              return 'NATS-DANO-ADD';
                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                return 'NC_NC00-10:81';
                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                  return 'NF_Z_62-010_(1973)';
                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                    return 'PC8-Turkish';
                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                      return 'PTCP154';
                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                        return 'us-dk';
                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                          return 'UTF-16BE';
                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                            return 'ISO_8859-supp';
                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                              return 'JIS_C6229-1984-kana';
                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                return 'KOI8-R';
                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                  return 'T.61-7bit';
                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                    return 'Ventura-Math';
                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                      return 'windows-1250';
                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                        return 'windows-1256';
                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                          return 'ISO_2033-1983';
                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                            return 'IT';
                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                              return 'JIS_C6229-1984-a';
                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                return 'ISO_10367-box';
                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'JUS_I.B1.003-mac';
                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'SCSU';
                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'JIS_X0212-1990';
                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'windows-874';
                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'windows-1252';
                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'JUS_I.B1.002';
                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'Microsoft-Publishing';
                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'PT';
                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                          return SIMPLEPIE_CONSTRUCT_TEXT;
                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'JIS_C6220-1969-jp';
                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'JIS_C6226-1978';
                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'KSC5636';
                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'T.101-G2';
                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'MNEM';
                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'UTF-8';
                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'UTF-7';
                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'windows-1257';
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                return chr(0xf0 | ($codepoint >> 18)) . chr(0x80 | (($codepoint >> 12) & 0x3f)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f));
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'windows-1251';
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'windows-1253';
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'windows-1255';
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'ISO_5427';
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'ISO_5428:1980';
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'JIS_C6220-1969-ro';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'JIS_X0201';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'SEN_850200_C';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'Ventura-US';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'windows-1254';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'JIS_C6229-1984-b';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'Latin-greek-1';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'NS_4551-2';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'TSCII';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'UNICODE-1-1-UTF-7';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'ISO_6937-2-add';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'MNEMONIC';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'NF_Z_62-010';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'OSD_EBCDIC_DF03_IRV';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'latin-lap';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'NATS-DANO';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'SEN_850200_B';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'UTF-16LE';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'Ventura-International';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'VIQR';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return $charset;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return SIMPLEPIE_CONSTRUCT_TEXT;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return SIMPLEPIE_CONSTRUCT_BASE64;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'PC8-Danish-Norwegian';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'T.61-8bit';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'UNKNOWN-8BIT';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return SIMPLEPIE_CONSTRUCT_TEXT | $mode;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'JUS_I.B1.003-serb';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'latin-greek';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'NS_4551-1';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'UTF-32BE';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'windows-1258';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'JIS_C6226-1983';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'KZ-1048';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'NATS-SEFI';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'OSD_EBCDIC_DF04_15';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'US-ASCII';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'UTF-32LE';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            return 'videotex-suppl';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              return 'Windows-31J';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                return 'JIS_C6229-1984-b-add';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  return 'JIS_Encoding';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return 'KOI8-U';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      return 'macintosh';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return 'PT2';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this method.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          return 'UTF-16';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Found in wp-includes/SimplePie/Misc.php - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Function fix_protocol has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public static function fix_protocol($url, $http = 1)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    $url = SimplePie_Misc::normalize_url($url);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    $parsed = SimplePie_Misc::parse_url($url);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if ($parsed['scheme'] !== '' && $parsed['scheme'] !== 'http' && $parsed['scheme'] !== 'https')
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 25 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Cognitive Complexity

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A method's cognitive complexity is based on a few simple rules:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is considered more complex for each "break in the linear flow of the code"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is considered more complex when "flow breaking structures are nested"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Function atom_10_content_construct_type has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public static function atom_10_content_construct_type($attribs)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if (isset($attribs['']['type']))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        $type = strtolower(trim($attribs['']['type']));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php - About 25 mins to fix

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Cognitive Complexity

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A method's cognitive complexity is based on a few simple rules:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is considered more complex for each "break in the linear flow of the code"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code is considered more complex when "flow breaking structures are nested"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    elseif (substr($data, 0, 20) === "\x3C\x00\x00\x00\x3F\x00\x00\x00\x78\x00\x00\x00\x6D\x00\x00\x00\x6C\x00\x00\x00")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00"))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32LE', 'UTF-8')));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2071..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2097..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2110..2121

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This issue has a mass of 118.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    elseif (substr($data, 0, 10) === "\x3C\x00\x3F\x00\x78\x00\x6D\x00\x6C\x00")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if ($pos = strpos($data, "\x3F\x00\x3E\x00"))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16LE', 'UTF-8')));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2071..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2084..2095
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2097..2108

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This issue has a mass of 118.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    elseif (substr($data, 0, 20) === "\x00\x00\x00\x3C\x00\x00\x00\x3F\x00\x00\x00\x78\x00\x00\x00\x6D\x00\x00\x00\x6C")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E"))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', 'UTF-8')));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2084..2095
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2097..2108
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2110..2121

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This issue has a mass of 118.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    elseif (substr($data, 0, 10) === "\x00\x3C\x00\x3F\x00\x78\x00\x6D\x00\x6C")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if ($pos = strpos($data, "\x00\x3F\x00\x3E"))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16BE', 'UTF-8')));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php and 3 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2071..2082
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2084..2095
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Misc.php on lines 2110..2121

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This issue has a mass of 118.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Identical blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if ($string[$pos - 1] !== '\\')
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $depth++;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            while ($depth && $position < $length)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Found in wp-includes/SimplePie/Misc.php and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            wp-includes/SimplePie/Parse/Date.php on lines 774..808

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            This issue has a mass of 108.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            There are no issues that match your filters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Category
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Status