Branch Coverage

blib/lib/CGI/Untaint/CountyStateProvince/US.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
56 5 1 if ($value =~ /([A-Z][A-Z\s]+)/) { }
62 1 4 unless ($self->{'_validator'})
64 0 1 unless ($self->{'_validator'})
70 1 4 if ($state and $state ne 'unknown')
73 1 0 if ($state =~ /(^[A-Z]{2}$)/)
79 2 2 if ($state and $state ne 'unknown')
97 6 6 if (defined $value)