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
46 8 4 1 exists $args{'cert_file'} and exists $args{'cert'}
48 8 3 1 exists $args{'key_file'} and exists $args{'key'}
67 0 0 0 $sock and $ctx
0 0 0 $sock and $ctx and $ssl

or 2 conditions

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

or 3 conditions

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