CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Function _handleMoreBreak has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _handleMoreBreak : function(ed, url) {
            var moreHTML, nextpageHTML;

            moreHTML = '<img src="' + url + '/img/trans.gif" alt="$1" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
            nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';

    Function _createButtons has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            _createButtons : function() {
                var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton;
    
                DOM.remove('wp_editbtns');
    
    

      Function animateTo has 38 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function animateTo(a)/*{{{*/
          {
              var x1 = a[0] / xscale,
                  y1 = a[1] / yscale,
                  x2 = a[2] / xscale,
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/js/jcrop/jquery.Jcrop.dev.js - About 1 hr to fix

        Function toggleSelection has 38 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                toggleSelection: function( options ) {
                    var collection = this.collection,
                        selection = this.options.selection,
                        model = this.model,
                        method = options && options.method,
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

          Function interval has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  function interval( speed, ticks ) {
                      var newInterval,
                          oldInterval = settings.tempInterval ? settings.tempInterval : settings.mainInterval;
          
                      if ( speed ) {
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/js/heartbeat.js - About 1 hr to fix

            Function _scaleImage has 38 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _scaleImage : function( image, options ) {
            
                    image = image || this._controls.getActive();
            
                    // janpub (JH) fix:
            Severity: Minor
            Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

              Function activate has 38 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                Tab.prototype.activate = function (element, container, callback) {
                  var $active    = container.find('> .active')
                  var transition = callback
                    && $.support.transition
                    && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
              Severity: Minor
              Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                Method upgrade_100 has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function upgrade_100() {
                    global $wpdb;
                
                    // Get the title and ID of every post, post_name to check if it already has a value
                    $posts = $wpdb->get_results("SELECT ID, post_title, post_name FROM $wpdb->posts WHERE post_name = ''");
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/includes/upgrade.php - About 1 hr to fix

                  Method wp_ajax_wp_compression_test has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function wp_ajax_wp_compression_test() {
                      if ( !current_user_can( 'manage_options' ) )
                          wp_die( -1 );
                  
                      if ( ini_get('zlib.output_compression') || 'ob_gzhandler' == ini_get('output_handler') ) {
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 1 hr to fix

                    Method the_attachment_links has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function the_attachment_links( $id = false ) {
                        $id = (int) $id;
                        $post = & get_post( $id );
                    
                        if ( $post->post_type != 'attachment' )
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

                      Method get_views has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function get_views() {
                              global $locked_post_status, $avail_post_stati;
                      
                              $post_type = $this->screen->post_type;
                      
                      

                        Method js_2 has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function js_2() { ?>
                        <script type="text/javascript">
                            function onEndCrop( coords ) {
                                jQuery( '#x1' ).val(coords.x);
                                jQuery( '#y1' ).val(coords.y);
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-admin/custom-header.php - About 1 hr to fix

                          Method core_upgrade_preamble has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function core_upgrade_preamble() {
                              global $upgrade_error;
                          
                              $updates = get_core_updates();
                          ?>
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/update-core.php - About 1 hr to fix

                            Method redirect_page has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function redirect_page($page_ID) {
                                global $action;
                            
                                $referredby = '';
                                if ( !empty($_POST['referredby']) ) {
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-admin/page.php - About 1 hr to fix

                              Method do_item has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function do_item( $handle ) {
                                      if ( !parent::do_item($handle) )
                                          return false;
                              
                                      $ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/class.wp-styles.php - About 1 hr to fix

                                Method ChannelsBitratePlaytimeCalculations has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function ChannelsBitratePlaytimeCalculations() {
                                
                                        // set channelmode on audio
                                        if (!empty($this->info['audio']['channelmode']) || !isset($this->info['audio']['channels'])) {
                                            // ignore
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.php - About 1 hr to fix

                                  Method ETCOEventLookup has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public static function ETCOEventLookup($index) {
                                          if (($index >= 0x17) && ($index <= 0xDF)) {
                                              return 'reserved for future use';
                                          }
                                          if (($index >= 0xE0) && ($index <= 0xEF)) {
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.tag.id3v2.php - About 1 hr to fix

                                    Method get_term has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

                                      Method safecss_filter_attr has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function safecss_filter_attr( $css, $deprecated = '' ) {
                                          $css = wp_kses_no_null($css);
                                          $css = str_replace(array("\n","\r","\t"), '', $css);
                                      
                                          if ( preg_match( '%[\\(&]|/\*%', $css ) ) // remove any inline css containing \ ( & or comments
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/kses.php - About 1 hr to fix

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

                                            public function set_host($ihost)
                                            {
                                                if ($ihost === null)
                                                {
                                                    $this->ihost = null;
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language