Branch Coverage

blib/lib/Parse/Number/ID.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
34 7 18 if ($n =~ /^([+-]?)([\d,.]*)\.(\d{0,2})$/) { }
35 1 6 $1 eq '-' ? :
63 1 29 unless length $text
65 4 25 unless $text =~ s/^([+-]?[0-9,.]+)//
67 0 25 unless defined $n
68 7 18 if ($text =~ /[Ee]([+-]?\d+)/)