CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

File greymatter.php has 264 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * GreyMatter Importer
 *
 * @package WordPress
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/import/greymatter.php - About 2 hrs to fix

    Enumerable has 22 functions (exceeds 20 allowed). Consider refactoring.
    Open

    var Enumerable = {
      each: function(iterator, context) {
        var index = 0;
        iterator = iterator.bind(context);
        try {
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/js/prototype.js - About 2 hrs to fix

      wpImage has 22 functions (exceeds 20 allowed). Consider refactoring.
      Open

      var wpImage = {
          preInit : function() {
              // import colors stylesheet from parent
              var win = tinyMCEPopup.getWin();
              var styles = win.document.styleSheets;

        Enumerable has 22 functions (exceeds 20 allowed). Consider refactoring.
        Open

        var Enumerable = {
          each: function(iterator, context) {
            var index = 0;
            iterator = iterator.bind(context);
            try {
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/prototype.js - About 2 hrs to fix

          Slider has 22 functions (exceeds 20 allowed). Consider refactoring.
          Open

          Control.Slider = Class.create({
            initialize: function(handle, track, options) {
              var slider = this;
              
              if (Object.isArray(handle)) {
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/js/scriptaculous/slider.js - About 2 hrs to fix

            Consider simplifying this complex logical expression.
            Open

                    if (
                        isset( $parent_item->type ) &&
                        (
                            // ancestral post object
                            (
            Severity: Critical
            Found in Web.Admin/2014/wordpress/wp-includes/nav-menu-template.php - About 2 hrs to fix

              SimplePie_Source has 22 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class SimplePie_Source
              {
                  var $item;
                  var $data = array();
              
              
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                Class ContingentViewQueries has 22 methods (exceeds 20 allowed). Consider refactoring.
                Open

                    public class ContingentViewQueries :
                        IReadModel,
                        IContingentViewQueries,
                        ISubscribeTo<ContingentCreated>,
                        ISubscribeTo<ContingentAssignedToTournament>,
                Severity: Minor
                Found in ReadModels/ContingentViewQueries.cs - About 2 hrs to fix

                  Function loadCSS has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                              loadCSS : function( href, id, callback ) {
                  
                                  var link,
                                      length;
                  
                  
                  Severity: Major
                  Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 2 hrs to fix

                    Function _serializeObject has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                Serializer._serializeObject = function (source, name) {
                                    var circularReferenceCheck = "__aiCircularRefCheck";
                                    var output = {};
                                    if (!source) {
                                        ApplicationInsights._InternalLogging.throwInternalUserActionable(0 /* CRITICAL */, "cannot serialize " + name + " because it is null or undefined");
                    Severity: Major
                    Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 2 hrs to fix

                      Function refreshAdvancedAccessibility has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              refreshAdvancedAccessibility : function() {
                      
                                  // Hide all links by default
                                  $( '.menu-item-settings .field-move a' ).css( 'display', 'none' );
                      
                      
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-admin/js/nav-menu.js - About 2 hrs to fix

                        Function hoverIntent has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            $.fn.hoverIntent = function(f,g) {
                                // default configuration options
                                var cfg = {
                                    sensitivity: 7,
                                    interval: 100,
                        Severity: Major
                        Found in Web.Admin/2014/wordpress/wp-includes/js/hoverIntent.dev.js - About 2 hrs to fix

                          Function loadCSS has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                      loadCSS : function( href, id, callback ) {
                          
                                          var link,
                                              length;
                          
                          Severity: Major
                          Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 2 hrs to fix

                            Method _tag_row has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) {
                                    $count = number_format_i18n( $tag->count );
                                    $tagsel = ($taxonomy == 'post_tag' ? 'tag' : $taxonomy);
                                    $count = ( $count > 0 ) ? "<a href='edit.php?$tagsel=$tag->slug'>$count</a>" : $count;
                            
                            
                            Severity: Major
                            Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 2 hrs to fix

                              Method wp_handle_upload has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function wp_handle_upload( &$file, $overrides = false, $time = null ) {
                                  // The default error handler.
                                  if (! function_exists( 'wp_handle_upload_error' ) ) {
                                      function wp_handle_upload_error( &$file, $message ) {
                                          return array( 'error'=>$message );
                              Severity: Major
                              Found in Web.Admin/2014/wordpress/wp-admin/includes/file.php - About 2 hrs to fix

                                Method delete_plugins has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function delete_plugins($plugins, $redirect = '' ) {
                                    global $wp_filesystem;
                                
                                    if( empty($plugins) )
                                        return false;
                                Severity: Major
                                Found in Web.Admin/2014/wordpress/wp-admin/includes/plugin.php - About 2 hrs to fix

                                  Method parse_comment has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function parse_comment( $comment ) {
                                          global $wpdb;
                                  
                                          // Get the top-level attributes
                                          preg_match( '|<comment([^>]+)>|i', $comment, $attribs );
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 2 hrs to fix

                                    Method search_theme_directories has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function search_theme_directories() {
                                        global $wp_theme_directories, $wp_broken_themes;
                                        if ( empty( $wp_theme_directories ) )
                                            return false;
                                    
                                    
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-includes/theme.php - About 2 hrs to fix

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

                                          function mw_newMediaObject($args) {
                                              global $wpdb;
                                      
                                              $blog_ID     = (int) $args[0];
                                              $username  = $this->escape($args[1]);
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 2 hrs to fix

                                        Method wp_update_term has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function wp_update_term( $term_id, $taxonomy, $args = array() ) {
                                            global $wpdb;
                                        
                                            if ( ! is_taxonomy($taxonomy) )
                                                return new WP_Error('invalid_taxonomy', __('Invalid taxonomy'));
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language