CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Function request has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  request: function(url) {
    this.url = url;
    this.method = this.options.method;
    var params = Object.clone(this.options.parameters);

Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/js/prototype.js - About 1 hr to fix

    Function start has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                start: function(name, attrs) {
                    if (!data.source1 && name == "param") {
                        data.source1 = attrs.map.movie;
                    }
    
    

      Function convertParagraphToLi has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                      function convertParagraphToLi(paragraphNode, listStartTextNode, listName, start) {
                          var level = paragraphNode._listLevel || lastLevel;
      
                          // Handle list nesting
                          if (level != lastLevel) {

        Function editImage has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function editImage( img ) {
                var frame, callback, metadata;
        
                if ( typeof wp === 'undefined' || ! wp.media ) {
                    editor.execCommand( 'mceImage' );

          Function initialize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  initialize: function( element, options ) {
                      var self = this,
                          synchronizer = api.Element.synchronizer.html,
                          type, update, refresh;
          
          
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/js/customize-base.js - About 1 hr to fix

            Function renderColorPicker has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function renderColorPicker() {
                    var ctrl = this, colors, color, html, last, rows, cols, x, y, i;
            
                    colors = mapColors();
            
            

              Function request has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                request: function(url) {
                  this.url = url;
                  this.method = this.options.method;
                  var params = Object.clone(this.options.parameters);
              
              
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/prototype.js - About 1 hr to fix

                Function setPlayer has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        setPlayer: function(e, node) {
                            // if the ready event fires on an empty node
                            if ( ! node ) {
                                return;
                            }
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/js/mce-view.js - About 1 hr to fix

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

                          add: function(elem, to, from, hide) {
                              if ( !elem || Galleria.TOUCH ) {
                                  return;
                              }
                              if (!idle.bound) {
                  Severity: Minor
                  Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

                    Function start has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      start: function(options) {
                        function codeForEvent(options,eventName){
                          return (
                            (options[eventName+'Internal'] ? 'this.options.'+eventName+'Internal(this);' : '') +
                            (options[eventName] ? 'this.options.'+eventName+'(this);' : '')
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/effects.js - About 1 hr to fix

                      Function _getSizes has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _getSizes: function() {
                      
                              var self = this,
                                  norm = {
                                      small: '72c',
                      Severity: Minor
                      Found in Web.Admin/Content/galleria/plugins/picasa/galleria.picasa.js - About 1 hr to fix

                        Function initialize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                initialize: function() {
                        
                                    media.view.Frame.prototype.initialize.apply( this, arguments );
                        
                                    _.defaults( this.options, {
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

                          Function initialize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  initialize: function() {
                                      this.el.id = _.uniqueId('__attachments-view-');
                          
                                      _.defaults( this.options, {
                                          refreshSensitivity: 200,
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

                            Function applyPlacement has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              Tooltip.prototype.applyPlacement = function (offset, placement) {
                                var $tip   = this.tip()
                                var width  = $tip[0].offsetWidth
                                var height = $tip[0].offsetHeight
                            
                            Severity: Minor
                            Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                              Method properties has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                function properties()
                                {
                              
                                  // ----- Reset the error handler
                                  $this->privErrorReset();
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-admin/includes/class-pclzip.php - About 1 hr to fix

                                Method mdel has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function mdel($remote, $continious=false) {
                                        $list=$this->rawlist($remote, "-la");
                                        if($list===false) {
                                            $this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
                                            return false;
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp.php - About 1 hr to fix

                                  Method set_screen_options has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function set_screen_options() {
                                  
                                      if ( isset($_POST['wp_screen_options']) && is_array($_POST['wp_screen_options']) ) {
                                          check_admin_referer( 'screen-options-nonce', 'screenoptionnonce' );
                                  
                                  
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/misc.php - About 1 hr to fix

                                    Method get_columns has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function get_columns() {
                                            $post_type = $this->screen->post_type;
                                    
                                            $posts_columns = array();
                                    
                                    

                                      Method download_comment_bodies has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function download_comment_bodies() {
                                              global $wpdb;
                                              $cookie = $this->get_session();
                                              if ( is_wp_error( $cookie ) )
                                                  return $cookie;
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                                        Method import_comment has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function import_comment( $entry ) {
                                                global $importing_blog;
                                        
                                                // Drop the #fragment and we have the comment's old post permalink.
                                                foreach ( $entry->links as $link ) {
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-admin/import/blogger.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language