CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function request has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  request: function(url) {
    this.url = url;
    this.method = this.options.method;
    var params = Object.clone(this.options.parameters);

Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/prototype.js - About 1 hr to fix

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

            initialize: function() {
    
                media.view.Frame.prototype.initialize.apply( this, arguments );
    
                _.defaults( this.options, {
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

      Function _getSizes has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _getSizes: function() {
      
              var self = this,
                  norm = {
                      small: '72c',
      Severity: Minor
      Found in Web.Admin/Content/galleria/plugins/picasa/galleria.picasa.js - About 1 hr to fix

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

                initialize: function() {
                    this.el.id = _.uniqueId('__attachments-view-');
        
                    _.defaults( this.options, {
                        refreshSensitivity: 200,
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/js/media-views.js - About 1 hr to fix

          Function add has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  add: function(elem, to, from, hide) {
                      if ( !elem || Galleria.TOUCH ) {
                          return;
                      }
                      if (!idle.bound) {
          Severity: Minor
          Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

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

              start: function(options) {
                function codeForEvent(options,eventName){
                  return (
                    (options[eventName+'Internal'] ? 'this.options.'+eventName+'Internal(this);' : '') +
                    (options[eventName] ? 'this.options.'+eventName+'(this);' : '')
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/effects.js - About 1 hr to fix

              Function applyPlacement has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                Tooltip.prototype.applyPlacement = function (offset, placement) {
                  var $tip   = this.tip()
                  var width  = $tip[0].offsetWidth
                  var height = $tip[0].offsetHeight
              
              Severity: Minor
              Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

                Method properties has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  function properties()
                  {
                
                    // ----- Reset the error handler
                    $this->privErrorReset();
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/includes/class-pclzip.php - About 1 hr to fix

                  Method mdel has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function mdel($remote, $continious=false) {
                          $list=$this->rawlist($remote, "-la");
                          if($list===false) {
                              $this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
                              return false;
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-admin/includes/class-ftp.php - About 1 hr to fix

                    Method get_columns has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function get_columns() {
                            $post_type = $this->screen->post_type;
                    
                            $posts_columns = array();
                    
                    

                      Method set_screen_options has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function set_screen_options() {
                      
                          if ( isset($_POST['wp_screen_options']) && is_array($_POST['wp_screen_options']) ) {
                              check_admin_referer( 'screen-options-nonce', 'screenoptionnonce' );
                      
                      
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-admin/includes/misc.php - About 1 hr to fix

                        Method download_comment_bodies has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function download_comment_bodies() {
                                global $wpdb;
                                $cookie = $this->get_session();
                                if ( is_wp_error( $cookie ) )
                                    return $cookie;
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                          Method list_theme_updates has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function list_theme_updates() {
                              $themes = get_theme_updates();
                              if ( empty($themes) )
                                  return;
                          ?>
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/update-core.php - About 1 hr to fix

                            Method import_comment has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function import_comment( $entry ) {
                                    global $importing_blog;
                            
                                    // Drop the #fragment and we have the comment's old post permalink.
                                    foreach ( $entry->links as $link ) {
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-admin/import/blogger.php - About 1 hr to fix

                              Method download_post_meta has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function download_post_meta() {
                                      $total           = (int) get_option( 'ljapi_total' );
                                      $count           = (int) get_option( 'ljapi_count' );
                                      $lastsync        = get_option( 'ljapi_lastsync' );
                                      if ( !$lastsync ) {
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                                Method process_conditionals has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function process_conditionals() {
                                
                                        if(empty($this->params)) return;
                                        if($_SERVER['REQUEST_METHOD'] == 'DELETE') return;
                                
                                
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-app.php - About 1 hr to fix

                                  Method wp_newCategory has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function wp_newCategory($args) {
                                          $this->escape($args);
                                  
                                          $blog_id                = (int) $args[0];
                                          $username                = $args[1];
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/xmlrpc.php - About 1 hr to fix

                                    Method akismet_auto_check_comment has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function akismet_auto_check_comment( $comment ) {
                                        global $akismet_api_host, $akismet_api_port;
                                    
                                        $comment['user_ip']    = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
                                        $comment['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-content/plugins/akismet/akismet.php - About 1 hr to fix

                                      Method twentyfourteen_the_attached_image has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function twentyfourteen_the_attached_image() {
                                          $post                = get_post();
                                          /**
                                           * Filter the default Twenty Fourteen attachment size.
                                           *

                                        Method get_page_of_comment has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function get_page_of_comment( $comment_ID, $args = array() ) {
                                            global $wpdb;
                                        
                                            if ( !$comment = get_comment( $comment_ID ) )
                                                return;
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language