Condition Coverage

blib/lib/Catalyst/View/XML/Feed.pm
Criterion Covered Total %
condition 4 18 22.2


and 3 conditions

line !l l&&!r l&&r condition
104 4 2 0 &Scalar::Util::blessed($feed) && $feed->can('format')
133 0 0 0 scalar @entries == 1 and ref $entries[0] eq 'ARRAY'
0 0 0 scalar @entries == 1 and ref $entries[0] eq 'ARRAY' and not &Scalar::Util::blessed($entries[0])
181 0 0 0 $feed->format and lc($feed->format) =~ /atom/i
0 0 0 $feed->format and lc($feed->format) =~ /rss/i

or 3 conditions

line l !l&&r !l&&!r condition
98 2 4 0 &Scalar::Util::blessed($feed) or ref $feed eq 'HASH'