Condition Coverage

blib/lib/Math/Decimal64.pm
Criterion Covered Total %
condition 43 84 51.1


and 3 conditions

line !l l&&!r l&&r condition
447 2 9 509356 not ref $_[0] and $_[0] eq 'Math::Decimal64'
521 0 0 0 length $man > 1 and $man =~ /0$/
589 989 113 0 substr($rounder, 0, 1) == 5 and substr($rounder, 1) =~ /[1-9]/ || substr($man, -1, 1) % 2 == 1
1079 24 10 4 substr($trailing, $_[1]) =~ /^5(0+)?$/ and substr($trailing, $_[1] - 1, 1) % 2 == 0

or 3 conditions

line l !l&&r !l&&!r condition
392 0 14 44 is_InfD64($_[0]) or not $_[0]
401 0 0 0 is_InfD64($_[0]) or not $_[0]
409 2 2 47728 is_NaND64($_[0]) or is_InfD64($_[0])
4 360 47368 is_NaND64($_[0]) or is_InfD64($_[0]) or is_ZeroD64($_[0])
514 0 0 0 Math::MPFR::Rmpfr_zero_p($fr) or Math::MPFR::Rmpfr_inf_p($fr)
0 0 0 Math::MPFR::Rmpfr_zero_p($fr) or Math::MPFR::Rmpfr_inf_p($fr) or Math::MPFR::Rmpfr_nan_p($fr)
545 219222 3243 324398 $len_1 >= 16 or $arg2 < -398
589 97 8 8 substr($rounder, 1) =~ /[1-9]/ || substr($man, -1, 1) % 2 == 1
618 1 0 7 $len_2 >= 16 or $arg3 < -398
696 0 0 0 $first[1] =~ /inf/i or $first[1] =~ /nan/i
730 0 0 0 $pre eq '00' or $pre eq '01'
0 0 0 $pre eq '00' or $pre eq '01' or $pre eq '10'
736 0 0 0 $pre eq '1100' or $pre eq '1101'
0 0 0 $pre eq '1100' or $pre eq '1101' or $pre eq '1110'
780 59264 59718 61726 $pre eq '00' or $pre eq '01'
118982 52689 9037 $pre eq '00' or $pre eq '01' or $pre eq '10'
794 374 2854 5809 $pre eq '1100' or $pre eq '1101'
3228 5809 0 $pre eq '1100' or $pre eq '1101' or $pre eq '1110'
855 0 0 0 $pre eq '00' or $pre eq '01'
0 0 0 $pre eq '00' or $pre eq '01' or $pre eq '10'
863 353 803 380 $pre eq '00' or $pre eq '01'
1156 316 64 $pre eq '00' or $pre eq '01' or $pre eq '10'
973 0 0 0 length $man > 16 or $exp < -398
1079 14 0 38 substr($trailing, $_[1], 1) <= 4 or substr($trailing, $_[1]) =~ /^5(0+)?$/ and substr($trailing, $_[1] - 1, 1) % 2 == 0