CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Method do_meta_boxes has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function do_meta_boxes($page, $context, $object) {
    global $wp_meta_boxes;
    static $already_sorted = false;

    //do_action('do_meta_boxes', $page, $context, $object);
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

    Method _wp_ajax_delete_comment_response has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
        $total    = isset( $_POST['_total'] )    ? (int) $_POST['_total']    : 0;
        $per_page = isset( $_POST['_per_page'] ) ? (int) $_POST['_per_page'] : 0;
        $page     = isset( $_POST['_page'] )     ? (int) $_POST['_page']     : 0;
        $url      = isset( $_POST['_url'] )      ? esc_url_raw( $_POST['_url'] ) : '';
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 1 hr to fix

      Method signup_user has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
          global $active_signup;
      
          if ( !is_wp_error($errors) )
              $errors = new WP_Error();
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-signup.php - About 1 hr to fix

        Method wp_getPageList has 37 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function wp_getPageList($args) {
                global $wpdb;
        
                $this->escape($args);
        
        
        Severity: Minor
        Found in Web.Admin/2014/wordpress/xmlrpc.php - About 1 hr to fix

          Method css has 37 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function css() {
          ?>
          
          <style type="text/css">
          .a-stats {

            Method wp_set_comment_status has 37 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) {
                global $wpdb;
            
                $status = '0';
                switch ( $comment_status ) {
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

              Method get_comment_count has 37 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function get_comment_count( $post_id = 0 ) {
                  global $wpdb;
              
                  $post_id = (int) $post_id;
              
              
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

                Method blogger_getRecentPosts has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

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

                  Method LAMEpresetUsedLookup has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function LAMEpresetUsedLookup($LAMEtag) {
                  
                          if ($LAMEtag['preset_used_id'] == 0) {
                              // no preset used (LAME >=3.93)
                              // no preset recorded (LAME <3.93)
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.mp3.php - About 1 hr to fix

                    Method get_post has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function &get_post(&$post, $output = OBJECT, $filter = 'raw') {
                        global $wpdb;
                        $null = null;
                    
                        if ( empty($post) ) {
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/post.php - About 1 hr to fix

                      Method export_to_file has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function export_to_file($filename) {
                              $fh = fopen($filename, 'wb');
                              if ( !$fh ) return false;
                              $entries = array_filter($this->entries, create_function('$e', 'return !empty($e->translations);'));
                              ksort($entries);
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/pomo/mo.php - About 1 hr to fix

                        Method __get has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function __get($name)
                            {
                                // isset() returns false for null, we don't want to do that
                                // Also why we use array_key_exists below instead of isset()
                                $props = get_object_vars($this);
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 1 hr to fix

                          Method build_time_query has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function build_time_query( $column, $compare, $hour = null, $minute = null, $second = null ) {
                                  global $wpdb;
                          
                                  // Have to have at least one
                                  if ( ! isset( $hour ) && ! isset( $minute ) && ! isset( $second ) )
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/date.php - About 1 hr to fix

                            Method init has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function init () {
                                if ( defined('MAGPIE_INITALIZED') ) {
                                    return;
                                }
                                else {
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/rss.php - About 1 hr to fix

                              Method feed_end_element has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function feed_end_element ($p, $el) {
                                      $el = strtolower($el);
                              
                                      if ( $el == 'item' or $el == 'entry' )
                                      {
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/rss.php - About 1 hr to fix

                                Method update_blog_status has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
                                    global $wpdb;
                                
                                    if ( null !== $deprecated  )
                                        _deprecated_argument( __FUNCTION__, '3.1' );
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/ms-blogs.php - About 1 hr to fix

                                  Method EncodeQP has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    function EncodeQP( $input = '', $line_max = 76, $space_conv = false ) {
                                      $hex = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
                                      $lines = preg_split('/(?:\r\n|\r|\n)/', $input);
                                      $eol = "\r\n";
                                      $escape = '=';
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/class-phpmailer.php - About 1 hr to fix

                                    Method comments_popup_link has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
                                        global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post;
                                    
                                        if ( false === $zero ) $zero = __( 'No Comments' );
                                        if ( false === $one ) $one = __( '1 Comment' );
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/comment-template.php - About 1 hr to fix

                                      Method AttachAll has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        function AttachAll() {
                                          /* Return text of body */
                                          $mime = array();
                                      
                                          /* Add all attachments */
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/class-phpmailer.php - About 1 hr to fix

                                        Method processHeaders has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public static function processHeaders( $headers, $url = '' ) {
                                                // split headers, one per array element
                                                if ( is_string($headers) ) {
                                                    // tolerate line terminator: CRLF = LF (RFC 2616 19.3)
                                                    $headers = str_replace("\r\n", "\n", $headers);
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-http.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language