| line |
true |
false |
branch |
|
44
|
1 |
0 |
unless $channels{$channel} |
|
58
|
0 |
0 |
if ($@) |
|
65
|
0 |
0 |
if ($channels{$channel}{'history_size'}) |
|
68
|
0 |
0 |
if (@{$channels{$channel}{'history'};} > $max) |
|
79
|
0 |
1 |
if ($channel) |
|
80
|
0 |
0 |
unless $channels{$channel} |
|
107
|
0 |
1 |
if $scope->{'type'} ne "http" |
|
139
|
0 |
1 |
if (defined $retry) |
|
149
|
0 |
1 |
if ($history_size and defined $last_event_id) |
|
152
|
0 |
0 |
if ($found) { } |
|
|
0 |
0 |
elsif ($event->{'id'} and $event->{'id'} eq $last_event_id) { } |
|
164
|
0 |
1 |
if $on_connect |
|
169
|
1 |
0 |
if ($event->{'type'} eq "http.disconnect") |
|
176
|
1 |
0 |
unless keys %{$channels{$channel}{"clients"};} |
|
178
|
0 |
1 |
if $on_close |
|
181
|
1 |
0 |
unless ($client_data->{'closed'}) |
|
196
|
0 |
0 |
if ($event->{'event'}) |
|
199
|
0 |
0 |
if ($event->{'id'}) |
|
215
|
0 |
0 |
if (lc $h->[0] eq "last-event-id") |