Branch Coverage

blib/lib/Parse/JapanesePostalCode.pm
Criterion Covered Total %
branch 18 20 90.0


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