protected function matchLocalAndRemotePaths(array $coverage)
	{
		$coverage_with_local_paths = array();

		foreach ( $coverage as $original_remote_path => $data ) {
			$remote_path = $original_remote_path;
			$separator = $this->findDirectorySeparator($remote_path);

			while ( !($local_path = stream_resolve_include_path($remote_path)) &&
				strpos($remote_path, $separator) !== false ) {
				$remote_path = substr($remote_path, strpos($remote_path, $separator) + 1);
			}

			if ( $local_path && md5_file($local_path) == $data['md5'] ) {
				$coverage_with_local_paths[$local_path] = $data['coverage'];
			}
		}

		return $coverage_with_local_paths;
	}