Condition Coverage

blib/lib/WWW/FCM/HTTP.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
24 1 13 1 $_[0] && ref $_[0] eq 'HASH'
26 1 1 13 exists $args{'api_key'} and defined $args{'api_key'}

or 3 conditions

line l !l&&r !l&&!r condition
28 1 12 0 $args{'api_url'} ||= $API_URL
29 1 12 0 $args{'ua'} ||= 'LWP::UserAgent'->new('agent', 'WWW::FCM::HTTP/' . $VERSION, 'conn_cache', 'LWP::ConnCache'->new)