Condition Coverage

blib/lib/WWW/Amazon/Wishlist.pm
Criterion Covered Total %
condition 24 51 47.0


and 3 conditions

line !l l&&!r l&&r condition
215 42 0 0 $uk and $item->{'image'}
0 0 0 $uk and $item->{'image'} and not $item->{'image'} =~ /^http:/
444 42 0 0 $iDesired and $sPriority

or 2 conditions

line l !l condition
151 0 2 shift() || 0
153 1 1 shift() || 0
331 0 3 shift() || 0
333 3 0 shift() || ''
335 2 1 shift() || 0
469 9 33 $sPriority ||= 'medium'
471 0 42 $iDesired ||= 1
499 733 210 $_[0]->attr('class') || ''
524 165 0 $_[0]->attr('class') || ''
567 222 0 $_[0]->as_text || ''
586 42 0 shift() || (return)
596 42 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
149 2 0 0 shift() || croak("No ID given to get_list() function\n")
373 42 30 0 $oA->attr('title') || $oA->as_text
387 0 0 60 $sURL =~ m[/detail(?:/offer-listing)?/-/(.+?)/ref] or $sURL =~ m[/gp/product/(.+?)/ref]
0 42 18 $sURL =~ m[/detail(?:/offer-listing)?/-/(.+?)/ref] or $sURL =~ m[/gp/product/(.+?)/ref] or $sURL =~ m[/dp/(.+?)/ref]
439 0 0 0 $sPriority ||= _match_priority($sSpan)
441 0 0 0 $iDesired ||= _match_desired($sSpan)