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
222 2 1 2 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'))
273 30 1 0 $flags =~ /d/ and exists $hash->{$arg}
277 30 1 0 $flags eq 'r' and not exists $hash->{$arg}
280 5 24 2 not $flags =~ /m/ and exists $hash->{$arg}
24 2 0 not $flags =~ /m/ and exists $hash->{$arg} and ref $hash->{$arg}
291 0 1 0 $conditional_mandatory_required == 1 and $conditional_mandatory_flag != 1

or 2 conditions

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

or 3 conditions

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