Branch Coverage

blib/lib/Flickr/Embed.pm
Criterion Covered Total %
branch 2 32 6.2


line true false branch
17 0 0 if ($$e{'name'} and $$e{'name'} eq 'licenses')
19 0 0 unless $$c{'name'} and $$c{'name'} eq 'license'
20 0 0 if (index($$c{'attributes'}{'url'}, 'creativecommons') != -1)
36 0 0 unless $$response{'success'}
46 0 0 if (ref $tree eq 'HASH') { }
0 0 elsif (ref $tree eq 'ARRAY') { }
48 0 0 if $$tree{'attributes'}
50 0 0 if $$tree{'children'}
72 0 0 if $$_{'candownload'} or $$_{'label'} and $$_{'label'} eq 'Medium'
84 1 1 unless $opts{$_}
90 0 0 if $opts{'exclude'}
113 0 0 if $$_{'name'}
116 0 0 if $$_{'name'} and $$_{'name'} eq 'photos'
122 0 0 if $exclusions{$$_{'id'}}
148 0 0 unless wantarray
153 0 0 unless wantarray