CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Method iconv_fallback_utf8_utf16le has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function iconv_fallback_utf8_utf16le($string, $bom=false) {
        $newcharstring = '';
        if ($bom) {
            $newcharstring .= "\xFF\xFE";
        }
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.lib.php - About 1 hr to fix

    Method iconv_fallback_utf8_iso88591 has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function iconv_fallback_utf8_iso88591($string) {
            if (function_exists('utf8_decode')) {
                return utf8_decode($string);
            }
            // utf8_decode() unavailable, use getID3()'s iconv_fallback() conversions (possibly PHP is compiled without XML support)
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.lib.php - About 1 hr to fix

      Method wp_admin_bar_my_account_menu has 34 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function wp_admin_bar_my_account_menu( $wp_admin_bar ) {
          $user_id      = get_current_user_id();
          $current_user = wp_get_current_user();
          $profile_url  = get_edit_profile_url( $user_id );
      
      
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/admin-bar.php - About 1 hr to fix

        Method check_ipv6 has 34 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public static function check_ipv6($ip)
            {
                $ip = self::uncompress($ip);
                list($ipv6, $ipv4) = self::split_v6_v4($ip);
                $ipv6 = explode(':', $ipv6);
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Net/IPv6.php - About 1 hr to fix

          Method widget has 34 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function widget( $args, $instance ) {
                  extract( $args );
          
                  $title = apply_filters('widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title']);
                  $c = $instance['count'] ? '1' : '0';
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/default-widgets.php - About 1 hr to fix

            Method image_constrain_size_for_editor has 34 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function image_constrain_size_for_editor($width, $height, $size = 'medium') {
                global $content_width, $_wp_additional_image_sizes;
            
                if ( is_array($size) ) {
                    $max_width = $size[0];
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/media.php - About 1 hr to fix

              Method wp_update_nav_menu_object has 34 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function wp_update_nav_menu_object( $menu_id = 0, $menu_data = array() ) {
                  $menu_id = (int) $menu_id;
              
                  $_menu = wp_get_nav_menu_object( $menu_id );
              
              
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/nav-menu.php - About 1 hr to fix

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

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

                  Method wp_page_menu has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function wp_page_menu( $args = array() ) {
                      $defaults = array('sort_column' => 'menu_order, post_title', 'menu_class' => 'menu', 'echo' => true, 'link_before' => '', 'link_after' => '');
                      $args = wp_parse_args( $args, $defaults );
                      $args = apply_filters( 'wp_page_menu_args', $args );
                  
                  
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/post-template.php - About 1 hr to fix

                    Method get_delete_post_link has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function get_delete_post_link($id = 0, $context = 'display') {
                        if ( !$post = &get_post( $id ) )
                            return;
                    
                        if ( 'display' == $context )
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/link-template.php - About 1 hr to fix

                      Method get_edit_post_link has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function get_edit_post_link( $id = 0, $context = 'display' ) {
                          if ( !$post = &get_post( $id ) )
                              return;
                      
                          if ( 'display' == $context )
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/link-template.php - About 1 hr to fix

                        Method update_option has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function update_option( $option_name, $newvalue ) {
                            global $wpdb;
                        
                            wp_protect_special_option( $option_name );
                        
                        
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                          Method MailSend has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function MailSend($header, $body) {
                          
                              $to = '';
                              for($i = 0; $i < count($this->to); $i++) {
                                if($i != 0) { $to .= ', '; }
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-phpmailer.php - About 1 hr to fix

                            Method TeachingLadies has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    public static void TeachingLadies(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                    {
                                        var division = "Teaching Ladies";
                                        var isPoa = true;
                                        var game = 0;
                            Severity: Minor
                            Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                              Method Seniors has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      public static void Seniors(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                      {
                                          var division = "Seniors";
                                          var isPoa = true;
                                          var game = 0;
                              Severity: Minor
                              Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                                Method TournamentLadiesSingle has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        public static void TournamentLadiesSingle(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                        {
                                            var division = "Tournament Ladies Single";
                                            var isPoa = false;
                                            var game = 0;
                                Severity: Minor
                                Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                                  Method TeachingMen has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          public static void TeachingMen(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                          {
                                              var division = "Teaching Men";
                                              var isPoa = true;
                                              var game = 0;
                                  Severity: Minor
                                  Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                                    Method TournamentMenSingle has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            public static void TournamentMenSingle(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                            {
                                                var division = "Tournament Men Single";
                                                var isPoa = false;
                                                var game = 0;
                                    Severity: Minor
                                    Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                                      Method TournamentMen has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              public static void TournamentMen(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                              {
                                                  var division = "Tournament Men";
                                                  var isPoa = false;
                                                  var game = 0;
                                      Severity: Minor
                                      Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix

                                        Method TournamentLadies has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                public static void TournamentLadies(ICommandQueries commandQueries, MessageDispatcher dispatcher)
                                                {
                                                    var division = "Tournament Ladies";
                                                    var isPoa = false;
                                                    var game = 0;
                                        Severity: Minor
                                        Found in Aggregates/Admin/ScheduleBuilder.cs - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language