blib/lib/IPC/Shareable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 49 | 16.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
587 | 0 | 0 | 0 | $stored_key and $stored_key == $protect_key |
764 | 0 | 2 | 0 | $knot->attributes("limit") and $shm_size > 1073741824 |
800 | 0 | 0 | 0 | $knot->attributes("create") and $knot->attributes("exclusive") |
918 | 0 | 0 | 0 | not $verified_exclusive and $check_count < 10 |
1075 | 0 | 0 | 0 | exists $data->{$id} and keys %{$$data{$id};} |
0 | 0 | 0 | exists $data->{$id} and keys %{$$data{$id};} and tied %{$$data{$id};} | |
1081 | 0 | 0 | 0 | exists $data->[$id] and tied @{$$data[$id];} |
line | l | !l | condition |
---|---|---|---|
32 | 0 | 37 | $ENV{'SHAREABLE_DEBUG'} || 0 |
388 | 0 | 0 | $opts{'var'} || 'HASH' |
485 | 0 | 0 | $destroy ||= 0 |
872 | 0 | 2 | $opts->{'magic'} || 0 |
881 | 0 | 2 | $knot->attributes('key') || '' |
964 | 2 | 0 | $knot->attributes('mode') || 438 |
991 | 0 | 0 | &Scalar::Util::reftype($val) || '' |
1071 | 0 | 0 | &Scalar::Util::reftype($parent->{'_data'}) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
172 | 0 | 0 | 0 | $knot->{'_lock'} or $knot->{'_iterating'} |
843 | 0 | 2 | 0 | $process_register{$knot->seg->id} ||= $knot |
871 | 0 | 2 | 0 | $opts->{'owner'} || $$ |
881 | 0 | 0 | 2 | $key_str //= $knot->attributes('key') || '' |