Branch Coverage

blib/lib/Performance/Probability.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
143 9900 100 if ($i != $j and $underlying->[$i] eq $underlying->[$j])
146 4950 4950 $sell_time->[$i] < $sell_time->[$j] ? :
147 4950 4950 $start_time->[$i] > $start_time->[$j] ? :
150 0 9900 if ($b_interval > 0)
162 0 0 if ($types->[$i] ne $types->[$j])
166 0 0 if ($corr_ij < -1 or $corr_ij > 1)
196 0 1 unless (defined $pnl)
208 0 1 if (grep {$_ != scalar @$start_time;} scalar @$sell_time, scalar @$types, scalar @$underlying, scalar @$bought_price, scalar @$payout)
214 0 100 if ($sell_time->[$i] - $start_time->[$i] == 0)