Branch Coverage

lib/Neo4j/Driver/Net/HTTP/Tiny.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
39 6 13 if (defined $config->{'auth'})
41 1 5 if $config->{'auth'}{'scheme'} ne "basic"
55 7 11 if ($uri->scheme eq 'https') { }
57 2 5 if defined $config->{'encrypted'} and not $config->{'encrypted'}
59 2 3 if (defined $config->{'trust_ca'})
61 1 1 unless open my $fh, "<", $config->{'trust_ca'}
67 2 9 if $config->{'encrypted'}
119 3 8 if ($response->{'status'} eq 599)
133 2 2 if ($response->{'status'} eq 599)
157 597 161 if ord $event == 30
184 3 3 if (defined $json) { }
189 2 1 if defined $mode