blib/lib/Net/APNs/Extended/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 25 | 44.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 8 | 4 | 1 | exists $args{'cert_file'} and exists $args{'cert'} |
47 | 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 |
line | l | !l | condition |
---|---|---|---|
65 | 0 | 0 | $$self{'_connection'} || [] |
137 | 0 | 11 | $$self{'_connection'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 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'} |