CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Consider simplifying this complex logical expression.
Open

        if (method_exists($this, 'set_' . $name))
        {
            call_user_func(array($this, 'set_' . $name), $value);
        }
        elseif (
Severity: Major
Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/IRI.php - About 40 mins to fix

    Consider simplifying this complex logical expression.
    Open

                    if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
                    {
                        return $feed;
                    }
                    else
    Severity: Major
    Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Locator.php - About 40 mins to fix

      Consider simplifying this complex logical expression.
      Open

                          if ($file->success && ($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300)) && strlen($file->body) > 0)
                          {
                              $sniffer =& new $this->content_type_sniffer_class($file);
                              if (substr($sniffer->get_type(), 0, 6) === 'image/')
                              {
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 40 mins to fix

        Consider simplifying this complex logical expression.
        Open

                        if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
                        {
                            return $feed;
                        }
                        else
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                          if (!in_array($href, $done) && in_array('feed', $rel) || (in_array('alternate', $rel) && !empty($link['attribs']['type']['data']) && in_array(strtolower(SimplePie_Misc::parse_mime($link['attribs']['type']['data'])), array('application/rss+xml', 'application/atom+xml'))) && !isset($feeds[$href]))
                          {
                              $this->checked_feeds++;
                              $feed =& new $this->file_class($href, $this->timeout, 5, null, $this->useragent);
                              if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 40 mins to fix

            Consider simplifying this complex logical expression.
            Open

                            if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
                            {
                                return $feed;
                            }
                            else
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 40 mins to fix

              Consider simplifying this complex logical expression.
              Open

                                  if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
                                  {
                                      $feeds[$href] = $feed;
                                  }
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 40 mins to fix

                Consider simplifying this complex logical expression.
                Open

                        if ( $r['stream'] ) {
                            if ( ! WP_DEBUG )
                                $stream_handle = @fopen( $r['filename'], 'w+' );
                            else
                                $stream_handle = fopen( $r['filename'], 'w+' );
                Severity: Major
                Found in Web.Admin/2014/wordpress/wp-includes/class-http.php - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                          if ( ( 'login_post' == $scheme || 'rpc' == $scheme ) && ( force_ssl_login() || force_ssl_admin() ) )
                              $scheme = 'https';
                          elseif ( ('login' == $scheme) && ( force_ssl_admin() ) )
                              $scheme = 'https';
                          elseif ( ('admin' == $scheme) && force_ssl_admin() )
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/link-template.php - About 40 mins to fix

                    Consider simplifying this complex logical expression.
                    Open

                            if ( (0 == count($wp_query->posts)) && !is_404() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {
                                // Don't 404 for these queries if they matched an object.
                                if ( ( is_tag() || is_category() || is_author() ) && $wp_query->get_queried_object() ) {
                                    if ( !is_404() )
                                        status_header( 200 );
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-includes/classes.php - About 40 mins to fix

                      Function isCrossOriginError has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                                  Util.isCrossOriginError = function (message, url, lineNumber, columnNumber, error) {
                      Severity: Minor
                      Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 35 mins to fix

                        Function ngfFixIE has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
                        Severity: Minor
                        Found in Web.Admin/z-scripts/ng-file-upload-shim.js - About 35 mins to fix

                          Function validate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          function validate(scope, $parse, attr, file, evt) {
                          Severity: Minor
                          Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 35 mins to fix

                            Function ngfFixIE has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
                            Severity: Minor
                            Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 35 mins to fix

                              Function validate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              function validate(scope, $parse, attr, file, evt) {
                              Severity: Minor
                              Found in Web.Admin/z-scripts/ng-file-upload.js - About 35 mins to fix

                                Function _emit has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    function _emit(target, fn, name, res, ext){
                                Severity: Minor
                                Found in Web.Admin/z-scripts/FileAPI.js - About 35 mins to fix

                                  Function modalDivisionsController has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      var modalDivisionsController = function ($scope, $modalInstance, $http, title, divisions) {
                                  Severity: Minor
                                  Found in Web.Admin/AdminApp/Controllers/controller.modal.divisions.js - About 35 mins to fix

                                    Function easing has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                                easing: function(x,t,b,c,d) {
                                    Severity: Minor
                                    Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 35 mins to fix

                                      Function action has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                                      this._eventTracking.action = function (name, url, duration, properties, measurements) {
                                      Severity: Minor
                                      Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 35 mins to fix

                                        Function galleria has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            galleria: function (_, t, b, c, d) {
                                        Severity: Minor
                                        Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language