Branch Coverage

lib/Neo4j/Driver/Net/HTTP/LWP.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
28 6 8 if (my $auth = $driver->config("auth"))
29 1 5 if $auth->{'scheme'} ne "basic"
42 12 1 $version ? :
49 4 9 if ($uri->scheme eq 'https') { }
51 1 3 if $unencrypted
53 1 2 if (defined(my $trust_ca = $driver->config("trust_ca")))
54 0 1 unless open my $fh, "<", $trust_ca
60 1 8 if $driver->config("encrypted")
86 2 10 if (!$header->{'success'} && $response->header('Client-Warning') // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762. )
96 1 2 unless defined $self->{'buffer'}
114 3 2 if ($json) { }
118 2 1 $mode ? :