Condition Coverage

blib/lib/URI/WithBase.pm
Criterion Covered Total %
condition 15 19 78.9


and 3 conditions

line !l l&&!r l&&r condition
19 164 82 11 $base and &blessed($base)
246 2 9 $base and &blessed($base) and $base->isa("URI::WithBase")
43 4 0 6 &blessed($other) and $other->isa("URI::WithBase")
72 1 0 0 ref $new_base and $new_base->isa("URI::WithBase")
82 6 16 63 defined $base and not ref $base

or 2 conditions

line l !l condition
100 77 5 shift() || $self->base || (return $self->clone)
108 15 0 shift() || $self->base || (return $self->clone)