Condition Coverage

blib/lib/Mojo/Feed.pm
Criterion Covered Total %
condition 21 31 67.7


and 3 conditions

line !l l&&!r l&&r condition
105 237 23 22 $k eq 'author' and $p->at('name')
121 2 0 0 $k eq 'author' and $p->at('name')
251 277 34 21 $type and $self->is_feed_content_type($type)
311 0 21 $type and $self->is_feed_content_type($type) and $rel{'alternate'} || $rel{'service.feed'}
278 10 78 2 $self->$k and $self->$k ne $self->_get_selector($k)

or 2 conditions

line l !l condition
108 28 2 $p->text || $p->content || $p->attr('href') || ''
270 132 36 $self->$_ || ''

or 3 conditions

line l !l&&r !l&&!r condition
175 0 12 28 $result->code == 301 or $result->code == 302
240 32 0 0 $result->dom->find('head base')->map('attr', 'href')->join('') || $self->url
244 32 0 0 $result->dom->find('head > title')->map('text')->join('') || $self->url
251 21 0 0 $rel{'alternate'} || $rel{'service.feed'}