Condition Coverage

lib/PAGI/App/WebSocket/Broadcast.pm
Criterion Covered Total %
condition 3 14 21.4


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 $id eq $client_id and not $echo_self

or 2 conditions

line l !l condition
28 0 1 $args{'channel'} // "default"
0 1 $args{'echo_self'} // 0
49 0 0 $channels{$channel} //= {"clients", {}}
120 0 1 $channel //= undef

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 0 $event->{'text'} // $event->{'bytes'}