Branch Coverage

blib/lib/Parse/JapanesePostalCode.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
21 4 0 if (not $self->{'fh'} and $self->{'file'} and -f $self->{'file'})
32 1 75 unless $row
51 2 86 unless $line
69 2 76 unless $row
70 7 69 if ($row->[8] =~ /\x{ff08}.+[^\x{ff09}]$/)
74 0 10 unless $tmp
75 8 2 unless $past_town_kana eq $tmp->[5]
77 7 3 if $row->[8] =~ /\\x{ff09}$/
84 1 75 if ($town =~ /^(.+)\x{ff08}\x{6b21}\x{306e}\x{30d3}\x{30eb}\x{3092}\x{9664}\x{304f}\x{ff09}$/) { }
1 74 elsif ($row->[2] eq '4530002' and $town =~ /^\x{540d}\x{99c5}\\x{ff08}/) { }
92 66 8 unless ($town =~ /^$current_build_town.+\x{ff08}.+\x{968e}.*\x{ff09}$/)