Condition Coverage

blib/lib/IPC/Shareable.pm
Criterion Covered Total %
condition 1 50 2.0


and 3 conditions

line !l l&&!r l&&r condition
527 0 0 0 $stored_key and $stored_key == $protect_key
713 0 0 0 $knot->attributes("limit") and $shm_size > 1073741824
751 0 0 0 $knot->attributes("create") and $knot->attributes("exclusive")
869 0 0 0 not $verified_exclusive and $check_count < 10
1026 0 0 0 exists $data->{$id} and keys %{$$data{$id};}
0 0 0 exists $data->{$id} and keys %{$$data{$id};} and tied %{$$data{$id};}
1032 0 0 0 exists $data->[$id] and tied @{$$data[$id];}

or 2 conditions

line l !l condition
32 0 35 $ENV{'SHAREABLE_DEBUG'} || 0
388 0 0 $opts{'var'} || 'HASH'
823 0 0 $opts->{'magic'} || 0
832 0 0 $knot->attributes('key') || ''
915 0 0 $knot->attributes('mode') || 438
942 0 0 &Scalar::Util::reftype($val) || ''
1022 0 0 &Scalar::Util::reftype($parent->{'_data'}) || ''

or 3 conditions

line l !l&&r !l&&!r condition
172 0 0 0 $knot->{'_lock'} or $knot->{'_iterating'}
561 0 0 0 not defined $_[0] or $_[0] ne "IPC::Shareable"
794 0 0 0 $process_register{$knot->seg->id} ||= $knot
822 0 0 0 $opts->{'owner'} || $$
832 0 0 0 $key_str //= $knot->attributes('key') || ''