Condition Coverage

blib/lib/Rose/URI.pm
Criterion Covered Total %
condition 18 45 40.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 27 defined $query and $query =~ /\S/
256 1 1 1 defined $$self{'query_string'} and $param eq $$self{'query_string'}
369 1 0 4 $base and not length $self->scheme
405 0 0 0 length $user and length $pass
421 11 0 20 length $user and length $pass

or 2 conditions

line l !l condition
436 0 0 $uri->user || ''
437 0 0 $uri->password || ''
438 0 0 $uri->scheme || ''
439 0 0 $uri->hostname || ''
440 0 0 $uri->port || ''
441 0 0 $uri->path || ''
442 0 0 $uri->fragment || ''
471 14 9 $uri->scheme || ''
472 14 0 $uri->host || ''
473 14 0 $uri->_port || ''
474 23 0 $uri->path || ''
475 20 3 $uri->fragment || ''

or 3 conditions

line l !l&&r !l&&!r condition
321 95 0 8 @values or defined $omit_empty ? $omit_empty : ($omit_empty = $self->omit_empty_query_params)
524 0 0 1 $ref_type eq 'REF' or $ref_type eq 'SCALAR'