CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method wp_get_associated_nav_menu_items has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function wp_get_associated_nav_menu_items( $object_id = 0, $object_type = 'post_type', $taxonomy = '' ) {
    $object_id = (int) $object_id;
    $menu_item_ids = array();

    $query = new WP_Query;
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/nav-menu.php - About 1 hr to fix

    Method get_attachment_icon has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) {
        $id = (int) $id;
        if ( !$post = & get_post($id) )
            return false;
    
    
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/post-template.php - About 1 hr to fix

      Method wp_text_diff has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function wp_text_diff( $left_string, $right_string, $args = null ) {
          $defaults = array( 'title' => '', 'title_left' => '', 'title_right' => '' );
          $args = wp_parse_args( $args, $defaults );
      
          if ( !class_exists( 'WP_Text_Diff_Renderer_Table' ) )
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 1 hr to fix

        Method is_subclass_of has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function is_subclass_of($class1, $class2)
            {
                if (func_num_args() !== 2)
                {
                    trigger_error('Wrong parameter count for SimplePie_Misc::is_subclass_of()', E_USER_WARNING);
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

          Method get_feed_tags has 30 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function get_feed_tags($namespace, $tag)
              {
                  $type = $this->get_type();
                  if ($type & SIMPLEPIE_TYPE_ATOM_10)
                  {
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

            Method change_encoding has 30 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function change_encoding($data, $input, $output)
                {
                    $input = SimplePie_Misc::encoding($input);
                    $output = SimplePie_Misc::encoding($output);
            
            
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

              Method date_i18n has 30 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {
                  global $wp_locale;
                  $i = $unixtimestamp;
                  // Sanity check for PHP 5.1.0-
                  if ( false === $i || intval($i) < 0 ) {
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                Method add_site_option has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function add_site_option( $option, $value ) {
                    global $wpdb;
                
                    wp_protect_special_option( $option );
                
                
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/option.php - About 1 hr to fix

                  Method get_date_permastruct has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function get_date_permastruct() {
                          if (isset($this->date_structure)) {
                              return $this->date_structure;
                          }
                  
                  
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/rewrite.php - About 1 hr to fix

                    Method get_site_option has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function get_site_option( $option, $default = false, $use_cache = true ) {
                        global $wpdb;
                    
                        /**
                         * Filter an existing site option before it is retrieved.
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/option.php - About 1 hr to fix

                      Method wp_maintenance has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function wp_maintenance() {
                          if ( !file_exists( ABSPATH . '.maintenance' ) || defined( 'WP_INSTALLING' ) )
                              return;
                      
                          global $upgrading;
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/load.php - About 1 hr to fix

                        Method IXR_IntrospectionServer has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function IXR_IntrospectionServer() {
                                $this->setCallbacks();
                                $this->setCapabilities();
                                $this->capabilities['introspection'] = array(
                                    'specUrl' => 'http://xmlrpc.usefulinc.com/doc/reserved.html',
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/class-IXR.php - About 1 hr to fix

                          Method get_output_format has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              protected function get_output_format( $filename = null, $mime_type = null ) {
                                  $new_ext = $file_ext = null;
                                  $file_mime = null;
                          
                                  // By default, assume specified type takes priority
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-wp-image-editor.php - About 1 hr to fix

                            Method Handle has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    public IEnumerable Handle(Func<Guid, ParticipantAggregate> al, UpdateParticipantProfile command)
                                    {
                                        var agg = al(command.Id);
                            
                                        yield return new ParticipantProfileChanged
                            Severity: Minor
                            Found in Aggregates/Participant/ParticipantCommandHandlers.cs - About 1 hr to fix

                              Method CanCreateParticipant has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      [Test]
                                      public void CanCreateParticipant()
                                      {
                                          Test(
                                              Given(),
                              Severity: Minor
                              Found in Tests/ParticipantTests.cs - About 1 hr to fix

                                Function queue has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                                            var queue = api.queue(function (){
                                                                flash.uploadInProgress = true;
                                                                flash.cmd(flashId, 'upload', {
                                                                      url: _getUrl(options.url.replace(/([a-z]+)=(\?)&?/i, ''))
                                                                    , data: data
                                Severity: Minor
                                Found in Web.Admin/z-scripts/FileAPI.js - About 1 hr to fix

                                  Function $ViewDirectiveFill has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function $ViewDirectiveFill (  $compile,   $controller,   $state,   $interpolate) {
                                    return {
                                      restrict: 'ECA',
                                      priority: -400,
                                      compile: function (tElement) {
                                  Severity: Minor
                                  Found in Web.Admin/z-scripts/angular-ui-router.js - About 1 hr to fix

                                    Function galleria has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    $.fn.galleria = function( options ) {
                                    
                                        var selector = this.selector;
                                    
                                        // try domReady if element not found
                                    Severity: Minor
                                    Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 1 hr to fix

                                      Function User has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                      function User(accountId) {
                                                          var cookie = ApplicationInsights.Util.getCookie(User.userCookieName);
                                                          if (cookie) {
                                                              var params = cookie.split(User.cookieSeparator);
                                                              if (params.length > 0) {
                                      Severity: Minor
                                      Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 1 hr to fix

                                        Function modalDivisionsController has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            var modalDivisionsController = function ($scope, $modalInstance, $http, title, divisions) {
                                                $scope.model = {};
                                        
                                                $scope.model.title = title;
                                                $scope.model.divisions = [
                                        Severity: Minor
                                        Found in Web.Admin/AdminApp/Controllers/controller.modal.divisions.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language