blib/lib/User/Identity/Location.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 15 | 46.6 |
line | l | !l | condition |
---|---|---|---|
33 | 20 | 24 | exists $args->{$_} and $$self{"UIL_" . $_} = delete $args->{$_} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 0 | 0 | 2 | defined $city and defined $address |
123 | 0 | 0 | 2 | defined $pc and $pc =~ /(\d{4})\s*([a-zA-Z]{2})/ |
line | l | !l | condition |
---|---|---|---|
105 | 2 | 0 | $self->countryCode || 'en' |
127 | 0 | 0 | $state ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
28 | 2 | 0 | 2 | $args->{'postal_code'} ||= delete $args->{'pc'} |