Branch Coverage

blib/lib/WWW/Picnic/Result/Search.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
19 13 17 unless ref $data
21 12 5 if (ref $data eq 'HASH') { }
5 0 elsif (ref $data eq 'ARRAY') { }
23 2 10 if (exists $data->{'sellingUnit'} and ref $data->{'sellingUnit'} eq "HASH")
27 2 0 unless ($seen->{$id}++)
73 1 0 if (ref $raw eq "HASH" and $raw->{'body'} and $raw->{'body'}{'child'})
75 1 0 if ($analytics and $analytics->{'contexts'})
77 1 0 if $ctx->{'data'} and $ctx->{'data'}{'main_entity'}