Branch Coverage

blib/lib/PDL/Parallel/threads.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
44 6 12 if $name =~ /^\w+$/
49 0 4 unless @_ % 2 == 0
57 0 4 if (exists $datasv_pointers{$name})
61 4 0 if (eval { do { $to_store->isa('PDL') } }) { }
69 0 4 unless $to_store->allocated
73 0 4 if ($@)
82 0 4 if ($can_use_threads) { }
92 0 4 if ref $badval
113 2 0 if (exists $datasv_pointers{$name}) { }
143 0 8 if @_ == 0
149 7 1 if (exists $datasv_pointers{$name}) { }
152 0 0 if ($can_use_threads and $originating_tid{$name} > 0 and not defined "threads"->object($originating_tid{$name}))
165 0 7 ref $badvalue{$name} ? :
176 0 7 if wantarray
179 7 0 if @_ == 1