Condition Coverage

blib/lib/HTML/RSSAutodiscovery.pm
Criterion Covered Total %
condition 11 56 19.6


and 3 conditions

line !l l&&!r l&&r condition
241 0 0 0 defined $$args{'noparse'} && $$args{'noparse'}
242 0 0 0 defined $$args{'embedded'} && $$args{'embedded'}
243 0 0 0 defined $$args{'syndic8'} && $$args{'syndic8'}
256 0 1 0 $parse and $embedded || scalar @{$$self{'__links'};} < 1
313 0 0 0 $link =~ /^http/ and $$self{'__check_embedded'} < 2
428 0 0 0 $$args{'proxy'} and $$self{'__xmlrpc'}->proxy ne $$args{'proxy'}
485 0 0 0 $$self{'__check_embedded'} and $tag eq 'a'
495 0 0 0 defined $$attrs{'name'} and $$attrs{'name'} =~ /^(XML|RSS)$/
500 0 0 0 defined $$attrs{'name'} and $$attrs{'type'} ne 'application/rss+xml'
0 0 0 defined $$attrs{'name'} and $$attrs{'type'} ne 'application/rss+xml' and $$attrs{'type'} ne 'text/xml'

or 2 conditions

line l !l condition
127 2 0 $self->_fetch($uri) || (return undef)
130 1 1 $$self{'__embedded'} ||= []
131 1 1 $$self{'__links'} ||= []
291 0 2 $self->_rss || (return 0)
359 0 1 $self->_xmlrpc({'proxy', 'http://www.syndic8.com/xmlrpc.php'}) || (return 0)
369 0 0 $rpc->call('syndic8.FindSites', $1)->result || (return 1)
372 0 0 $rpc->call('syndic8.GetFeedInfo', $ids)->result || (return 1)

or 3 conditions

line l !l&&r !l&&!r condition
256 0 1 0 $embedded || scalar @{$$self{'__links'};} < 1
264 0 1 0 $syndic8 or scalar @{$$self{'__links'};} < 1
275 0 2 0 $$self{'__ua'} ||= 'LWP::UserAgent'->new
428 0 0 0 not $$self{'__xmlrpc'} or $$args{'proxy'} and $$self{'__xmlrpc'}->proxy ne $$args{'proxy'}