Branch Coverage

blib/lib/Net/APNS/Persistent.pm
Criterion Covered Total %
branch 0 12 0.0


line true false branch
163 0 0 unless exists $$payload{'aps'}{'alert'}
166 0 0 if (ref $$payload{'aps'}{'alert'} eq 'HASH') { }
176 0 0 if (ref $payload ne 'HASH' or ref $$payload{'aps'} ne 'HASH')
181 0 0 if exists $$payload{'aps'}{'badge'}
194 0 0 if (&bytes::length($json) > $max_payload_size)
283 0 0 if $data