Branch Coverage

blib/lib/Number/Range/Regex/TrivialRange.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
47 303 5180 $$opts{'no_leading_zeroes'} ? :
49 134 5349 if (_is_negative($$self{'min'})) { }
53 38 96 $$self{'min'} == neg_inf() ? :
58 134 5215 $$opts{'no_sign'} ? :
59 512 4837 if ($$self{'min'} eq $$self{'max'}) { }
64 77 4760 if ($$self{'max'} == pos_inf()) { }
67 55 22 if ($$opts{'no_leading_zeroes'}) { }
68 0 55 if $ndigits <= 1
75 55 22 $ndigits == 1 ? :
0 77 $ndigits == 0 ? :
80 0 4760 if $ndigits != length $$self{'max'}
83 4760 5940 if substr($$self{'min'}, $nsame, 1) ne substr($$self{'max'}, $nsame, 1)
90 1470 663 $extra_digits == 1 ? :
2627 2133 $extra_digits == 0 ? :