CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Function uploadError has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function uploadError(fileObj, errorCode, message) {

    switch (errorCode) {
        case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL:
            wpFileError(fileObj, swfuploadL10n.missing_upload_url);
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/js/swfupload/handlers.dev.js - About 1 hr to fix

    Function createFilters has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            createFilters: function() {
                var type = this.model.get('type'),
                    types = media.view.settings.mimeTypes,
                    text;
    
    
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

      Function hide has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  hide : function( elem, speed, callback ) {
      
                      callback = callback || F;
      
                      var $elem = $(elem);
      Severity: Minor
      Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

        Function flash has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                        flash: function(params, complete) {
                            $(params.next).css({
                                opacity: 0,
                                left: 0
                            });
        Severity: Minor
        Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

          Function wait has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                      wait : function(options) {
          
                          Galleria._waiters = Galleria._waiters || [];
          
                          options = $.extend({
          Severity: Minor
          Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

            Function SlideUp has 26 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            Effect.SlideUp = function(element) {
              element = $(element).cleanWhitespace();
              var oldInnerBottom = element.down().getStyle('bottom');
              var elementDimensions = element.getDimensions();
              return new Effect.Scale(element, window.opera ? 0 : 1,
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/effects.js - About 1 hr to fix

              Function startDrag has 26 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                startDrag: function(event) {
                  this.dragging = true;
                  if(!this.delta)
                    this.delta = this.currentDelta();
                  
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/dragdrop.js - About 1 hr to fix

                Function set has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        set: function( id, view, options ) {
                            var priority, views, index;
                
                            options = options || {};
                
                
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

                  Function scale has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          var scale = function() {
                  
                              // set stagewidth
                              self._stageWidth = width || self.$( 'stage' ).width();
                              self._stageHeight = height || self.$( 'stage' ).height();
                  Severity: Minor
                  Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

                    Function refresh has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      ScrollSpy.prototype.refresh = function () {
                        var that          = this
                        var offsetMethod  = 'offset'
                        var offsetBase    = 0
                    
                    Severity: Minor
                    Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                      Function hide has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        Collapse.prototype.hide = function () {
                          if (this.transitioning || !this.$element.hasClass('in')) return
                      
                          var startEvent = $.Event('hide.bs.collapse')
                          this.$element.trigger(startEvent)
                      Severity: Minor
                      Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                        Function next has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function next() {
                              $active
                                .removeClass('active')
                                .find('> .dropdown-menu > .active')
                                  .removeClass('active')
                        Severity: Minor
                        Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                          Method privDirCheck has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function privDirCheck($p_dir, $p_is_dir=false)
                            {
                              $v_result = 1;
                          
                          
                          
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/includes/class-pclzip.php - About 1 hr to fix

                            Function _playCheck has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _playCheck : function() {
                                    var self = this,
                                        played = 0,
                                        interval = 20,
                                        now = Utils.timestamp(),
                            Severity: Minor
                            Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

                              Method feedback has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function feedback( $data ) {
                                      if ( is_wp_error( $data ) )
                                          $string = $data->get_error_message();
                                      else if ( is_array( $data ) )
                                          return;

                                Method dirlist has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function dirlist($path = '.', $include_hidden = true, $recursive = false ) {
                                        if ( $this->is_file($path) ) {
                                            $limit_file = basename($path);
                                            $path = dirname($path) . '/';
                                        } else {

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

                                      function _data_prepare($mode=FTP_ASCII) {
                                          if(!$this->_settype($mode)) return FALSE;
                                          if($this->_passive) {
                                              if(!$this->_exec("PASV", "pasv")) {
                                                  $this->_data_close();
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp-pure.php - About 1 hr to fix

                                    Method WP_Filesystem has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function WP_Filesystem( $args = false, $context = false ) {
                                        global $wp_filesystem;
                                    
                                        require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php');
                                    
                                    
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/file.php - About 1 hr to fix

                                      Method update_option_new_admin_email has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function update_option_new_admin_email( $old_value, $value ) {
                                          $email = get_option( 'admin_email' );
                                          if ( $value == get_option( 'admin_email' ) || !is_email( $value ) )
                                              return;
                                      
                                      
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/includes/ms.php - About 1 hr to fix

                                        Method wp_ajax_save_attachment has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function wp_ajax_save_attachment() {
                                            if ( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['changes'] ) )
                                                wp_send_json_error();
                                        
                                            if ( ! $id = absint( $_REQUEST['id'] ) )
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language