Branch Coverage

blib/lib/Class/Business/GL/Postalcode.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
38 20007 990132 if ($number) { }
50 20007 30012 if ($postal_data) { }
91 990066 0 if ($entries[0] =~ / ^ #beginning of string \d{$num_of_digits_in_postalcode} #digits in postalcode $ #end of string /msx)
112 66 0 if ($entries[0] =~ / ^ #beginning of string \d{$num_of_digits_in_postalcode} #digits in postalcode $ #end of string /msx)
130 99 29901 if (&first(sub { $number == $_; } , @{$postalcodes;})) { }
149 2 2 if ($entries[0] eq $postalcode)
170 2 64 if ($entries[1] =~ /$city$/i)