Condition Coverage

blib/lib/Net/APNs/Extended/Base.pm
Criterion Covered Total %
condition 11 25 44.0


and 3 conditions

line !l l&&!r l&&r condition
47 8 4 1 exists $args{'cert_file'} and exists $args{'cert'}
49 8 3 1 exists $args{'key_file'} and exists $args{'key'}
68 0 0 0 $sock and $ctx
0 0 0 $sock and $ctx and $ssl

or 2 conditions

line l !l condition
66 0 0 $self->{'_connection'} || []
138 0 11 $self->{'_connection'} || []

or 3 conditions

line l !l&&r !l&&!r condition
45 5 8 1 exists $args{'cert_file'} or exists $args{'cert'}
55 0 11 0 $args{'json'} ||= 'JSON::XS'->new->utf8
125 0 0 0 exists $self->{'key_file'} or exists $self->{'key'}