lib/Neo4j/Driver/Net/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 33 | 87.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
76 | 0 | 0 | 70 | $neo4j_version and $tx_endpoint |
122 | 209 | 9 | 36 | %{$self->{'active_tx'};} and not $self->{'want_concurrent'} |
138 | 19 | 66 | 124 | not defined $self->{'want_jolt'} and $self->{'server_info'} |
66 | 119 | 5 | not defined $self->{'want_jolt'} and $self->{'server_info'} and $self->{'server_info'}{'version'} =~ m[^Neo4j/4\.[234]\.] | |
211 | 261 | 0 | 62 | $info->{'commit'} && $info->{'transaction'} |
219 | 3 | 10 | 49 | $header->{'location'} and $header->{'status'} eq 201 |
line | l | !l | condition |
---|---|---|---|
40 | 3 | 8 | $driver->config('net_module') || 'Neo4j::Driver::Net::HTTP::LWP' |
42 | 87 | 80 | $driver->{'plugins'}{'default_handlers'}{'http_adapter_factory'} //= sub { my $net_module = $driver->config('net_module') || 'Neo4j::Driver::Net::HTTP::LWP'; return $net_module->new($driver); } |
49 | 12 | 151 | $driver->config("concurrent_tx") // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
123 | 6 | 2 | 28 | !defined($tx->{'commit_endpoint'}) || keys %{$$self{'active_tx'};} > 1 |
173 | 129 | 205 | 4 | $self->{'accept_for'}{$method} // $self->_accept_for($method) |
180 | 145 | 193 | 0 | $self->{'result_module_for'}{$header->{'content_type'}} // $self->_result_module_for($header->{'content_type'}) |