Branch Coverage

blib/lib/Convert/Number/Digits.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
54 0 280 if ($#_ > 1)
58 0 18 unless ($number =~ /^\d+$/ or $number =~ /[$Digits{'toRomanUpper'}]/ or $number =~ /[$Digits{'toRomanLower'}]/ or $number =~ /[$Digits{'toEthiopic'}]/)
78 0 1 if @_
88 280 280 if @_
102 280 0 if @_
105 4 276 if $number =~ /^[0-9]+$/
109 276 7728 if $script eq $method
129 1 280 unless $method and $method ne "DESTROY"
131 0 280 unless $Digits{$method}
133 0 280 unless defined $number
136 280 7840 if $script eq $method