CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

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

function display_setup_form( $error = null ) {
    // Ensure that Blogs appear in search engines by default
    $blog_public = 1;
    if ( isset($_POST) && !empty($_POST) ) {
        $blog_public = isset($_POST['blog_public']);
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/install.php - About 1 hr to fix

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

        function dispatch () {
            if ( empty( $_GET['step'] ) ) {
                $step = 0;
            } else {
                $step = (int) $_GET['step'];
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-admin/import/utw.php - About 1 hr to fix

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

          function get_file($postID) {
      
              // check for not found
              global $entry;
              $this->set_current_entry($postID);
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-app.php - About 1 hr to fix

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

            function wp_getPages($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 wp_insert_comment has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function wp_insert_comment($commentdata) {
              global $wpdb;
              extract(stripslashes_deep($commentdata), EXTR_SKIP);
          
              if ( ! isset($comment_author_IP) )
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

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

            function get_the_taxonomies($post = 0) {
                if ( is_int($post) )
                    $post =& get_post($post);
                elseif ( !is_object($post) )
                    $post =& $GLOBALS['post'];
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 1 hr to fix

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

                  public function APEtagItemIsUTF8Lookup($itemkey) {
                      static $APEtagItemIsUTF8Lookup = array(
                          'title',
                          'subtitle',
                          'artist',
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.tag.apetag.php - About 1 hr to fix

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

                    public function QuicktimeStoreFrontCodeLookup($sfid) {
                        static $QuicktimeStoreFrontCodeLookup = array();
                        if (empty($QuicktimeStoreFrontCodeLookup)) {
                            $QuicktimeStoreFrontCodeLookup[143460] = 'Australia';
                            $QuicktimeStoreFrontCodeLookup[143445] = 'Austria';

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

                      public static function applicationIDLookup($applicationid) {
                          // http://flac.sourceforge.net/id.html
                          static $lookup = array(
                              0x41544348 => 'FlacFile',                                                                           // "ATCH"
                              0x42534F4C => 'beSolo',                                                                             // "BSOL"
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.flac.php - About 1 hr to fix

                    Method fix_protocol has 26 lines of code (exceeds 25 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 Web.Admin/2014/wordpress/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 Web.Admin/2014/wordpress/wp-includes/SimplePie/Misc.php - About 1 hr to fix

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

                            function MagpieRSS ($source) {
                        
                                # if PHP xml isn't compiled in, die
                                #
                                if ( !function_exists('xml_parser_create') )
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/rss.php - About 1 hr to fix

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

                          function _wp_auto_add_pages_to_menu( $new_status, $old_status, $post ) {
                              if ( 'publish' != $new_status || 'publish' == $old_status || 'page' != $post->post_type )
                                  return;
                              if ( ! empty( $post->post_parent ) )
                                  return;
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/nav-menu.php - About 1 hr to fix

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

                                function form( $instance ) {
                            
                                    //Defaults
                                    $instance = wp_parse_args( (array) $instance, array( 'images' => true, 'name' => true, 'description' => false, 'rating' => false, 'category' => false ) );
                                    $link_cats = get_terms( 'link_category');
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/default-widgets.php - About 1 hr to fix

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

                              function _response_to_rss ($resp) {
                                  $rss = new MagpieRSS( $resp->results );
                              
                                  // if RSS parsed successfully
                                  if ( $rss && (!isset($rss->ERROR) || !$rss->ERROR) ) {
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/rss.php - About 1 hr to fix

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

                                function get_post_class( $class = '', $post_id = null ) {
                                    $post = get_post($post_id);
                                
                                    $classes = array();
                                
                                
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/post-template.php - About 1 hr to fix

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

                                      public function wp_ajax_update_widget() {
                                  
                                          if ( ! is_user_logged_in() ) {
                                              wp_die( 0 );
                                          }
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/class-wp-customize-widgets.php - About 1 hr to fix

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

                                        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 Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

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

                                          function replace_urls($data, $tag, $attributes)
                                          {
                                              if (!is_array($this->strip_htmltags) || !in_array($tag, $this->strip_htmltags))
                                              {
                                                  $elements = SimplePie_Misc::get_element($tag, $data);
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

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

                                        function get_comment_link( $comment = null, $args = array() ) {
                                            global $wp_rewrite, $in_comment_loop;
                                        
                                            $comment = get_comment($comment);
                                        
                                        
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/comment-template.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language