Branch Coverage

blib/lib/Text/IdMor.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
124 1 3 if isInteger($text)
125 1 2 if isSpanishRealNumber $text
126 0 2 if $text =~ /^-?(\d+\,)+\d+\.\d+$/
127 1 1 if $text =~ /^-?\d+\.\d+$/
133 2 4 if $text =~ /^-?(\d+\.)+\d+,\d+$/
134 1 3 if $text =~ /^-?\d+,\d+$/
144 3 7 if $text =~ /^-?\d+$/
145 1 6 if $text =~ /^\d{1,3}\.(\d{3}.)*\d{3}$/
155 2 0 if ($text =~ /[\302\252\302\272]$/)
158 0 2 if $c =~ /[0-9]/
159 1 1 if isInteger($text) and $text > 0