Branch Coverage

blib/lib/threadsx/shared.pm
Criterion Covered Total %
branch 4 40 10.0


line true false branch
25 0 60 if ($threadsx::shared::shared++)
28 60 0 unless (defined &threadsx::shared::share_orig)
39 60 420 if $sym eq 'bless' and not $threads::threads
53 0 0 if ($off < 0)
55 0 0 if ($off < 0)
61 0 0 if (not defined $len or $len eq 'undef')
64 0 0 if ($len < 0)
66 0 0 if ($len < 0)
81 0 0 if $i + $off > $arraylen
94 0 0 @val ? :
0 0 wantarray ? :
98 0 0 if (&CORE::GLOBAL::ref($_[0]) eq 'CODE' and $share_code) { }
0 0 elsif (&CORE::GLOBAL::ref($_[0]) eq 'GLOB' and $share_glob) { }
0 0 elsif (&CORE::GLOBAL::ref($_[0]) eq 'REF') { }
103 0 0 if (&CORE::GLOBAL::ref(${$_[0];}) eq 'CODE' and $share_code) { }
0 0 elsif (&CORE::GLOBAL::ref(${$_[0];}) eq 'GLOB' and $share_glob) { }
194 0 0 if (&CORE::GLOBAL::ref($ref) eq $pkg) { }
0 0 elsif (&CORE::GLOBAL::ref($ref) ne 'CODE') { }
216 0 0 if (&CORE::GLOBAL::ref($ref) eq $pkg) { }
0 0 elsif (&CORE::GLOBAL::ref($ref) ne 'GLOB') { }