Branch Coverage

blib/lib/IP/CountryFlag/Params.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
23 1 2 unless is_ipv4($_[0]) or is_ipv6($_[0])
24 1 0 unless -d "$_[0]"
34 0 4 unless defined $values
36 0 4 unless ref $values eq 'HASH'
40 0 6 unless exists $IP::CountryFlag::Params::FIELDS->{$field}
43 2 4 if $fields->{$field} and not exists $values->{$field}
46 0 4 if $fields->{$field} and not defined $values->{$field}
49 4 0 if defined $values->{$field}