blib/lib/IRI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 40 | 62 | 64.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
270 | 0 | 21 | 0 | $base_has_authority and not $bc->{'path'} |
329 | 108 | 1 | 30 | $self->has_base and not $self->components->{'scheme'} |
441 | 0 | 6 | 34 | $scheme eq $bscheme and $auth eq $bauth |
463 | 3 | 22 | 2 | scalar @bparts and $rparts[0] ne $bparts[0] |
7 | 25 | 2 | scalar @rparts and (scalar @bparts and $rparts[0] ne $bparts[0]) | |
484 | 4 | 1 | 3 | defined $rel->query and defined $base->query |
line | l | !l | condition |
---|---|---|---|
258 | 172 | 16 | $c->{'path'} //= '' |
311 | 56 | 9 | $part //= '' |
417 | 44 | 0 | $base->scheme // '' |
44 | 0 | $rel->scheme // '' | |
531 | 90 | 0 | $h // '' |
577 | 0 | 0 | $self->query // (return) |
590 | 0 | 0 | $self->query // (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
269 | 0 | 21 | 0 | $bc->{'user'} || $bc->{'port'} || defined $bc->{'host'} |
346 | 0 | 0 | 30 | $components{'user'} or $components{'port'} |
0 | 1 | 29 | $components{'user'} or $components{'port'} or defined $components{'host'} | |
376 | 0 | 0 | 29 | $base{'user'} or $base{'port'} |
0 | 29 | 0 | $base{'user'} or $base{'port'} or defined $base{'host'} | |
425 | 40 | 0 | 0 | defined $scheme or defined $auth |
471 | 27 | 5 | 33 | $i < 0 or $i != index($bpath, '/', $li) |
32 | 0 | 33 | $i < 0 or $i != index($bpath, '/', $li) or substr($path, $li, $i - $li) ne substr($bpath, $li, $i - $li) | |
524 | 1 | 9 | 122 | $components->{'user'} or $components->{'port'} |
9 | 80 | 42 | $components->{'user'} or $components->{'port'} or defined $components->{'host'} |