Branch Coverage

blib/lib/Number/Phone/JP/AreaCode.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
42 1 3 if (exists $$pref_map{$town})
48 5 448 if ($town =~ /$key/ or $key =~ /$town/)
65 8 9 if (exists $$pref_map{$town})
72 1 8 if (not $town or length $town <= 1)
109 33 12 if $substituted eq $town
110 11 1 if (length $substituted > length $minimum_substituted)