Branch Coverage

blib/lib/Number/Range/Regex/Util.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
40 485 83 ref $_[-1] eq 'HASH' ? :
53 2984 10093 unless @passed_opts
57 1 26052 unless ref $opts_ref eq 'HASH'
68 737 164 $$a{'min'} < $$b{'min'} ? :
79 67 250 if $ord + 1 == length $base_digits
86 77 240 if $ord == 0
93 0 6562 if $c eq -1
94 0 6562 if length $c > 1
96 0 6562 if $ord == -1
103 0 25197 unless length $chr
117 144 2964 unless defined $digit_min and defined $digit_max
120 118 2846 if $ord_min > $ord_max
121 104 2742 if $ord_min == $ord_max
130 21962 3 if (1 == ord($this) - ord($last)) { }
141 0 2745 if $len == 0
142 1 2744 if $len == 1
143 162 2582 if $len == 2
147 2229 353 $first eq '0' && $last eq '9' ? :
149 2739 3 if (1 == @range_chars)
152 2228 511 if $ret eq '\\d' or length $ret == 1