line |
true |
false |
branch |
10
|
0 |
3 |
$ENV{'MOJO_APNS_DEBUG'} ? : |
29
|
1 |
4 |
if ($event eq 'feedback' and not $self->{'feedback_id'}) |
37
|
1 |
2 |
ref $_[-1] eq 'CODE' ? : |
50
|
1 |
2 |
if (defined(my $sound = delete $args{'sound'})) |
51
|
1 |
0 |
if length $sound |
54
|
1 |
2 |
if (defined(my $content_available = delete $args{'content_available'})) |
55
|
1 |
0 |
if length $content_available |
58
|
1 |
2 |
if %args |
61
|
1 |
2 |
if (length $message > 256) |
78
|
1 |
1 |
$type eq 'gateway' ? : |
97
|
0 |
2 |
if $err |
104
|
2 |
0 |
$self->insecure ? : |
120
|
0 |
0 |
unless $self |
138
|
0 |
2 |
if $_[1] |
146
|
1 |
3 |
unless ($id) |
151
|
0 |
1 |
unless delete $self->{'messages'} |
156
|
1 |
2 |
unless ($stream = $self->ioloop->stream($id)) |
167
|
0 |
2 |
unless my $ioloop = $self->ioloop |
170
|
0 |
2 |
if $id = $self->{'gateway_id'} |
171
|
0 |
2 |
if $id = $self->{'feedback_id'} |