CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function show has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            show : function( elem, speed, callback ) {

                callback = callback || F;

                var $elem = $(elem);
Severity: Minor
Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

    Function processQuickSearchQueryResponse has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            processQuickSearchQueryResponse : function(resp, req, panel) {
                var matched, newID,
                takenIDs = {},
                form = document.getElementById('nav-menu-meta'),
                pattern = /menu-item[(\[^]\]*/,
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-admin/js/nav-menu.js - About 1 hr to fix

      Function stop has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  stop: function(e,ui) {
                      if ( ui.item.hasClass('ui-draggable') )
                          ui.item.draggable('destroy');
      
                      if ( ui.item.hasClass('deleting') ) {
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-admin/js/widgets.dev.js - About 1 hr to fix

        Function send has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                send: function( action, options ) {
                    if ( _.isObject( action ) ) {
                        options = action;
                    } else {
                        options = options || {};
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/js/wp-util.js - About 1 hr to fix

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

                  start: function( event, ui ) {
                      this.model.set({ scrubbing: true });
          
                      // Track the mouse position to enable smooth dragging,
                      // overrides default jQuery UI step behavior.
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-admin/js/revisions.js - About 1 hr to fix

            Function highscoresController has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                var highscoresController = function ($scope, $http, dataService) {
                    $scope.model = {
                        viewGame: 1
                    };
            
            
            Severity: Minor
            Found in Web.Admin/ClientApp/Controllers/controller.highscores.js - About 1 hr to fix

              Function fold has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  fold : function(off) {
                      if (off) {
                          $('body').removeClass('folded');
                          $('#adminmenu li.wp-has-submenu').unbind();
                      } else {
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/js/common.dev.js - About 1 hr to fix

                Function processKey has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        function processKey(e) {
                
                            // handling up/down/escape requires results to be visible
                            // handling enter/tab requires that AND a result to be selected
                            if ((/27$|38$|40$/.test(e.keyCode) && $results.is(':visible')) ||
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/js/jquery/suggest.dev.js - About 1 hr to fix

                  Function updateDrag has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    updateDrag: function(event, pointer) {
                      if(!this.dragging) this.startDrag(event);
                      
                      if(!this.options.quiet){
                        Position.prepare();
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/dragdrop.js - About 1 hr to fix

                    Function show has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                show : 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 galleria has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.fn.galleria = function( options ) {
                      
                          var selector = this.selector;
                      
                          // try domReady if element not found
                      Severity: Minor
                      Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

                        Method edit_comment has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function edit_comment() {
                        
                            $comment_post_ID = (int) $_POST['comment_post_ID'];
                        
                            if (!current_user_can( 'edit_post', $comment_post_ID ))
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-admin/includes/comment.php - About 1 hr to fix

                          Method privAddFileList has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)
                            {
                              $v_result=1;
                              $v_header = array();
                          
                          
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/includes/class-pclzip.php - About 1 hr to fix

                            Method mput has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function mput($local=".", $remote=NULL, $continious=false) {
                                    $local=realpath($local);
                                    if(!@file_exists($local)) {
                                        $this->PushError("mput","can't open local folder", "Cannot stat folder \"".$local."\"");
                                        return FALSE;
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp.php - About 1 hr to fix

                              Method WP_Filesystem_FTPext has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function WP_Filesystem_FTPext($opt='') {
                                      $this->method = 'ftpext';
                                      $this->errors = new WP_Error();
                              
                                      //Check if possible to use ftp functions.

                                Method __construct has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function __construct($port_mode=FALSE, $verb=FALSE, $le=FALSE) {
                                        $this->LocalEcho=$le;
                                        $this->Verbose=$verb;
                                        $this->_lastaction=NULL;
                                        $this->_error_array=array();
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp.php - About 1 hr to fix

                                  Method _page_rows has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function _page_rows( &$children_pages, &$count, $parent, $level, $pagenum, $per_page ) {
                                  
                                      if ( ! isset( $children_pages[$parent] ) )
                                          return;
                                  
                                  
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

                                    Method media_handle_sideload has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) {
                                        $overrides = array('test_form'=>false);
                                    
                                        $file = wp_handle_sideload($file_array, $overrides);
                                        if ( isset($file['error']) )
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/media.php - About 1 hr to fix

                                      Method image_size_input_fields has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function image_size_input_fields( $post, $check = '' ) {
                                      
                                              // get a list of the actual pixel dimensions of each possible intermediate version of this image
                                              $size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size'));
                                      
                                      
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/includes/media.php - About 1 hr to fix

                                        Method get_inline_data has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function get_inline_data($post) {
                                        
                                            if ( ! current_user_can('edit_' . $post->post_type, $post->ID) )
                                                return;
                                        
                                        
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language