Condition Coverage

ddb.pm
Criterion Covered Total %
condition 20 42 47.6


and 3 conditions

line !l l&&!r l&&r condition
306 0 0 0 $last_complete == $complete and $$db{'rec_count'} % $show_step
684 0 0 388576 $pos % 4 == 3 and $pos >= 0
779 14 1 67459 $pos % 4 == 3 and $pos >= 0
1209 0 0 1 defined $k_pos && defined $k

or 2 conditions

line l !l condition
715 4 0 $status_cb ||= sub { }
747 796 67582 $status_cb ||= sub { }
749 68378 0 $$db{'cur_keys'} ||= []
810 0 67 $status_cb ||= sub { }
907 0 9 $status_cb ||= sub { }
960 251 0 $ok_cb ||= sub { $_[0]->die("not ok $_[1]\n") unless $_[2]; }

or 3 conditions

line l !l&&r !l&&!r condition
197 251 0 0 $$db{'hash_size'} || $ddb::hash_size
277 31 0 0 $msg ||= $! . "\n"
292 331 0 0 $msg ||= $! . "\n"
399 0 0 71268 $key_len < 0 or $pos + 9 + $key_len > $end_pos
416 2 0 71266 $val_len < 0 or $pos + $rec_len > $end_pos
1022 2600 2600 0 $_ & 1 or delete $db{$_}