Condition Coverage

lib/MooX/Types/CLike.pm
Criterion Covered Total %
condition 56 91 61.5


and 2 conditions

line l !l condition
142 2 8 52 >= $sbits && 1023 >= 2 ** $ebits - 1 && 1 && 1
185 0 2 52 >= $sbits && 1023 >= $emax2 && 1 && 1

and 3 conditions

line !l l&&!r l&&r condition
61 43 129 158 $_[0] >= $neg and $_[0] <= $spos
64 0 0 36 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u
0 0 36 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits
0 4 32 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits and $val >= $neg
4 12 20 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits and $val >= $neg and $val <= $spos
76 115 45 185 $_[0] >= 0 and $_[0] <= $upos
79 0 0 36 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u
0 0 36 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits
0 12 24 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits and $val >= 0
12 4 20 blessed $val and blessed($val) =~ /^Math::Big(?:Int|Float)|^big(?:int|num)/u and ($val->accuracy || $val->precision || $val->div_scale) >= $udigits and $val >= 0 and $val <= $upos
108 4 0 2 52 >= $sbits && -1074 <= -$emin2
122 0 0 30 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u
0 0 30 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u and ($val->accuracy || $val->precision || $val->div_scale) >= $digits
0 3 27 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u and ($val->accuracy || $val->precision || $val->div_scale) >= $digits and $val >= $neg
158 15 13 88 $val >= -$max and $val <= $max
162 30 20 80 $val >= -$max and $val <= $max
0 0 130 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u
0 0 130 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u and ($val->accuracy || $val->precision || $val->div_scale) >= $digits
202 3 2 8 $val >= -$max and $val <= $max
206 6 4 16 $val >= -$max and $val <= $max
0 0 26 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u
0 0 26 blessed $val and blessed($val) =~ /^Math::BigFloat|^bignum/u and ($val->accuracy || $val->precision || $val->div_scale) >= $digits

or 3 conditions

line l !l&&r !l&&!r condition
64 0 36 0 $val->accuracy || $val->precision || $val->div_scale
79 0 36 0 $val->accuracy || $val->precision || $val->div_scale
122 0 30 0 $val->accuracy || $val->precision || $val->div_scale
162 80 30 20 $val >= -$max and $val <= $max or is_NaNInf($val)
0 130 0 $val->accuracy || $val->precision || $val->div_scale
206 16 6 4 $val >= -$max and $val <= $max or is_NaNInf($val)
0 26 0 $val->accuracy || $val->precision || $val->div_scale