Condition Coverage

blib/lib/Mojo/Feed.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
227 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'}

or 2 conditions

line l !l condition
246 138 36 $self->$_ || ''

or 3 conditions

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