Condition Coverage

blib/lib/Ryu/Async.pm
Criterion Covered Total %
condition 24 57 42.1


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 3 @pending and $src
186 1 1 1 $eof and not $src->completed->is_ready

or 2 conditions

line l !l condition
168 0 1 $args{'label'} // 'IaStream'
209 0 0 $args{'label'} // 'IaStream'
393 1 0 $args{'host'} // '*'
421 1 0 $uri->host || '0.0.0.0'
423 1 0 $uri->port // 0
467 1 0 $args{'host'} //= '0.0.0.0'
500 0 1 $uri->port // 0
520 1 0 $args{'host'} //= '0.0.0.0'
550 0 1 $uri->port // 0

or 3 conditions

line l !l&&r !l&&!r condition
142 0 0 0 $item eq '.' or $item eq '..'
349 4 2 0 delete $args{'label'} // do { my $label = (caller 1)[0]; foreach $_ ($label) { s/^Net::Async::/Na/g; s/^IO::Async::/Ia/g; s/^Web::Async::/Wa/g; s/^Tickit::Async::/Ta/g; s/^Tickit::Widget::/TW/g; s/::([^:]*)$/->$1/; } ; $label }
393 1 0 0 $args{'port'} // ()
0 1 0 $uri //= 'udp://' . join(':', $args{'host'} // '*', $args{'port'} // ())
398 0 1 0 $args{'label'} // $uri->as_string
401 0 1 0 $args{'label'} // $uri->as_string
466 0 1 0 $uri //= do { $args{'host'} //= '0.0.0.0'; 'udp://' . join(':', $args{'host'}, $args{'port'} // ()) }
468 0 1 0 $args{'port'} // ()
519 0 1 0 $uri //= do { $args{'host'} //= '0.0.0.0'; 'tcp://' . join(':', $args{'host'}, $args{'port'} // ()) }
521 0 1 0 $args{'port'} // ()
601 1 2 0 delete $args{'label'} // do { my $label = (caller 1)[3]; foreach $_ ($label) { s/^Database::Async::/Da/g; s/^Net::Async::/Na/g; s/^IO::Async::/Ia/g; s/^Web::Async::/Wa/g; s/^Job::Async::/Ja/g; s/^Tickit::Async::/Ta/g; s/^Tickit::Widget::/TW/g; s/::([^:]*)$/->$1/; } ; $label }