Condition Coverage

blib/lib/IRI.pm
Criterion Covered Total %
condition 15 37 40.5


and 3 conditions

line !l l&&!r l&&r condition
263 0 4 0 $base_has_authority and not $bc->{'path'}
322 5 0 8 $self->has_base and not $self->components->{'scheme'}

or 2 conditions

line l !l condition
251 20 4 $c->{'path'} //= ''
304 10 2 $part //= ''
421 10 0 $h // ''
467 0 0 $self->query // (return)
480 0 0 $self->query // (return)

or 3 conditions

line l !l&&r !l&&!r condition
262 0 4 0 $bc->{'user'} || $bc->{'port'} || defined $bc->{'host'}
339 0 0 8 $components{'user'} or $components{'port'}
0 0 8 $components{'user'} or $components{'port'} or defined $components{'host'}
369 0 0 8 $base{'user'} or $base{'port'}
0 8 0 $base{'user'} or $base{'port'} or defined $base{'host'}
414 0 0 10 $components->{'user'} or $components->{'port'}
0 10 0 $components->{'user'} or $components->{'port'} or defined $components->{'host'}