CaffGeek/MBACNationals

View on GitHub

Showing 7,504 of 7,504 total issues

Method value has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function value()
    {
        if ($this->is_linear_whitespace())
        {
            $this->linear_whitespace();
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/HTTP/Parser.php - About 1 hr to fix

    Method standalone_value has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function standalone_value()
        {
            if ($standalone = $this->get_value())
            {
                switch ($standalone)

      Method _getTransport has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function &_getTransport( $args = array() ) {
              static $working_transport, $blocking_transport, $nonblocking_transport;
      
              if ( is_null($working_transport) ) {
                  if ( true === WP_Http_ExtHttp::test($args) ) {
      Severity: Minor
      Found in Web.Admin/2014/wordpress/wp-includes/http.php - About 1 hr to fix

        Method __construct has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function __construct( $data ) {
                if ( is_string( $data ) ) {
                    // Assume it's a header string direct from a previous request
                    $pairs = explode( ';', $data );
        
        
        Severity: Minor
        Found in Web.Admin/2014/wordpress/wp-includes/http.php - About 1 hr to fix

          Method connect has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function connect ($server, $port = 110)  {
                  //  Opens a socket to the specified server. Unless overridden,
                  //  port defaults to 110. Returns true on success, false on fail
          
                  // If MAILSERVER is set, override $server with it's value
          Severity: Minor
          Found in Web.Admin/2014/wordpress/wp-includes/class-pop3.php - About 1 hr to fix

            Method ms_subdomain_constants has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function ms_subdomain_constants() {
                static $error = null;
                static $error_warn = false;
            
                if ( false === $error )
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/ms-default-constants.php - About 1 hr to fix

              Method get_bookmark has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function get_bookmark($bookmark, $output = OBJECT, $filter = 'raw') {
                  global $wpdb;
              
                  if ( empty($bookmark) ) {
                      if ( isset($GLOBALS['link']) )
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-includes/bookmark.php - About 1 hr to fix

                Method get_results has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function get_results($query = null, $output = OBJECT) {
                        $this->func_call = "\$db->get_results(\"$query\", $output)";
                
                        if ( $query )
                            $this->query($query);
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-includes/wp-db.php - About 1 hr to fix

                  Method start_el has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
                          $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
                  
                          $class_names = '';
                  
                  
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/nav-menu-template.php - About 1 hr to fix

                    Method wp_validate_auth_cookie has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function wp_validate_auth_cookie($cookie = '', $scheme = '') {
                        if ( ! $cookie_elements = wp_parse_auth_cookie($cookie, $scheme) ) {
                            do_action('auth_cookie_malformed', $cookie, $scheme);
                            return false;
                        }
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 1 hr to fix

                      Method set_scheme has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

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

                        Method standalone_value has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function standalone_value()
                            {
                                if ($standalone = $this->get_value())
                                {
                                    switch ($standalone)
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                          Method get_image_url has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function get_image_url()
                              {
                                  if ($return = $this->get_channel_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'image'))
                                  {
                                      return $this->sanitize($return[0]['attribs']['']['href'], SIMPLEPIE_CONSTRUCT_IRI);
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                            Method split_ns has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function split_ns($string)
                                {
                                    static $cache = array();
                                    if (!isset($cache[$string]))
                                    {
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 1 hr to fix

                              Method parse has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function parse() {
                              
                                      set_error_handler(array(&$this, 'error_handler'));
                              
                                      array_unshift($this->ns_contexts, array());
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/atomlib.php - About 1 hr to fix

                                Method wp_signon has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function wp_signon( $credentials = '', $secure_cookie = '' ) {
                                    if ( empty($credentials) ) {
                                        if ( ! empty($_POST['log']) )
                                            $credentials['user_login'] = $_POST['log'];
                                        if ( ! empty($_POST['pwd']) )
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/user.php - About 1 hr to fix

                                  Method wp_scheduled_delete has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function wp_scheduled_delete() {
                                      global $wpdb;
                                  
                                      $delete_timestamp = time() - (60*60*24*EMPTY_TRASH_DAYS);
                                  
                                  
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                                    Method MsgHTML has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      function MsgHTML($message,$basedir='') {
                                        preg_match_all("/(src|background)=\"(.*)\"/Ui", $message, $images);
                                        if(isset($images[2])) {
                                          foreach($images[2] as $i => $url) {
                                            // do not change urls for absolute images (thanks to corvuscorax)
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/class-phpmailer.php - About 1 hr to fix

                                      Method iis7_url_rewrite_rules has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function iis7_url_rewrite_rules($add_parent_tags = false, $indent = "  ", $end_of_line = "\n") {
                                      
                                              if ( ! $this->using_permalinks()) {
                                                  return '';
                                              }
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/rewrite.php - About 1 hr to fix

                                        Method call has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function call($methodname, $args) {
                                                if (!$this->hasMethod($methodname)) {
                                                    return new IXR_Error(-32601, 'server error. requested method '.
                                                        $methodname.' does not exist.');
                                                }
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-IXR.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language