Branch Coverage

blib/lib/App/Presto/Client.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
41 1 0 exists $headers->{$header} ? :
52 0 1 unless $self->_rest_client->{'_headers'}
61 0 2 if $existing_content_type
70 0 1 if $existing_content_type
100 1 6 unless defined $local_uri
102 1 6 if ($local_uri->scheme) { }
107 5 1 unless $endpoint =~ /\*/
109 1 5 if $local_uri->query
139 0 0 if (my $content_type = $response->header('Content-type'))
141 0 0 if ($h->can_deserialize($content_type))