CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method strip_tag has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function strip_tag($tag, $document, $type)
    {
        $xpath = new DOMXPath($document);
        $elements = $xpath->query('body//' . $tag);
        if ($this->encode_instead_of_strip)
Severity: Major
Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Sanitize.php - About 2 hrs to fix

    Method QuicktimeIODSvideoProfileName has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function QuicktimeIODSvideoProfileName($video_profile_id) {
            static $QuicktimeIODSvideoProfileNameLookup = array();
            if (empty($QuicktimeIODSvideoProfileNameLookup)) {
                $QuicktimeIODSvideoProfileNameLookup = array(
                    0x00 => 'Reserved (0x00) Profile',

      Method get_links has 68 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function get_links($rel = 'alternate')
          {
              if (!isset($this->data['links']))
              {
                  $this->data['links'] = array();
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 2 hrs to fix

        Method get_links has 68 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function get_links($rel = 'alternate')
            {
                if (!isset($this->data['links']))
                {
                    $this->data['links'] = array();
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

          File ScheduleBuilder.cs has 279 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          using Edument.CQRS;
          using MBACNationals.ReadModels;
          using MBACNationals.Scores.Commands;
          using System;
          using System.Collections.Generic;
          Severity: Minor
          Found in Aggregates/Admin/ScheduleBuilder.cs - About 2 hrs to fix

            File revision.php has 279 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            <?php
            /**
             * Post revision functions.
             *
             * @package WordPress
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/revision.php - About 2 hrs to fix

              File ContingentTravelPlanQueries.cs has 279 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              using Edument.CQRS;
              using Events.Contingent;
              using Events.Tournament;
              using System;
              using System.Collections.Generic;
              Severity: Minor
              Found in ReadModels/ContingentTravelPlanQueries.cs - About 2 hrs to fix

                Function _parseData has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _parseData : function( callback ) {
                
                        var self = this,
                            current,
                            ready = false,
                Severity: Major
                Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 2 hrs to fix

                  Function extractImageData has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function extractImageData( imageNode ) {
                          var classes, extraClasses, metadata, captionBlock, caption, link, width, height,
                              dom = editor.dom,
                              isIntRegExp = /^\d+$/;
                  
                  

                    Function _parseData has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _parseData : function( callback ) {
                    
                            var self = this,
                                current,
                                ready = false,
                    Severity: Major
                    Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 2 hrs to fix

                      Method wp_dashboard_setup has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function wp_dashboard_setup() {
                          global $wp_registered_widgets, $wp_registered_widget_controls, $wp_dashboard_control_callbacks;
                          $wp_dashboard_control_callbacks = array();
                      
                          $update = false;
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-admin/includes/dashboard.php - About 2 hrs to fix

                        Method dispatch has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function dispatch()
                            {
                        
                                if (empty ($_GET['step']))
                                    $step = 0;
                        Severity: Major
                        Found in Web.Admin/2014/wordpress/wp-admin/import/textpattern.php - About 2 hrs to fix

                          Method wp_mime_type_icon has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function wp_mime_type_icon( $mime = 0 ) {
                              if ( !is_numeric($mime) )
                                  $icon = wp_cache_get("mime_type_icon_$mime");
                              if ( empty($icon) ) {
                                  $post_id = 0;
                          Severity: Major
                          Found in Web.Admin/2014/wordpress/wp-includes/post.php - About 2 hrs to fix

                            Method get_links has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function get_links($rel = 'alternate')
                                {
                                    if (!isset($this->data['links']))
                                    {
                                        $this->data['links'] = array();
                            Severity: Major
                            Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Source.php - About 2 hrs to fix

                              Method feed_or_html has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function feed_or_html()
                                  {
                                      $len = strlen($this->file->body);
                                      $pos = strspn($this->file->body, "\x09\x0A\x0D\x20");
                              
                              

                                Method get_links has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function get_links($rel = 'alternate')
                                    {
                                        if (!isset($this->data['links']))
                                        {
                                            $this->data['links'] = array();
                                Severity: Major
                                Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                                  Method feed_or_html has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function feed_or_html()
                                      {
                                          $len = strlen($this->file->body);
                                          $pos = strspn($this->file->body, "\x09\x0A\x0D\x20");
                                  
                                  
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                                    Method get_links has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function get_links($rel = 'alternate')
                                        {
                                            if (!isset($this->data['links']))
                                            {
                                                $this->data['links'] = array();
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                                      Method absolutize has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function absolutize($base, $relative)
                                          {
                                              $relative = (string) $relative;
                                              if ($relative !== '')
                                              {
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                                        Method force_balance_tags has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function force_balance_tags( $text ) {
                                            $tagstack = array(); $stacksize = 0; $tagqueue = ''; $newtext = '';
                                            $single_tags = array('br', 'hr', 'img', 'input'); //Known single-entity/self-closing tags
                                            $nestable_tags = array('blockquote', 'div', 'span'); //Tags that can be immediately nested within themselves
                                        
                                        
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-includes/formatting.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language