Branch Coverage

blib/lib/XML/FeedPP/MediaRSS.pm
Criterion Covered Total %
branch 40 56 71.4


line true false branch
23 0 0 if $val
31 17 42 ref $raw eq 'ARRAY' ? :
36 31 18 if ref $value eq 'HASH'
51 43 1013 if (exists $$place{$key})
59 143 121 wantarray ? :
66 1 10 if ($hash{'isDefault'})
71 0 11 if (my $adult = &$find('adult'))
81 14 5 if $v
104 0 11 if @keywords
118 1 10 if (my $checksum = &$find('hash'))
125 1 10 if (my $player = &$find('player'))
137 0 5 if $entity eq $e
142 0 11 if (my $copyright = &$find('copyright'))
145 0 0 if $url
157 1 10 if (my $restriction = &$find('restriction'))
160 0 1 if (my $unparsed = $$restriction{'#text'})
164 0 1 if (grep {$_ eq 'all';} @list) { }
1 0 elsif (@list < 1 or grep {$_ eq 'none';} @list) { }
178 1 10 if (my $community = &$find('community'))
180 1 0 if (my $starRating = $$community{'media:starRating'})
185 1 0 if (my $stats = $$community{'media:statistics'})
190 1 0 if (my $tags = $$community{'media:tags'})
224 1 10 if (my $status = &$find('status'))
231 1 0 if keys %$p
234 1 10 if (my $license = &$find('license'))
248 1 10 if (my $peerLink = &$find('peerLink'))
252 0 11 if (my $r = &$find('rights'))
256 1 10 if (my $sl = &$find('scenes'))