Condition Coverage

blib/lib/IRI.pm
Criterion Covered Total %
condition 17 62 27.4


and 3 conditions

line !l l&&!r l&&r condition
270 0 4 0 $base_has_authority and not $bc->{'path'}
329 5 0 8 $self->has_base and not $self->components->{'scheme'}
441 0 0 0 $scheme eq $bscheme and $auth eq $bauth
463 0 0 0 scalar @bparts and $rparts[0] ne $bparts[0]
0 0 0 scalar @rparts and (scalar @bparts and $rparts[0] ne $bparts[0])
484 0 0 0 defined $rel->query and defined $base->query

or 2 conditions

line l !l condition
258 20 6 $c->{'path'} //= ''
311 10 2 $part //= ''
417 0 0 $base->scheme // ''
0 0 $rel->scheme // ''
531 13 0 $h // ''
577 0 0 $self->query // (return)
590 0 0 $self->query // (return)

or 3 conditions

line l !l&&r !l&&!r condition
269 0 4 0 $bc->{'user'} || $bc->{'port'} || defined $bc->{'host'}
346 0 0 8 $components{'user'} or $components{'port'}
0 0 8 $components{'user'} or $components{'port'} or defined $components{'host'}
376 0 0 8 $base{'user'} or $base{'port'}
0 8 0 $base{'user'} or $base{'port'} or defined $base{'host'}
425 0 0 0 defined $scheme or defined $auth
471 0 0 0 $i < 0 or $i != index($bpath, '/', $li)
0 0 0 $i < 0 or $i != index($bpath, '/', $li) or substr($path, $li, $i - $li) ne substr($bpath, $li, $i - $li)
524 1 0 13 $components->{'user'} or $components->{'port'}
0 12 1 $components->{'user'} or $components->{'port'} or defined $components->{'host'}