CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Method create_attachment has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function create_attachment() {

        $type = $this->get_accepted_content_type();

        if(!current_user_can('upload_files'))
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-app.php - About 1 hr to fix

    Method wp_getComments has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function wp_getComments($args) {
            $this->escape($args);
    
            $blog_id    = (int) $args[0];
            $username    = $args[1];
    Severity: Minor
    Found in Web.Admin/2014/wordpress/xmlrpc.php - About 1 hr to fix

      Method add_js has 36 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function add_js() {
      ?>
      <script type="text/javascript">
      //<![CDATA[
      function GetElementsWithClassName(elementName, className) {
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-admin/options-permalink.php - About 1 hr to fix

        Method bail_on_activation has 36 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private static function bail_on_activation( $message, $deactivate = true ) {
        ?>
        <!doctype html>
        <html>
        <head>

          Method mt_getRecentPostTitles has 36 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function mt_getRecentPostTitles($args) {
          
                  $this->escape($args);
          
                  $blog_ID     = (int) $args[0];
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

            Method is_term has 36 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function is_term($term, $taxonomy = '', $parent = 0) {
                global $wpdb;
            
                $select = "SELECT term_id FROM $wpdb->terms as t WHERE ";
                $tax_select = "SELECT tt.term_id, tt.term_taxonomy_id FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_id = t.term_id WHERE ";
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 1 hr to fix

              Method iconv_fallback has 36 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public static function iconv_fallback($in_charset, $out_charset, $string) {
              
                      if ($in_charset == $out_charset) {
                          return $string;
                      }
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.lib.php - About 1 hr to fix

                Method get_children has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function &get_children($args = '', $output = OBJECT) {
                    $kids = array();
                    if ( empty( $args ) ) {
                        if ( isset( $GLOBALS['post'] ) ) {
                            $args = array('post_parent' => (int) $GLOBALS['post']->post_parent );
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/post.php - About 1 hr to fix

                  Method parseCUESHEET has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      private function parseCUESHEET($BlockData) {
                          $info = &$this->getid3->info;
                          $offset = 0;
                          $info['flac']['CUESHEET']['media_catalog_number'] =                              trim(substr($BlockData, $offset, 128), "\0");
                          $offset += 128;
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.flac.php - About 1 hr to fix

                    Method date_rfc850 has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function date_rfc850($date)
                        {
                            static $pcre;
                            if (!$pcre)
                            {
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Parse/Date.php - About 1 hr to fix

                      Method get_title has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function get_title()
                          {
                              if (!isset($this->data['title']))
                              {
                                  if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'title'))
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 1 hr to fix

                        Method shortcode has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function shortcode( $attr, $url = '' ) {
                                $post = get_post();
                        
                                if ( empty( $url ) )
                                    return '';
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/class-wp-embed.php - About 1 hr to fix

                          Method unknown has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function unknown()
                              {
                                  $ws = strspn($this->file->body, "\x09\x0A\x0B\x0C\x0D\x20");
                                  if (strtolower(substr($this->file->body, $ws, 14)) === '<!doctype html'
                                      || strtolower(substr($this->file->body, $ws, 5)) === '<html'
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                            Method get_title has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function get_title()
                                {
                                    if (!isset($this->data['title']))
                                    {
                                        if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'title'))
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                              Method date_rfc850 has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function date_rfc850($date)
                                  {
                                      static $pcre;
                                      if (!$pcre)
                                      {
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                                Method get_links has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function get_links()
                                    {
                                        $links = SimplePie_Misc::get_element('a', $this->file->body);
                                        foreach ($links as $link)
                                        {
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                                  Method wpautop has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function wpautop($pee, $br = 1) {
                                  
                                      if ( trim($pee) === '' )
                                          return '';
                                      $pee = $pee . "\n"; // just to make things a little easier, pad the end
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/formatting.php - About 1 hr to fix

                                    Method start_el has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function start_el(&$output, $comment, $depth, $args) {
                                            $depth++;
                                            $GLOBALS['comment_depth'] = $depth;
                                    
                                            if ( !empty($args['callback']) ) {
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/comment-template.php - About 1 hr to fix

                                      Method set_transient has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function set_transient( $transient, $value, $expiration = 0 ) {
                                      
                                          /**
                                           * Filter a specific transient before its value is set.
                                           *
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/option.php - About 1 hr to fix

                                        Method __construct has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function __construct( $data, $requested_url = '' ) {
                                                if ( $requested_url )
                                                    $arrURL = @parse_url( $requested_url );
                                                if ( isset( $arrURL['host'] ) )
                                                    $this->domain = $arrURL['host'];
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-http.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language