Condition Coverage

lib/Badger/URL.pm
Criterion Covered Total %
condition 23 49 46.9


and 3 conditions

line !l l&&!r l&&r condition
90 0 1 0 @_ == 1 && &is_object(scalar CLASS(), $_[0])
130 0 4 1 @_ && ref $_[0] eq 'HASH'
182 1 0 4 defined $user && length $user
183 0 0 5 defined $port && length $port
224 0 0 17 defined $scheme && length $scheme
225 0 0 17 defined $auth && length $auth
226 2 0 15 defined $query && length $query
227 4 0 13 defined $frag && length $frag
294 0 0 8 defined $scheme && length $scheme
295 0 0 8 defined $auth && length $auth
313 0 0 2 defined $query && length $query

or 2 conditions

line l !l condition
134 11 0 $Badger::URL::ELEMENT->{$k} || (next)
207 2 0 $self->[9] || {}

or 3 conditions

line l !l&&r !l&&!r condition
101 0 4 0 ref $class || $class
147 1 0 4 exists $args->{'user'} or exists $args->{'host'}
0 0 4 exists $args->{'user'} or exists $args->{'host'} or exists $args->{'port'}
277 2 1 0 $self->[9] || $self->split_query