CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method wp_read_image_metadata has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function wp_read_image_metadata( $file ) {
    if ( !file_exists( $file ) )
        return false;

    list(,,$sourceImageType) = getimagesize( $file );
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/includes/image.php - About 1 hr to fix

    Method initialise_blog_option_info has 49 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function initialise_blog_option_info( ) {
            global $wp_version;
    
            $this->blog_options = array(
                // Read only options
    Severity: Minor
    Found in Web.Admin/2014/wordpress/xmlrpc.php - About 1 hr to fix

      Method mw_newMediaObject has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

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

        Method wp_editTerm has 49 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function wp_editTerm( $args ) {
                if ( ! $this->minimum_args( $args, 5 ) )
                    return $this->error;
        
                $this->escape( $args );
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 1 hr to fix

          Method readData has 49 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function readData() {
                  $this->skipBits(8);
                  $this->skipBits(8);
                  $profile = $this->getBits(8);    //    read profile
                  $this->skipBits(16);
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio-video.flv.php - About 1 hr to fix

            Method get_categories has 49 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function get_categories()
                {
                    $categories = array();
            
                    foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 1 hr to fix

              Method get_categories has 49 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function get_categories()
                  {
                      $categories = array();
              
                      foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Source.php - About 1 hr to fix

                Method wp_version_check has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function wp_version_check() {
                    if ( defined('WP_INSTALLING') )
                        return;
                
                    global $wp_version, $wpdb, $wp_local_package;
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/update.php - About 1 hr to fix

                  Method wp_update_plugins has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function wp_update_plugins() {
                      global $wp_version;
                  
                      if ( defined('WP_INSTALLING') )
                          return false;
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/update.php - About 1 hr to fix

                    Method wp_widget_rss_form has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function wp_widget_rss_form( $args, $inputs = null ) {
                    
                        $default_inputs = array( 'url' => true, 'title' => true, 'items' => true, 'show_summary' => true, 'show_author' => true, 'show_date' => true );
                        $inputs = wp_parse_args( $inputs, $default_inputs );
                        extract( $args );
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/default-widgets.php - About 1 hr to fix

                      Method get_categories has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function get_categories()
                          {
                              $categories = array();
                      
                              foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                        Method get_categories has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function get_categories()
                            {
                                $categories = array();
                        
                                foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                          Method get_categories has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function get_categories()
                              {
                                  $categories = array();
                          
                                  foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                            Method Manage has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    [HttpPost]
                                    [ValidateAntiForgeryToken]
                                    public ActionResult Manage(LocalPasswordModel model)
                                    {
                                        bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));
                            Severity: Minor
                            Found in Web.Admin/Controllers/AccountController.cs - About 1 hr to fix

                              Function onreadystatechange has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                                  xhr.onreadystatechange = function (){
                                                      var lkb = parseInt(xhr.getResponseHeader('X-Last-Known-Byte'), 10);
                              
                                                      _this.status     = xhr.status;
                                                      _this.statusText = xhr.statusText;
                              Severity: Minor
                              Found in Web.Admin/z-scripts/FileAPI.js - About 1 hr to fix

                                Function complete has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                                complete: function( next ) {
                                
                                                    // toggle low quality for IE
                                                    if ( 'image' in active ) {
                                                        Utils.toggleQuality( active.image, false );
                                Severity: Minor
                                Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

                                  Function Methods has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  Event.Methods = (function() {
                                    var isButton;
                                  
                                    if (Prototype.Browser.IE) {
                                      var buttonMap = { 0: 1, 1: 4, 2: 2 };
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/js/prototype.js - About 1 hr to fix

                                    Function ajaxAdd has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

                                      Function KeyManager has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          var KeyManager = function()/*{{{*/
                                          {
                                              var $keymgr = $('<input type="radio" />')
                                                      .css({ position: 'absolute', left: '-30px' })
                                                      .keypress(parseKey)
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/js/jcrop/jquery.Jcrop.dev.js - About 1 hr to fix

                                        Function Methods has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        Event.Methods = (function() {
                                          var isButton;
                                        
                                          if (Prototype.Browser.IE) {
                                            var buttonMap = { 0: 1, 1: 4, 2: 2 };
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/prototype.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language