Branch Coverage

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


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