Condition Coverage

blib/lib/Math/Decimal64.pm
Criterion Covered Total %
condition 45 84 53.5


and 3 conditions

line !l l&&!r l&&r condition
447 2 9 509399 not ref $_[0] and $_[0] eq "Math::Decimal64"
521 0 0 0 length $man > 1 and $man =~ /0$/
589 989 41 72 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 357 47371 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 219245 3243 324409 $len_1 >= 16 or $arg2 < -398
589 96 9 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 59287 59710 61714 $pre eq "00" or $pre eq "01"
118997 52815 8899 $pre eq "00" or $pre eq "01" or $pre eq 10
794 360 2888 5651 $pre eq 1100 or $pre eq 1101
3248 5651 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 351 795 390 $pre eq "00" or $pre eq "01"
1146 309 81 $pre eq "00" or $pre eq "01" or $pre eq 10
973 0 0 0 length $man > 16 or $exp < -398
1079 14 20 18 substr($trailing, $_[1], 1) <= 4 or substr($trailing, $_[1]) =~ /^5(0+)?$/ and substr($trailing, $_[1] - 1, 1) % 2 == 0