CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method WrapText has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function WrapText($message, $length, $qp_mode = false) {
    $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
    // If utf-8 encoding is used, we will need to make sure we don't
    // split multibyte characters when we wrap
    $is_utf8 = (strtolower($this->CharSet) == "utf-8");
Severity: Major
Found in Web.Admin/2014/wordpress/wp-includes/class-phpmailer.php - About 2 hrs to fix

    File class-wp-ms-themes-list-table.php has 271 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * MS Themes List Table class.
     *
     * @package WordPress

      Base has 23 functions (exceeds 20 allowed). Consider refactoring.
      Open

      Autocompleter.Base = Class.create({
        baseInitialize: function(element, update, options) {
          element          = $(element)
          this.element     = element; 
          this.update      = $(update);  
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/controls.js - About 2 hrs to fix

        Textpattern_Import has 23 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Textpattern_Import {
        
            function header()
            {
                echo '<div class="wrap">';
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-admin/import/textpattern.php - About 2 hrs to fix

          Dotclear_Import has 23 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class Dotclear_Import {
          
              function header()
              {
                  echo '<div class="wrap">';
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-admin/import/dotclear.php - About 2 hrs to fix

            SimplePie_Source has 23 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class SimplePie_Source
            {
                var $item;
                var $data = array();
                protected $registry;
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Source.php - About 2 hrs to fix

              Function add has 62 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      add: function( id, options ) {
                          var workflow = this.get( id );
              
                          // only add once: if exists return existing
                          if ( workflow ) {
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/js/media-editor.js - About 2 hrs to fix

                Function showDialog has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function showDialog() {
                        var gridHtml, x, y, win;
                
                        function getParentTd(elm) {
                            while (elm) {

                  Function getHtml has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          getHtml: function() {
                              var data = this.shortcode.attrs.named,
                                  model = wp.media.playlist,
                                  options,
                                  attachments,
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/js/mce-view.js - About 2 hrs to fix

                    Method _wp_get_comment_list has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function _wp_get_comment_list( $status = '', $s = false, $start, $num, $post = 0, $type = '' ) {
                        global $wpdb;
                    
                        $start = abs( (int) $start );
                        $num = (int) $num;
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 2 hrs to fix

                      Method step1 has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function step1() {
                              global $verified;
                              set_time_limit( 0 );
                              update_option( 'ljapi_step', 1 );
                              if ( !$this->ixr ) $this->ixr = new IXR_Client( $this->ixr_url, false, 80, 30 );
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 2 hrs to fix

                        Method _prepare_post has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            protected function _prepare_post( $post, $fields ) {
                                // holds the data for this post. built up based on $fields
                                $_post = array( 'post_id' => strval( $post['ID'] ) );
                        
                                // prepare common post fields
                        Severity: Major
                        Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 2 hrs to fix

                          Method getHashdata has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function getHashdata($algorithm) {
                                  switch ($algorithm) {
                                      case 'md5':
                                      case 'sha1':
                                          break;
                          Severity: Major
                          Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.php - About 2 hrs to fix

                            Method FreeFormatFrameLength has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function FreeFormatFrameLength($offset, $deepscan=false) {
                                    $info = &$this->getid3->info;
                            
                                    fseek($this->getid3->fp, $offset, SEEK_SET);
                                    $MPEGaudioData = fread($this->getid3->fp, 32768);
                            Severity: Major
                            Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.mp3.php - About 2 hrs to fix

                              Function $httpBackend has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                function $httpBackend(method, url, data, callback, headers, timeout, withCredentials) {
                                  var xhr = new MockXhr(),
                                      expectation = expectations[0],
                                      wasExpected = false;
                              
                              
                              Severity: Major
                              Found in Web.Admin/z-scripts/angular-mocks.js - About 2 hrs to fix

                                Function Tracker has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    var Tracker = function()/*{{{*/
                                    {
                                        var onMove        = function() { },
                                            onDone        = function() { },
                                            trackDoc    = options.trackDocument;
                                Severity: Major
                                Found in Web.Admin/2014/wordpress/wp-includes/js/jcrop/jquery.Jcrop.dev.js - About 2 hrs to fix

                                  Function setAreaCoords has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  },setAreaCoords:function(_1d,_1e,_1f,_20,_21){
                                  var _22=typeof _1e!="undefined"?_1e:false;
                                  var _23=typeof _1f!="undefined"?_1f:false;
                                  if(_1e){
                                  var _24=_1d.x2-_1d.x1;
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-includes/js/crop/cropper.js - About 2 hrs to fix

                                    Method upgrade_160 has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function upgrade_160() {
                                        global $wpdb, $wp_current_db_version;
                                    
                                        populate_roles_160();
                                    
                                    
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/upgrade.php - About 2 hrs to fix

                                      Method _data_prepare has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function _data_prepare($mode=FTP_ASCII) {
                                              if(!$this->_settype($mode)) return FALSE;
                                              $this->SendMSG("Creating data socket");
                                              $this->_ftp_data_sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
                                              if ($this->_ftp_data_sock < 0) {
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp-sockets.php - About 2 hrs to fix

                                        Method get_admin_page_title has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function get_admin_page_title() {
                                            global $title;
                                            global $menu;
                                            global $submenu;
                                            global $pagenow;
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-admin/includes/plugin.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language