Condition Coverage

blib/lib/Flickr/Upload.pm
Criterion Covered Total %
condition 4 41 9.7


and 3 conditions

line !l l&&!r l&&r condition
20 2 0 0 defined $t and exists $$t{'children'}
23 0 0 0 defined $n and exists $$n{'name'}
0 0 0 defined $n and exists $$n{'name'} and exists $$n{'children'}
27 0 0 0 exists $$m{'name'} and $$m{'name'} eq $tag
0 0 0 exists $$m{'name'} and $$m{'name'} eq $tag and exists $$m{'children'}
118 0 0 1 $args{'photo'} and -f $args{'photo'}
162 0 0 0 defined $res and $$res{'success'}
167 0 0 0 defined $$res{'tree'} and exists $$res{'tree'}{'children'}
169 0 0 0 defined $n and exists $$n{'name'}
0 0 0 defined $n and exists $$n{'name'} and $$n{'children'}
173 0 0 0 exists $$m{'name'} and $$m{'name'} eq 'ticket'
0 0 0 exists $$m{'name'} and $$m{'name'} eq 'ticket' and exists $$m{'attributes'}

or 2 conditions

line l !l condition
220 0 1 $args{'uri'} || 'https://api.flickr.com/services/upload/'

or 3 conditions

line l !l&&r !l&&!r condition
296 0 0 1 defined $photoid or defined $ticketid