CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method atom_03_construct_type has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function atom_03_construct_type($attribs)
    {
        if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
        {
            $mode = SIMPLEPIE_CONSTRUCT_BASE64;
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Misc.php - About 1 hr to fix

    Method new_line has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function new_line()
        {
            $this->value = trim($this->value, "\x0D\x20");
            if ($this->name !== '' && $this->value !== '')
            {
    Severity: Minor
    Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/HTTP/Parser.php - About 1 hr to fix

      Method image_resize_dimensions has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function image_resize_dimensions($orig_w, $orig_h, $dest_w, $dest_h, $crop = false) {
      
          if ($orig_w <= 0 || $orig_h <= 0)
              return false;
          // at least one of dest_w or dest_h must be specific
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/media.php - About 1 hr to fix

        Method wp_parse_auth_cookie has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function wp_parse_auth_cookie($cookie = '', $scheme = '') {
            if ( empty($cookie) ) {
                switch ($scheme){
                    case 'auth':
                        $cookie_name = AUTH_COOKIE;
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 1 hr to fix

          Method output_javascript has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function output_javascript()
              {
                  if (function_exists('ob_gzhandler'))
                  {
                      ob_start('ob_gzhandler');
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

            Method atom_03_construct_type has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function atom_03_construct_type($attribs)
                {
                    if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
                    {
                        $mode = SIMPLEPIE_CONSTRUCT_BASE64;
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

              Method get_iri has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function get_iri()
                  {
                      $iri = '';
                      if ($this->scheme !== null)
                      {
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                Method new_line has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function new_line()
                    {
                        $this->value = trim($this->value, "\x0D\x20");
                        if ($this->name !== '' && $this->value !== '')
                        {
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                  Method wp_cookie_constants has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function wp_cookie_constants() {
                      /**
                       * Used to guarantee unique hash cookies
                       *
                       * @since 1.5.0
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/default-constants.php - About 1 hr to fix

                    Method translate_header has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        private function translate_header( $header, $value ) {
                            switch ( $header ) {
                                case 'Name' :
                                    // Cached for sorting reasons.
                                    if ( isset( $this->name_translated ) )
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/class-wp-theme.php - About 1 hr to fix

                      Method sanitize_file_name has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function sanitize_file_name( $filename ) {
                          $filename_raw = $filename;
                          $special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", chr(0));
                          $special_chars = apply_filters('sanitize_file_name_chars', $special_chars, $filename_raw);
                          $filename = str_replace($special_chars, '', $filename);
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/formatting.php - About 1 hr to fix

                        Method wp_unique_filename has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) {
                            // sanitize the file name before we begin processing
                            $filename = sanitize_file_name($filename);
                        
                            // separate the filename into a name and extension
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                          Method the_content_rss has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
                              _deprecated_function(__FUNCTION__, '2.9', 'the_content_feed' );
                              $content = get_the_content($more_link_text, $stripteaser, $more_file);
                              $content = apply_filters('the_content_rss', $content);
                              if ( $cut && !$encode_html )
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/deprecated.php - About 1 hr to fix

                            Method Expand has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              function Expand($name) {
                                $this->error = null; # so no confusion is caused
                            
                                if(!$this->connected()) {
                                  $this->error = array(
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/class-smtp.php - About 1 hr to fix

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

                                      public void Handle(RoomCheckinChanged e)
                                      {
                                          var tournament = GetTournamentFromContingentId(e.Id);
                              
                                          var contingentRooms = tournament.ContingentRooms.FirstOrDefault(x => x.Id == e.Id);
                              Severity: Minor
                              Found in ReadModels/ContingentTravelPlanQueries.cs - About 1 hr to fix

                                Function $get has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                  function $get(   $rootScope,   $q,   $view,   $injector,   $resolve,   $stateParams,   $urlRouter,   $location,   $urlMatcherFactory) {
                                Severity: Major
                                Found in Web.Admin/z-scripts/angular-ui-router.js - About 1 hr to fix

                                  Method wp_crop_image has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  function wp_crop_image( $src_file, $src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs = false, $dst_file = false ) {
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/image.php - About 1 hr to fix

                                    Method get_linksbyname_withrating has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ",
                                                                        $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-includes/deprecated.php - About 1 hr to fix

                                      Method get_links_withrating has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true,
                                                                    $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-includes/deprecated.php - About 1 hr to fix

                                        Function exec has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        UrlMatcher.prototype.exec = function (path, searchParams) {
                                          var m = this.regexp.exec(path);
                                          if (!m) return null;
                                          searchParams = searchParams || {};
                                        
                                        
                                        Severity: Minor
                                        Found in Web.Admin/z-scripts/angular-ui-router.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language