Condition Coverage

lib/Neo4j/Driver/Result/Bolt.pm
Criterion Covered Total %
condition 18 36 50.0


and 3 conditions

line !l l&&!r l&&r condition
67 2 0 0 $stream->failure and $stream->failure != -1
73 2 0 0 $stream->failure and $stream->failure != -1
144 24 8 4 ref $data eq "HASH" and defined $data->{'_node'}
153 24 4 4 ref $data eq "HASH" and defined $data->{'_relationship'}

or 2 conditions

line l !l condition
121 4 4 $data->{'properties'} // {}
131 4 4 $data->{'properties'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
66 0 0 2 $stream->failure == -1 or $stream->success == -1
0 2 0 $stream->failure == -1 or $stream->success == -1 or ($stream->failure xor $stream->success)
72 0 0 2 $stream->failure == -1 or $stream->success == -1
0 2 0 $stream->failure == -1 or $stream->success == -1 or ($stream->failure xor $stream->success)

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
66 0 0 2 0 $stream->failure xor $stream->success
72 0 0 2 0 $stream->failure xor $stream->success