Condition Coverage

blib/lib/Geo/GeoNames.pm
Criterion Covered Total %
condition 20 32 62.5


and 3 conditions

line !l l&&!r l&&r condition
216 2 3 0 ref $hash{'ua'} && &blessed($hash{'ua'}) && ($hash{'ua'}->isa('Mojo::UserAgent') || $hash{'ua'}->isa('LWP::UserAgent'))
3 2 3 exists $hash{'ua'} and not ref $hash{'ua'} && &blessed($hash{'ua'}) && ($hash{'ua'}->isa('Mojo::UserAgent') || $hash{'ua'}->isa('LWP::UserAgent'))
267 30 1 0 $flags =~ /d/ and exists $hash->{$arg}
271 30 1 0 $flags eq 'r' and not exists $hash->{$arg}
274 5 26 0 not $flags =~ /m/ and exists $hash->{$arg}
24 2 0 not $flags =~ /m/ and exists $hash->{$arg} and ref $hash->{$arg}
285 0 1 0 $conditional_mandatory_required == 1 and $conditional_mandatory_flag != 1

or 2 conditions

line l !l condition
357 1 0 $response->headers->content_type || ''

or 3 conditions

line l !l&&r !l&&!r condition
213 1 7 0 $hash{'url'} // $self->default_url
217 2 3 0 $hash{'ua'} || $self->default_ua
398 1 0 0 ref $self || croak("$self is not an object")