| blib/lib/WWW/Search/Ebay.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 72 | 15.2 |
| 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 | 0 | 0 | 0 | defined($enddate = $hit->end_date) and defined($iBids = $hit->bid_count) |
| 0 | 0 | 0 | defined($enddate = $hit->end_date) and defined($iBids = $hit->bid_count) and 0 < $iBids | |
| 0 | 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 | 0 | 0 | $self->{'response'}->header('title') || '' |
| 287 | 0 | 0 | $self->http_request('GET', 'http://viv.ebay.com/ws/eBayISAPI.dll?EbayTime')->content || '' |
| 320 | 0 | 0 | shift() || '' |
| 338 | 0 | 0 | $hit->bid_count || 'no' |
| 348 | 0 | 0 | $hit->bid_amount || 'unknown' |
| 358 | 0 | 0 | $hit->item_number || 'unknown' |
| 359 | 0 | 0 | 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 | 0 | 0 | $self->{'response'}->header('title') || '' |
| 886 | 0 | 0 | $self->{'categories'} ||= [] |
| 920 | 0 | 0 | $oA->as_text || '' |
| 954 | 0 | 0 | $oTDsib->attr('class') || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 146 | 1 | 1 | 11 | $self->{'_debug'} ||= $rhOptsArg->{'search_debug'} |
| 415 | 0 | 0 | 0 | $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 | 0 | 0 | $sColumn =~ /bids/ or $sColumn =~ /format/ |