Condition Coverage

blib/lib/Geo/GeoNames.pm
Criterion Covered Total %
condition 23 43 53.4


and 3 conditions

line !l l&&!r l&&r condition
293 2 1 2 ref $args{'ua'} && builtin::blessed($args{'ua'}) && ($args{'ua'}->isa('Mojo::UserAgent') || $args{'ua'}->isa('LWP::UserAgent'))
3 2 3 exists $args{'ua'} and not ref $args{'ua'} && builtin::blessed($args{'ua'}) && ($args{'ua'}->isa('Mojo::UserAgent') || $args{'ua'}->isa('LWP::UserAgent'))
361 30 1 0 $flags =~ /d/ and exists $hash->{$arg}
365 30 1 0 $flags eq "r" and not exists $hash->{$arg}
368 5 24 2 not $flags =~ /m/ and exists $hash->{$arg}
24 2 0 not $flags =~ /m/ and exists $hash->{$arg} and ref $hash->{$arg}
379 0 1 0 $conditional_mandatory_required == 1 and $conditional_mandatory_flag != 1
478 0 0 1 $status_code >= 200 and $status_code < 300

or 2 conditions

line l !l condition
448 0 0 $response->code || 'unknown'
449 0 0 $response->message || 'HTTP request failed'
458 0 0 $res->code || 'unknown'
459 0 0 $res->message || 'HTTP request failed'
485 1 0 $response->headers->content_type || ''

or 3 conditions

line l !l&&r !l&&!r condition
290 1 7 0 $args{'url'} // $self->default_url
294 2 3 0 $args{'ua'} || $self->default_ua
495 1 0 0 $base_mime_type eq "text/xml" or $base_mime_type eq "application/xml"