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 420 0 60 $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
103 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
206 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'
201 0 0 0 $CODE_LOOKUP{$id} //= $ref
223 0 0 0 $GLOB_LOOKUP{$id} //= $ref
226 0 0 0 $GLOB_LOOKUP{${$_[0];}} || *STDERR