CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method get_posts has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function get_posts() {
        global $wpdb;

        set_magic_quotes_runtime(0);
        $datalines = file($this->file); // Read the file into an array
Severity: Major
Found in Web.Admin/2014/wordpress/wp-admin/import/rss.php - About 2 hrs to fix

    Method users2wp has 52 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function users2wp($users='')
        {
            // General Housekeeping
            global $wpdb;
            $count = 0;
    Severity: Major
    Found in Web.Admin/2014/wordpress/wp-admin/import/textpattern.php - About 2 hrs to fix

      Method ParseDIVXTAG has 52 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public static function ParseDIVXTAG($DIVXTAG, $raw=false) {
              // structure from "IDivX" source, Form1.frm, by "Greg Frazier of Daemonic Software Group", email: gfrazier@icestorm.net, web: http://dsg.cjb.net/
              // source available at http://files.divx-digest.com/download/c663efe7ef8ad2e90bf4af4d3ea6188a/on0SWN2r/edit/IDivX.zip
              // 'Byte Layout:                   '1111111111111111
              // '32 for Movie - 1               '1111111111111111
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio-video.riff.php - About 2 hrs to fix

        Method tag_open has 52 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function tag_open($parser, $tag, $attributes)
            {
                list($this->namespace[], $this->element[]) = $this->split_ns($tag);
        
                $attribs = array();
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

          Method replace_invalid_with_pct_encoding has 52 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function replace_invalid_with_pct_encoding($string, $valid_chars, $case = SIMPLEPIE_SAME_CASE)
              {
                  // Normalise case
                  if ($case & SIMPLEPIE_LOWERCASE)
                  {
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

            Method url_to_postid has 52 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function url_to_postid($url) {
                global $wp_rewrite;
            
                $url = apply_filters('url_to_postid', $url);
            
            
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-includes/rewrite.php - About 2 hrs to fix

              Function $LogProvider has 51 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              angular.mock.$LogProvider = function() {
                var debug = true;
              
                function concat(array1, array2, index) {
                  return array1.concat(Array.prototype.slice.call(array2, index));
              Severity: Major
              Found in Web.Admin/z-scripts/angular-mocks.js - About 2 hrs to fix

                Function query has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    query: function( request ) {
                        /**
                         * @static
                         * @type Array
                         */
                Severity: Major
                Found in Web.Admin/2014/wordpress/wp-admin/js/theme.js - About 2 hrs to fix

                  Function attachTabsPanelListeners has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          attachTabsPanelListeners : function() {
                              $('#menu-settings-column').bind('click', function(e) {
                                  var selectAreaMatch, panelId, wrapper, items,
                                      target = $(e.target);
                  
                  
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-admin/js/nav-menu.js - About 2 hrs to fix

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

                                start: function(name, attrs, empty) {
                                    switch (name) {
                                        case "video":
                                        case "object":
                                        case "embed":

                      Function updateStyle has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          updateStyle : function() {
                              var dom = tinyMCEPopup.dom, st, v, cls, oldcls, rep, f = document.forms[0];
                      
                              if (tinyMCEPopup.editor.settings.inline_styles) {
                                  st = tinyMCEPopup.dom.parseStyle(this.styleVal);

                        Function onDrag has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        },onDrag:function(e){
                        var _4f=null;
                        if(this.dragging||this.resizing){
                        var _50=this.getCurPos(e);
                        var _51=this.cloneCoords(this.areaCoords);
                        Severity: Major
                        Found in Web.Admin/2014/wordpress/wp-includes/js/crop/cropper.js - About 2 hrs to fix

                          Method wp_dashboard_plugins_output has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function wp_dashboard_plugins_output() {
                              $popular = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/popular/' );
                              $new     = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/new/' );
                              $updated = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/updated/' );
                          
                          
                          Severity: Major
                          Found in Web.Admin/2014/wordpress/wp-admin/includes/dashboard.php - About 2 hrs to fix

                            Method single_row has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function single_row( $theme ) {
                                    global $themes_allowedtags;
                            
                                    if ( empty( $theme ) )
                                        return;

                              Method wp_ajax_add_menu_item has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function wp_ajax_add_menu_item() {
                                  check_ajax_referer( 'add-menu_item', 'menu-settings-column-nonce' );
                              
                                  if ( ! current_user_can( 'edit_theme_options' ) )
                                      wp_die( -1 );
                              Severity: Major
                              Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 2 hrs to fix

                                Method recheck_queue has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public static function recheck_queue() {
                                        global $wpdb;
                                
                                        Akismet::fix_scheduled_recheck();
                                
                                

                                  Method set_authority has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function set_authority($authority)
                                      {
                                          static $cache;
                                          if (!$cache)
                                              $cache = array();
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 2 hrs to fix

                                    Method wp_notify_moderator has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function wp_notify_moderator($comment_id) {
                                        global $wpdb;
                                    
                                        if( get_option( "moderation_notify" ) == 0 )
                                            return true;
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 2 hrs to fix

                                      Method get_allowed_mime_types has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function get_allowed_mime_types() {
                                          static $mimes = false;
                                      
                                          if ( !$mimes ) {
                                              // Accepted MIME types are set here as PCRE unless provided.
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 2 hrs to fix

                                        Method start_el has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function start_el(&$output, $category, $depth, $args) {
                                                extract($args);
                                        
                                                $cat_name = esc_attr( $category->name);
                                                $cat_name = apply_filters( 'list_cats', $cat_name, $category );
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-includes/classes.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language