public function get($coverage_script_url, $test_id)
	{
		$url = $this->createUrl($coverage_script_url, $test_id);
		$buffer = $this->_remoteUrl->getPageContent($url);

		if ( $buffer !== false ) {
			$coverage_data = unserialize($buffer);

			if ( is_array($coverage_data) ) {
				return $this->matchLocalAndRemotePaths($coverage_data);
			}

			throw new \RuntimeException('Empty or invalid code coverage data received from url "' . $url . '"');
		}

		return array();
	}
public function get($coverage_script_url, $test_id)
	{
		$url = $this->createUrl($coverage_script_url, $test_id);
		$buffer = $this->_remoteUrl->getPageContent($url);

		if ( $buffer !== false ) {
			$coverage_data = unserialize($buffer);

			if ( is_array($coverage_data) ) {
				return $this->matchLocalAndRemotePaths($coverage_data);
			}

			throw new \RuntimeException('Empty or invalid code coverage data received from url "' . $url . '"');
		}

		return array();
	}
public function get ( $ coverage_script_url , $ test_id ) { $ url = $ this -> createUrl ( $ coverage_script_url , $ test_id ) ; $ buffer = $ this -> _remoteUrl -> getPageContent ( $ url ) ; if ( $ buffer !== false ) { $ coverage_data = unserialize ( $ buffer ) ; if ( is_array ( $ coverage_data ) ) { return $ this -> matchLocalAndRemotePaths ( $ coverage_data ) ; } throw new \ RuntimeException ( 'Empty or invalid code coverage data received from url "' . $ url . '"' ) ; } return array ( ) ; }
Retrieves remote coverage information.

@param string $coverage_script_url Coverage script irl.
@param string $test_id             Test ID.

@throws \RuntimeException Broken code coverage retrieved.
@return array
Retrieves remote coverage information .