Condition Coverage

blib/lib/Geo/GeoNames.pm
Criterion Covered Total %
condition 22 32 68.7


and 3 conditions

line !l l&&!r l&&r condition
234 2 1 1 ref $hash{'ua'} && &blessed($hash{'ua'}) && ($hash{'ua'}->isa('Mojo::UserAgent') || $hash{'ua'}->isa('LWP::UserAgent'))
3 1 3 exists $hash{'ua'} and not ref $hash{'ua'} && &blessed($hash{'ua'}) && ($hash{'ua'}->isa('Mojo::UserAgent') || $hash{'ua'}->isa('LWP::UserAgent'))
300 30 1 0 $flags =~ /d/ and exists $hash->{$arg}
304 30 1 0 $flags eq "r" and not exists $hash->{$arg}
307 5 24 2 not $flags =~ /m/ and exists $hash->{$arg}
24 2 0 not $flags =~ /m/ and exists $hash->{$arg} and ref $hash->{$arg}
318 0 1 0 $conditional_mandatory_required == 1 and $conditional_mandatory_flag != 1

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
231 1 6 0 $hash{'url'} // $self->default_url
235 1 3 0 $hash{'ua'} || $self->default_ua
435 1 0 0 ref $self || croak("$self is not an object")