Branch Coverage

blib/lib/Data/Microformat/hFeed/hEntry.pm
Criterion Covered Total %
branch 27 52 51.9


line true false branch
20 3 1 wantarray ? :
29 0 4 if $url
39 0 66 if (not $entry_class) { }
4 62 elsif (_match($entry_class, 'hentry')) { }
4 58 elsif (_match($entry_class, 'entry-title')) { }
0 58 elsif ($entry_class =~ /^h\d/) { }
4 54 elsif (_match($entry_class, 'entry-summary')) { }
4 50 elsif (_match($entry_class, 'entry-content')) { }
4 46 elsif (_match($entry_class, 'published')) { }
4 42 elsif (_match($entry_class, 'modified')) { }
2 40 elsif (_match($entry_class, 'vcard')) { }
0 40 elsif (_match($entry_class, 'geo')) { }
12 28 elsif (_match($entry_class, 'bookmark')) { }
8 20 elsif (_match($entry_class, 'tag')) { }
47 0 0 unless defined $title
48 0 0 unless defined $id
74 0 4 if defined $title
75 0 4 if defined $id
85 0 8 if $@
101 0 0 if $entry->id
105 0 0 if ($entry->title)
107 0 0 if ($entry->link) { }
120 0 0 unless $entry->$attr
134 0 0 $date eq 'issued' ? :
147 0 0 unless $entry->$attr
154 0 0 if $saw_something