Branch Coverage

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


line true false branch
29 1 3 unless defined $Feed::Find::ua
40 0 7 if ($IsFeed{$res->content_type})
44 4 3 unless $p->parse($chunk)
46 0 4 unless $res->is_success
64 114 180 if ($tag eq 'link') { }
0 180 elsif ($tag eq 'base') { }
123 57 elsif ($tag =~ /^(?:meta|isindex|title|script|style|head|html)$/) { }
12 45 elsif ($tag eq 'a') { }
65 0 114 unless $attr->{'rel'}
68 51 63 if ($attr->{'type'})
74 3 0 if $IsFeed{$type} and $rel{'alternate'} || $rel{'service.feed'}
76 0 0 if $attr->{'href'}
80 0 12 unless my $href = $attr->{'href'}
82 3 9 if $uri->path =~ /$FEED_EXT/io
87 6 39 if @{$p->{'feeds'};}