CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method twentythirteen_custom_header_setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function twentythirteen_custom_header_setup() {
    $args = array(
        // Text color and image (empty to use none).
        'default-text-color'     => '220e10',
        'default-image'          => '%s/images/headers/circle.png',

    Method twentytwelve_entry_meta has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function twentytwelve_entry_meta() {
        // Translators: used between list items, there is a space after the comma.
        $categories_list = get_the_category_list( __( ', ', 'twentytwelve' ) );
    
        // Translators: used between list items, there is a space after the comma.

      Method _prepare_comment has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function _prepare_comment( $comment ) {
              // Format page date.
              $comment_date = $this->_convert_date( $comment->comment_date );
              $comment_date_gmt = $this->_convert_date_gmt( $comment->comment_date_gmt, $comment->comment_date );
      
      
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

        Method do_trackbacks has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function do_trackbacks($post_id) {
            global $wpdb;
        
            $post = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->posts WHERE ID = %d", $post_id) );
            $to_ping = get_to_ping($post_id);
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

          Method wp_deleteTerm has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function wp_deleteTerm( $args ) {
                  if ( ! $this->minimum_args( $args, 5 ) )
                      return $this->error;
          
                  $this->escape( $args );
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

            Method wp_unique_term_slug has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function wp_unique_term_slug($slug, $term) {
                global $wpdb;
            
                // If the taxonomy supports hierarchy and the term has a parent, make the slug unique
                // by incorporating parent slugs.
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 1 hr to fix

              Method blogger_newPost has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function blogger_newPost($args) {
              
                      $this->escape($args);
              
                      $blog_ID    = (int) $args[1]; /* though we don't use it yet */
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

                Method APICPictureTypeLookup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public static function APICPictureTypeLookup($index, $returnarray=false) {
                        static $APICPictureTypeLookup = array(
                            0x00 => 'Other',
                            0x01 => '32x32 pixels \'file icon\' (PNG only)',
                            0x02 => 'Other file icon',
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.tag.id3v2.php - About 1 hr to fix

                  Method HashPassword has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function HashPassword($password)
                      {
                          $random = '';
                  
                          if (CRYPT_BLOWFISH == 1 && !$this->portable_hashes) {
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/class-phpass.php - About 1 hr to fix

                    Method WP_SimplePie_File has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function WP_SimplePie_File($url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false) {
                            $this->url = $url;
                            $this->timeout = $timeout;
                            $this->redirects = $redirects;
                            $this->headers = $headers;
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/class-feed.php - About 1 hr to fix

                      Method multi_resize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function multi_resize( $sizes ) {
                              $metadata = array();
                              $orig_size = $this->size;
                      
                              foreach ( $sizes as $size => $size_data ) {
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/class-wp-image-editor-gd.php - About 1 hr to fix

                        Method get_category_by_path has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function get_category_by_path( $category_path, $full_match = true, $output = OBJECT ) {
                            $category_path = rawurlencode( urldecode( $category_path ) );
                            $category_path = str_replace( '%2F', '/', $category_path );
                            $category_path = str_replace( '%20', ' ', $category_path );
                            $category_paths = '/' . trim( $category_path, '/' );
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/category.php - About 1 hr to fix

                          Method get has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function get ($msgNum) {
                                  //  Retrieve the specified msg number. Returns an array
                                  //  where each line of the msg is an array element.
                          
                                  if(!isset($this->FP))
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-pop3.php - About 1 hr to fix

                            Method get_user_by has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function get_user_by($field, $value) {
                                global $wpdb;
                            
                                switch ($field) {
                                    case 'id':
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 1 hr to fix

                              Method set_host has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function set_host($host)
                                  {
                                      if ($host === null || $host === '')
                                      {
                                          $this->host = null;
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                                Method calculateType has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function calculateType() {
                                        if ($this->data === true || $this->data === false) {
                                            return 'boolean';
                                        }
                                        if (is_integer($this->data)) {
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/class-IXR.php - About 1 hr to fix

                                  Method delete_option has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function delete_option( $option ) {
                                      global $wpdb;
                                  
                                      $option = trim( $option );
                                      if ( empty( $option ) )
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/option.php - About 1 hr to fix

                                    Method add_option has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function add_option( $name, $value = '', $deprecated = '', $autoload = 'yes' ) {
                                        global $wpdb;
                                    
                                        wp_protect_special_option( $name );
                                        $safe_name = esc_sql( $name );
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                                      Method is_blog_installed has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function is_blog_installed() {
                                          global $wpdb;
                                      
                                          // Check cache first. If options table goes away and we have true cached, oh well.
                                          if ( wp_cache_get( 'is_blog_installed' ) )
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                                        Method parse has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function parse() {
                                                // first remove the XML declaration
                                                // this method avoids the RAM usage of preg_replace on very large messages
                                                $header = preg_replace( '/<\?xml.*?\?'.'>/', '', substr( $this->message, 0, 100 ), 1 );
                                                $this->message = substr_replace($this->message, $header, 0, 100);
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-IXR.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language