CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function _addListeners has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _addListeners: function() {
            var self = this;

            self.toggler.click( function( event ){
                event.stopPropagation();
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/js/color-picker.js - About 1 hr to fix

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

            refresh: function() {
                var self = this;
    
                this.abort();
    
    
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-admin/js/customize-controls.js - About 1 hr to fix

      Function get has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          get : function(total, num) {
              var st = this.st, data;
              if ( ! num )
                  num = 20;
      
      
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-admin/js/post.dev.js - About 1 hr to fix

        Function drawArea has 37 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },drawArea:function(){
        if(!this.isIE){
        Element.show($(this.overlay));
        }
        var _3e=this.calcW();
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/js/crop/cropper.js - About 1 hr to fix

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

          Cropper.Img.prototype={initialize:function(_7,_8){
          this.options=Object.extend({ratioDim:{x:0,y:0},minWidth:0,minHeight:0,displayOnInit:false,onEndCrop:Prototype.emptyFunction,captureKeys:true},_8||{});
          if(this.options.minWidth>0&&this.options.minHeight>0){
          this.options.ratioDim.x=this.options.minWidth;
          this.options.ratioDim.y=this.options.minHeight;
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/js/crop/cropper.js - About 1 hr to fix

            Function setup has 37 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              setup: function(){
                function parseColor(color){
                  if (!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
                  color = color.parseColor();
                  return $R(0,2).map(function(i){
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/effects.js - About 1 hr to fix

              Method render_per_page_options has 37 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function render_per_page_options() {
                      if ( ! $this->get_option( 'per_page' ) )
                          return;
              
                      $per_page_label = $this->get_option( 'per_page', 'label' );
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/includes/screen.php - About 1 hr to fix

                Method media_upload_type_form has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function media_upload_type_form($type = 'file', $errors = null, $id = null) {
                    media_upload_header();
                
                    $post_id = intval($_REQUEST['post_id']);
                
                
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/includes/media.php - About 1 hr to fix

                  Method get_views has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function get_views() {
                          global $totals, $status;
                  
                          $status_links = array();
                          foreach ( $totals as $type => $count ) {

                    Method _wp_ajax_delete_comment_response has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
                        $total    = isset( $_POST['_total'] )    ? (int) $_POST['_total']    : 0;
                        $per_page = isset( $_POST['_per_page'] ) ? (int) $_POST['_per_page'] : 0;
                        $page     = isset( $_POST['_page'] )     ? (int) $_POST['_page']     : 0;
                        $url      = isset( $_POST['_url'] )      ? esc_url_raw( $_POST['_url'] ) : '';
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 1 hr to fix

                      Method do_meta_boxes has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function do_meta_boxes($page, $context, $object) {
                          global $wp_meta_boxes;
                          static $already_sorted = false;
                      
                          //do_action('do_meta_boxes', $page, $context, $object);
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 1 hr to fix

                        Method wp_getPageList has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function wp_getPageList($args) {
                                global $wpdb;
                        
                                $this->escape($args);
                        
                        
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/xmlrpc.php - About 1 hr to fix

                          Method signup_user has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
                              global $active_signup;
                          
                              if ( !is_wp_error($errors) )
                                  $errors = new WP_Error();
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-signup.php - About 1 hr to fix

                            Method css has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function css() {
                            ?>
                            
                            <style type="text/css">
                            .a-stats {

                              Method get_comment_count has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function get_comment_count( $post_id = 0 ) {
                                  global $wpdb;
                              
                                  $post_id = (int) $post_id;
                              
                              
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

                                Method wp_set_comment_status has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) {
                                    global $wpdb;
                                
                                    $status = '0';
                                    switch ( $comment_status ) {
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

                                  Method blogger_getRecentPosts has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function blogger_getRecentPosts($args) {
                                  
                                          $this->escape($args);
                                  
                                          // $args[0] = appkey - ignored
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

                                    Method LAMEpresetUsedLookup has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public static function LAMEpresetUsedLookup($LAMEtag) {
                                    
                                            if ($LAMEtag['preset_used_id'] == 0) {
                                                // no preset used (LAME >=3.93)
                                                // no preset recorded (LAME <3.93)
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.mp3.php - About 1 hr to fix

                                      Method __get has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function __get($name)
                                          {
                                              // isset() returns false for null, we don't want to do that
                                              // Also why we use array_key_exists below instead of isset()
                                              $props = get_object_vars($this);
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 1 hr to fix

                                        Method get_post has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function &get_post(&$post, $output = OBJECT, $filter = 'raw') {
                                            global $wpdb;
                                            $null = null;
                                        
                                            if ( empty($post) ) {
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/post.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language