Condition Coverage

lib/PEF/Front/WebSocket/QueueServer.pm
Criterion Covered Total %
condition 14 31 45.1


and 3 conditions

line !l l&&!r l&&r condition
24 11 0 1 defined $last_id and $last_id != 0
96 0 0 0 $self and not %{$self->{'clients'};}
169 0 0 2 $client and $qo

or 2 conditions

line l !l condition
263 0 1 delete $args{'address'} || '127.0.0.1'
264 0 1 delete $args{'port'} || 54321
265 0 1 delete $args{'no_client_expiration'} || 900
266 0 1 delete $args{'message_expiration'} || 3600
267 0 1 delete $args{'reload_message'} || {'result', 'RELOAD'}

or 3 conditions

line l !l&&r !l&&!r condition
60 3 1 0 not @{$self->{'queue'};} or $self->{'queue'}[$last_index][0] < $id_message
157 0 12 0 $self->{'groups'}{$group}{'clients'}{$cid} ||= 'PEF::Front::WebSocket::QueueServer::Client'->new($group, $cid)
158 9 3 0 $self->{'queues'}{$queue} || $self->register_queue($queue)
177 4 0 0 $self->{'queues'}{$queue} || $self->register_queue($queue)