Condition Coverage

blib/lib/Net/APNS/Simple.pm
Criterion Covered Total %
condition 3 20 15.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 0 $self->{'_socket'} and $self->{'_socket'}->opened
114 0 0 1 $self->team_id and $self->auth_key
0 0 1 $self->team_id and $self->auth_key and $self->key_id

or 2 conditions

line l !l condition
61 0 0 'Net::HTTP'->new('PeerAddr', $proxy) || die($@)

or 3 conditions

line l !l&&r !l&&!r condition
71 0 0 0 $! || $IO::Socket::SSL::SSL_ERROR
80 0 0 0 $! || $IO::Socket::SSL::SSL_ERROR
96 0 1 0 $self->{'_client'} ||= 'Protocol::HTTP2::Client'->new('keepalive', 1)