Branch Coverage

blib/lib/Math/Roman.pm
Criterion Covered Total %
branch 35 48 72.9


line true false branch
53 0 2 unless defined $value
57 1 1 if $self->{'sign'} eq 'NaN'
72 0 2098 unless defined $value
76 1066 1032 if $self->{'sign'} eq 'NaN'
91 0 2 if @_ == 0
102 26 10 if (int $sym[$i + 1] != -1)
106 13 13 if int $sym[$i + 1] > $bv
110 0 52 unless length $b <=> length $a
117 0 2 if @_ == 0
203 3714 2 if (defined $1) { }
213 31 1036 if $e != 0
224 5 3709 if (not defined $k) { }
231 7 3702 if ($k == -1)
236 1059 2650 if $$last == -1
238 17 3692 if ($k > $$last)
244 29 3685 if $$error != 0
252 0 1035 unless ref $x
253 1 1034 if $x->is_zero
254 0 1034 if $x->is_nan
267 13047 3654 if $ss->[$level] > $rem
270 0 3654 if ($rem->sign eq 'NaN')
277 3654 0 if $cnt != 0
319 0 0 if $$value >= $rem
330 0 0 if $$value == $rem