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
118 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
65 0 0 'Net::HTTP'->new('PeerAddr', $proxy) || die($@)

or 3 conditions

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