Condition Coverage

lib/Neo4j/Driver/Net/Bolt.pm
Criterion Covered Total %
condition 20 26 76.9


and 3 conditions

line !l l&&!r l&&r condition
114 2 3 1 &try(sub { $cxn->errmsg unless $cxn->errnum; } ) and $cxn != $ref

or 2 conditions

line l !l condition
50 10 1 $driver->config('net_module') || 'Neo4j::Bolt'

or 3 conditions

line l !l&&r !l&&!r condition
100 3 0 1 scalar $ref->client_errmsg // $BOLT_ERROR{$ref->client_errnum}
106 2 3 1 scalar $ref->errmsg // $BOLT_ERROR{$ref->errnum}
109 1 12 0 $connection // $self->{'connection'}
114 0 0 1 scalar $cxn->errmsg // $BOLT_ERROR{$cxn->errnum}
120 0 2 1 scalar $cxn->errmsg // $BOLT_ERROR{$cxn->errnum}
135 4 4 7 $errmsg //= $BOLT_ERROR{$errnum}
179 0 2 5 not $stream or $stream->failure