CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function getMatrix has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        getMatrix: function (image){
            var
                  m  = api.extend({}, this.matrix)
                , sw = m.sw = m.sw || image.videoWidth || image.naturalWidth ||  image.width
                , sh = m.sh = m.sh || image.videoHeight || image.naturalHeight || image.height
Severity: Minor
Found in Web.Admin/z-scripts/FileAPI.js - About 1 hr to fix

    Function ajaxDel has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        ajaxDel: function( e, s ) {
            e = $(e); s = s || {};
            var list = this, cls = wpList.parseClass(e,'delete'), element;
            s = wpList.pre.call( list, e, s, 'delete' );
    
    
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/js/wp-lists.dev.js - About 1 hr to fix

      Function init has 47 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          init : function() {
              var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
      
              t.type = $('table.widefat').hasClass('page') ? 'page' : 'post';
              t.what = '#'+t.type+'-';
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-admin/js/inline-edit-post.dev.js - About 1 hr to fix

        Function createMenu has 47 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                function createMenu(context) {
                    var menuButton, menu, menuItems, isUserDefined, removedMenuItems;
        
                    removedMenuItems = tinymce.makeMap((settings.removed_menuitems || '').split(/[ ,]/));
        
        

          Function updateTracking has 47 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              SWFUpload.prototype.updateTracking = function (file, bytesUploaded) {
                  var tracking = this.fileSpeedStats[file.id];
                  if (!tracking) {
                      this.fileSpeedStats[file.id] = tracking = {};
                  }

            Method display_theme has 47 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function display_theme($theme, $actions = null, $show_details = true) {
                global $themes_allowedtags;
            
                if ( empty($theme) )
                    return;
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-admin/includes/theme-install.php - About 1 hr to fix

              Method unzip_file has 47 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function unzip_file($file, $to) {
                  global $wp_filesystem;
              
                  if ( ! $wp_filesystem || !is_object($wp_filesystem) )
                      return new WP_Error('fs_unavailable', __('Could not access filesystem.'));
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/includes/file.php - About 1 hr to fix

                Method run has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function run($options) {
                
                        $defaults = array(     'package' => '', //Please always pass this.
                                            'destination' => '', //And this
                                            'clear_destination' => false,
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/includes/class-wp-upgrader.php - About 1 hr to fix

                  Method touch_time has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
                      global $wp_locale, $post, $comment;
                  
                      if ( $for_post )
                          $edit = ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ) ? false : true;
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

                    Method screen_options has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function screen_options($screen) {
                        switch ( $screen ) {
                            case 'edit':
                                $per_page_label = __('Posts per page:');
                                break;
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

                      Method import_post has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function import_post( $post ) {
                              global $wpdb;
                      
                              // Make sure we haven't already imported this one
                              if ( $this->get_wp_post_ID( $post['itemid'] ) )
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                        Method greet has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function greet() {
                                ?>
                                <div class="narrow">
                                <form action="admin.php?import=livejournal" method="post">
                                <?php wp_nonce_field( 'lj-api-import' ) ?>
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                          Method get_entries has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function get_entries($process_post_func=NULL) {
                                  set_magic_quotes_runtime(0);
                          
                                  $doing_entry = false;
                                  $is_wxr_file = false;
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/import/wordpress.php - About 1 hr to fix

                            Method widget_akismet_register has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function widget_akismet_register() {
                                if ( function_exists('register_sidebar_widget') ) :
                                function widget_akismet($args) {
                                    extract($args);
                                    $options = get_option('widget_akismet');
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-content/plugins/akismet/akismet.php - About 1 hr to fix

                              Method the_editor has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) {
                                  $rows = get_option('default_post_edit_rows');
                                  if (($rows < 3) || ($rows > 100))
                                      $rows = 12;
                              
                              
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/general-template.php - About 1 hr to fix

                                Method wp_delete_term has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function wp_delete_term( $term, $taxonomy, $args = array() ) {
                                    global $wpdb;
                                
                                    $term = (int) $term;
                                
                                
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 1 hr to fix

                                  Method wp_dropdown_categories has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function wp_dropdown_categories( $args = '' ) {
                                      $defaults = array(
                                          'show_option_all' => '', 'show_option_none' => '',
                                          'orderby' => 'id', 'order' => 'ASC',
                                          'show_last_update' => 0, 'show_count' => 0,
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/category-template.php - About 1 hr to fix

                                    Method render_content has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function render_content() {
                                            $this->print_header_image_template();
                                            $visibility = $this->get_current_image_src() ? '' : ' style="display:none" ';
                                            $width = absint( get_theme_support( 'custom-header', 'width' ) );
                                            $height = absint( get_theme_support( 'custom-header', 'height' ) );
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/class-wp-customize-control.php - About 1 hr to fix

                                      Method wp_dropdown_users has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function wp_dropdown_users( $args = '' ) {
                                          global $wpdb;
                                          $defaults = array(
                                              'show_option_all' => '', 'show_option_none' => '',
                                              'orderby' => 'display_name', 'order' => 'ASC',
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/user.php - About 1 hr to fix

                                        Method wp_load_translations_early has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function wp_load_translations_early() {
                                            global $text_direction, $wp_locale;
                                        
                                            static $loaded = false;
                                            if ( $loaded )
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/load.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language