Condition Coverage

blib/lib/User/Identity/Location.pm
Criterion Covered Total %
condition 9 18 50.0


and 2 conditions

line l !l condition
39 20 24 exists $args->{$_} and $$self{'UIL_' . $_} = delete $args->{$_}

and 3 conditions

line !l l&&!r l&&r condition
110 0 0 2 defined $city and defined $address
115 1 0 1 defined $org && length $org
118 0 0 2 defined $pc and $pc =~ /(\d{4})\s*([a-zA-Z]{2})/

or 2 conditions

line l !l condition
103 2 0 $self->countryCode || 'en'
122 0 0 $state ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
34 2 0 2 $args->{'postal_code'} ||= delete $args->{'pc'}