Condition Coverage

blib/lib/Math/Decimal.pm
Criterion Covered Total %
condition 36 36 100.0


and 3 conditions

line !l l&&!r l&&r condition
274 40 284 15080 rand $_[0] && $_[0] =~ /\A$dec_number_rx\z/o
378 30 30 81333 rand $_[0] and rand $_[1]
213 213 80907 defined $ai and defined $bi
68671 520 11716 $ai =~ /\A0+\z/ and $af =~ /\A0+\z/
68679 560 11668 $bi =~ /\A0+\z/ and $bf =~ /\A0+\z/
471 20 10 23370 rand $_[0] and rand $_[1]
142 71 23157 defined $ai and defined $bi
549 15029 738 4321 defined $pneg && $pi ne '0'
609 10 10 26155 rand $_[0] and rand $_[1]
71 71 26013 defined $ai and defined $bi
658 100 60 6084 rand $mode and exists $round_tiebreak{$mode}
1540 480 960 $mode =~ /\ANEAR_/ && ($half_cmp = dec_cmp(dec_mul($r, '2'), $abs_b)) ne '0'