Condition Coverage

blib/lib/POEx/URI.pm
Criterion Covered Total %
condition 28 48 58.3


and 3 conditions

line !l l&&!r l&&r condition
103 3 20 25 defined $seg[0] and $seg[0] eq ''
139 2 1 0 $self->kernel and defined $new
221 0 16 0 $kernel =~ /^[-\w.]+$/ and $kernel =~ /[.]/
236 26 3 0 defined $port and $port eq '' || $port == $self->default_port
267 7 0 0 $POE::Kernel::poe_kernel and $POE::Kernel::poe_kernel->can('ID')
271 5 2 0 $kernel and !$kid || $kernel ne $kid
337 6 3 9 defined $f and length $f
373 0 1 2 $scheme eq $bscheme and $auth eq $bauth

or 2 conditions

line l !l condition
133 4 4 $new || ''
136 0 0 $new || ''
142 2 1 $new || ''

or 3 conditions

line l !l&&r !l&&!r condition
47 0 14 2 $ui or length $new
236 0 2 1 $port eq '' || $port == $self->default_port
271 2 0 0 !$kid || $kernel ne $kid
328 6 0 0 shift() || croak('Missing base argument')
349 3 0 0 shift() || croak('Missing base argument')
359 3 0 0 defined $scheme or defined $auth