Condition Coverage

blib/lib/Pcore/Util/URI.pm
Criterion Covered Total %
condition 19 27 70.3


and 3 conditions

line !l l&&!r l&&r condition
106 88 0 18 $with_authority and index($uri, '//') == -1
144 15 30 61 $args{'_has_authority'} and $args{'path'} eq ''
159 71 2 33 $$uri_args{'scheme'} eq '' and $$args{'base'}
221 4 0 1 $$self{'scheme'} eq '' and $$self{'path'}->to_uri =~ m[\A[^/]*:]msu

or 2 conditions

line l !l condition
121 3 88 $2 // ''
131 6 85 $5 // 0
142 106 0 $5 // ''
147 13 93 $7 // ''
150 13 93 $9 // ''
323 0 0 $self->host || '*'

or 3 conditions

line l !l&&r !l&&!r condition
291 0 0 0 $self->port || $self->default_port