Condition Coverage

blib/lib/Cache/FastMmap.pm
Criterion Covered Total %
condition 42 66 63.6


and 3 conditions

line !l l&&!r l&&r condition
523 31020 786 13817 not $Found and my $read_cb = $$Self{'read_cb'}
548 45623 0 0 $_[2] and $_[2]{'skip_unlock'}
572 14854 0 0 $_[3] and $_[3]{'skip_lock'}
593 3100 8754 3000 !$write_back || !$DidStore and my $write_cb = $$Self{'write_cb'}
665 0 0 177 $DidDel && !($Flags & 1)
0 0 301 !$DidDel || $DidDel && !($Flags & 1) and my $delete_cb = $$Self{'delete_cb'}
734 0 1 7 $Mode == 2 and $$Self{'raw_values'}
890 17368 3 11573 $$Self{'write_back'} && $WB
904 10 0 0 $$Self{'empty_on_exit'} and $Cache

or 2 conditions

line l !l condition
399 0 10 $Args{'share_file'} || '/tmp/sharefile'
401 10 0 $Args{'init_file'} || 0
402 0 10 $Args{'test_file'} || 0
405 8 2 $Args{'raw_values'} || 0
414 1 9 $Args{'expire_time'} || 0
434 0 0 $Args{'page_size'} || 65536
455 5 5 $num_pages ||= 89
456 6 4 $page_size ||= 65536
466 0 10 $Args{'start_slots'} || 0
0 10 int($Args{'start_slots'} || 0) || 89
469 3 7 $Args{'write_action'} || 'write_through'
733 8 3 $_[1] || 0

or 3 conditions

line l !l&&r !l&&!r condition
392 0 10 0 ref $Proto || $Proto
529 13817 0 0 defined $Val or $$Self{'cache_not_found'}
593 11754 0 3100 !$write_back || !$DidStore
665 124 177 0 !$DidDel || $DidDel && !($Flags & 1)
734 3 7 1 $Mode <= 1 or $Mode == 2 and $$Self{'raw_values'}