Condition Coverage

blib/lib/Net/APNs/HTTP2.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
168 0 0 0 $self->{'_client'} and not $self->{'_client'}->shutdown
171 0 0 0 $self->{'_handle'} and not $self->{'_handle'}->destroyed

or 2 conditions

line l !l condition
122 0 0 $extra_header->{'apns_expiration'} || 0
123 0 0 $extra_header->{'apns_priority'} || 10
127 0 0 $cb ||= sub { }

or 3 conditions

line l !l&&r !l&&!r condition
42 0 0 0 $self->{'_client'} ||= 'Protocol::HTTP2::Client'->new('keepalive', 1)
104 0 0 0 $self->{'_cache'} ||= 'Cache::Memory::Simple'->new
124 0 0 0 $extra_header->{'apns_topic'} || $self->bundle_id