Branch Coverage

blib/lib/Feed/Find.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
30 1 3 unless defined $Feed::Find::ua
41 0 7 if ($IsFeed{$res->content_type})
45 4 3 unless $p->parse($chunk)
47 0 4 unless $res->is_success
69 114 180 if ($tag eq 'link') { }
0 180 elsif ($tag eq 'base') { }
123 57 elsif ($head_tag{$tag}) { }
12 45 elsif ($tag eq 'a') { }
70 0 114 unless $attr->{'rel'}
73 51 63 if ($attr->{'type'})
79 3 0 if $IsFeed{$type} and $rel{'alternate'} || $rel{'service.feed'}
81 0 0 if $attr->{'href'}
85 0 12 unless my $href = $attr->{'href'}
87 3 9 if $uri->path =~ /$FEED_EXT/io
92 6 39 if @{$p->{'feeds'};}