line |
true |
false |
branch |
14
|
2 |
2 |
unless ($self->backend) |
22
|
1 |
0 |
if $_[0]->on('error', $_[1]) |
27
|
18 |
12 |
if (my $s = $self->backend->events_get($name)) { } |
33
|
8 |
15 |
$onces[$i] == 1 ? : |
42
|
2 |
10 |
if $name eq 'error' |
51
|
4 |
1 |
if (my $s = $self->backend->events_get($name)) { } |
58
|
3 |
6 |
unless eval {
do {
$onces[$i] == 1 ? splice(@onces, $i, 1) && $self->_unsubscribe_index($name, $i) : ++$i;
$self->$cb(@_);
1
}
} |
59
|
2 |
7 |
$onces[$i] == 1 ? : |
70
|
1 |
0 |
if $name eq 'error' |
92
|
6 |
12 |
unless (shift())->backend->events_get(shift(), 0) |
99
|
5 |
1 |
if ($cb) { } |
104
|
4 |
1 |
if (defined $index) |
108
|
1 |
3 |
unless @events |
139
|
13 |
4 |
unless @events |