Condition Coverage

blib/lib/WWW/FCM/HTTP/V1.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
21 1 5 1 $_[0] && ref $_[0] eq 'HASH'
23 1 1 5 exists $args{'api_url'} and defined $args{'api_url'}
2 0 5 exists $args{'api_url'} and defined $args{'api_url'} and exists $args{'api_key_json'}
0 1 4 exists $args{'api_url'} and defined $args{'api_url'} and exists $args{'api_key_json'} and defined $args{'api_key_json'}

or 3 conditions

line l !l&&r !l&&!r condition
27 1 3 0 $args{'sender'} ||= 'WWW::FCM::HTTP::V1::OAuth'->new('api_key_json', $args{'api_key_json'}, 'scopes', [$SCOPE_FIREBASE_MESSAGING])