Branch Coverage

blib/lib/Thread/Barrier.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
38 0 0 unless exists $opts{'RaiseError'}
62 0 0 if $threshold
64 0 0 if ($opt eq 'Action' and defined $val)
65 0 0 unless ref $val eq 'CODE'
70 0 0 if ($opt eq 'RaiseError')
116 0 0 if defined $timeo
124 0 0 unless ($self->_try_release)
125 0 0 if (not defined $timeo) { }
132 0 0 unless cond_timedwait $bar, $timeo
134 0 0 if $$bar{'generation'} == $gen
139 0 0 if (delete $$bar{"first_released_$gen"} and $act) { }
0 0 elsif ($$bar{'broken'}) { }
141 0 0 unless ($ok)
146 0 0 if $$bar{'RaiseError'}
174 0 0 unless defined $_
175 0 0 if /[^0-9]/
177 0 0 if ($err)
240 0 0 if $$bar{'count'} < $$bar{'threshold'}
253 0 0 unless $timeo =~ /^\d+(?:\.\d+)*$/