Condition Coverage

blib/lib/threadsx/shared.pm
Criterion Covered Total %
condition 2 34 5.8


and 3 conditions

line !l l&&!r l&&r condition
39 483 0 69 $sym eq 'bless' and not $threads::threads
83 0 0 0 defined $fetched && $$fetched
98 0 0 0 &CORE::GLOBAL::ref($_[0]) eq 'CODE' and $share_code
0 0 0 &CORE::GLOBAL::ref($_[0]) eq 'GLOB' and $share_glob
104 0 0 0 &CORE::GLOBAL::ref(${$_[0];}) eq 'CODE' and $share_code
0 0 0 &CORE::GLOBAL::ref(${$_[0];}) eq 'GLOB' and $share_glob

or 2 conditions

line l !l condition
52 0 0 $off ||= 0
214 0 0 $CODE_LOOKUP{${$_[0];}} || sub { croak('threadsx::shared::code: bad ', 'threadsx::shared::code', " id ${$_[0];}"); }

or 3 conditions

line l !l&&r !l&&!r condition
61 0 0 0 not defined $len or $len eq 'undef'
208 0 0 0 $CODE_LOOKUP{$id} //= $ref
231 0 0 0 $GLOB_LOOKUP{$id} //= $ref
236 0 0 0 $GLOB_LOOKUP{${$_[0];}} || *STDERR