Branch Coverage

blib/lib/Mojo/Feed/Item.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
43 1080 966 if (my $p = $self->dom->at($selector, %{$self->feed->namespaces;}))
44 36 1044 if ($k eq 'author' and $p->at('name'))
49 194 850 if ($k eq 'published')
60 10 1 if (my $p = $self->dom->at($selector, %{$self->feed->namespaces;}))
61 0 10 if ($k eq 'author' and $p->at('name'))
64 2 8 if ($k eq 'published')
72 0 0 if ($k eq 'author')
123 10 207 if ($self->$k and $self->$k ne $self->_get_selector($k))
134 6 140 if ($self->enclosures->size)
137 88 58 if ($self->tags->size)