blib/lib/WWW/Search/Ebay.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 72 | 43.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
811 | 0 | 0 | 0 | $sText =~ /0 results found for / and $sText =~ / so we searched for / || $sText =~ / so we removed keywords / |
846 | 0 | 0 | 0 | $s =~ /0 results found in the/ and $s =~ /so we searched in all categories/ |
1003 | 47 | 0 | 496 | defined($enddate = $hit->end_date) and defined($iBids = $hit->bid_count) |
47 | 496 | 0 | defined($enddate = $hit->end_date) and defined($iBids = $hit->bid_count) and 0 < $iBids | |
496 | 0 | 0 | defined($enddate = $hit->end_date) and defined($iBids = $hit->bid_count) and 0 < $iBids and Date_Cmp($enddate, 'now') < 0 |
line | l | !l | condition |
---|---|---|---|
148 | 2 | 11 | $self->{'_debug'} ||= 0 |
163 | 7 | 6 | $self->{'search_host'} ||= 'http://www.ebay.com' |
164 | 13 | 0 | $self->{'search_host'} ||= 'http://search.ebay.com' |
165 | 7 | 6 | $self->{'search_path'} ||= '/sch/i.html' |
166 | 13 | 0 | $self->{'search_path'} ||= '/ws/search/SaleSearch' |
274 | 11 | 0 | $self->{'response'}->header('title') || '' |
287 | 11 | 0 | $self->http_request('GET', 'http://viv.ebay.com/ws/eBayISAPI.dll?EbayTime')->content || '' |
320 | 543 | 0 | shift() || '' |
338 | 0 | 543 | $hit->bid_count || 'no' |
348 | 543 | 0 | $hit->bid_amount || 'unknown' |
358 | 543 | 0 | $hit->item_number || 'unknown' |
359 | 0 | 543 | shift() || 'current' |
378 | 0 | 0 | $oA->attr('href') || '' |
498 | 0 | 0 | $iBids ||= 0 |
581 | 0 | 0 | $oTDdate->attr('class') || '' |
638 | 0 | 0 | shift() || '%Y-%m-%d %H:%M:%S' |
639 | 0 | 0 | ParseDate($oSR->end_date) || '' |
779 | 11 | 0 | $self->{'response'}->header('title') || '' |
886 | 5 | 0 | $self->{'categories'} ||= [] |
920 | 543 | 0 | $oA->as_text || '' |
954 | 2138 | 722 | $oTDsib->attr('class') || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
146 | 1 | 1 | 11 | $self->{'_debug'} ||= $rhOptsArg->{'search_debug'} |
415 | 0 | 0 | 544 | $oTDprice->look_down('_tag', 'span', 'class', 'ebSold') or $oTDprice->look_down('_tag', 'span', 'class', 'bold bidsold') |
483 | 0 | 0 | 0 | $iBids =~ /\A$W*-$W*\Z/ or $iBids =~ /\A$W*\Z/ |
811 | 0 | 0 | 0 | $sText =~ / so we searched for / || $sText =~ / so we removed keywords / |
965 | 0 | 544 | 2316 | $sColumn =~ /bids/ or $sColumn =~ /format/ |