Branch Coverage

blib/lib/Data/Microformat/hFeed.pm
Criterion Covered Total %
branch 33 68 48.5


line true false branch
23 1 2 unless @feeds
25 1 2 wantarray ? :
28 0 0 unless (shift())->SUPER::generator(@_)
36 0 4 if (defined $url)
44 0 35 if (not $feed_class) { }
3 32 elsif (_match($feed_class, 'hentry')) { }
3 29 elsif (_match($feed_class, 'feed-title')) { }
0 29 elsif (_match($feed_class, 'feed-language')) { }
0 29 elsif (_match($feed_class, 'Content-Language')) { }
0 29 elsif (_match($feed_class, 'lang') and $bit->tag eq 'body') { }
0 29 elsif (_match($feed_class, 'self') and $bit->tag eq 'link') { }
0 29 elsif (_match($feed_class, 'bookmark')) { }
1 28 elsif (_match($feed_class, 'title')) { }
2 26 elsif (_match($feed_class, 'feed-tagline')) { }
2 24 elsif (_match($feed_class, 'feed-description')) { }
2 22 elsif (_match($feed_class, 'updated')) { }
2 20 elsif (_match($feed_class, 'license')) { }
2 18 elsif (_match($feed_class, 'vcard')) { }
0 18 elsif (_match($feed_class, 'geo')) { }
4 14 elsif (_match($feed_class, 'tag') and _match($feed_class, 'directory')) { }
53 0 6 if $bit->attr($attr)
75 2 0 if $bit->attr('href')
76 2 0 if $bit->as_text
115 0 0 if defined $feed->id
116 0 0 if defined $feed->language
120 0 0 if (defined $feed->title)
122 0 0 if ($feed->link) { }
133 0 0 if ($feed->modified)
144 0 0 unless $feed->$attr
151 0 0 if ($feed->copyright)
155 0 0 if defined $$license{'href'}
156 0 0 if defined $$license{'content'}
164 0 0 unless $feed->$attr
172 0 0 if (@categories)