CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

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 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 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 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 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 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 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 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 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 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 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 upgrade has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function upgrade($plugin) {
                              
                                      $this->init();
                                      $this->upgrade_strings();
                              
                              
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-admin/includes/class-wp-upgrader.php - About 1 hr to fix

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

                                function wp_ajax_save_attachment_compat() {
                                    if ( ! isset( $_REQUEST['id'] ) )
                                        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

                                  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

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

                                        function extra_tablenav( $which ) {
                                            global $cat;
                                    ?>
                                            <div class="alignleft actions">
                                    <?php

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

                                      function _post_states($post) {
                                          $post_states = array();
                                          if ( isset($_GET['post_status']) )
                                              $post_status = $_GET['post_status'];
                                          else
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

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

                                        function post_categories_meta_box($post) {
                                        ?>
                                        <ul id="category-tabs">
                                            <li class="tabs"><a href="#categories-all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li>
                                            <li class="hide-if-no-js"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-admin/includes/meta-boxes.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language