Condition Coverage

blib/lib/Ryu/Async.pm
Criterion Covered Total %
condition 25 59 42.3


and 3 conditions

line !l l&&!r l&&r condition
223 1 1 1 $eof and not $src->completed->is_ready

or 2 conditions

line l !l condition
205 0 1 $args{'label'} // 'IaStream'
246 0 0 $args{'label'} // 'IaStream'
419 1 0 $args{'host'} // '*'
447 1 0 $uri->host || '0.0.0.0'
449 1 0 $uri->port // 0
493 1 0 $args{'host'} //= '0.0.0.0'
526 0 1 $uri->port // 0
546 1 0 $args{'host'} //= '0.0.0.0'
576 0 1 $uri->port // 0
646 4 0 $label // 'unknown'

or 3 conditions

line l !l&&r !l&&!r condition
179 0 0 0 $item eq '.' or $item eq '..'
386 4 2 0 delete $args{'label'} // $self->label
419 1 0 0 $args{'port'} // ()
0 1 0 $uri //= 'udp://' . join(':', $args{'host'} // '*', $args{'port'} // ())
424 0 1 0 $args{'label'} // $uri->as_string
427 0 1 0 $args{'label'} // $uri->as_string
492 0 1 0 $uri //= do { $args{'host'} //= '0.0.0.0'; 'udp://' . join(':', $args{'host'}, $args{'port'} // ()) }
494 0 1 0 $args{'port'} // ()
545 0 1 0 $uri //= do { $args{'host'} //= '0.0.0.0'; 'tcp://' . join(':', $args{'host'}, $args{'port'} // ()) }
547 0 1 0 $args{'port'} // ()
627 2 2 0 delete $args{'label'} // $self->label
638 4 0 0 $label // ()