Condition Coverage

blib/lib/API/Octopart.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
277 0 0 0 $self->{'cache'} and -e $hashfile
496 0 0 0 defined $opts{'currency'} and $p->{'currency'} ne $opts{'currency'}
524 0 0 0 defined $opts{'mfg'} and not $r->{'mfg'} =~ /$opts{'mfg'}/i
528 0 0 0 defined $opts{'min_qty'} and $r->{'sellers'}{$s}{'stock'} < $opts{'min_qty'}
0 0 0 defined $opts{'max_price'} and $r->{'sellers'}{$s}{'moq_price'} > $opts{'max_price'}
0 0 0 defined $opts{'max_moq'} and $r->{'sellers'}{$s}{'moq'} > $opts{'max_moq'}
0 0 0 defined $opts{'seller'} and not $s =~ /$opts{'seller'}/i

or 3 conditions

line l !l&&r !l&&!r condition
504 0 0 0 not defined $ss{$s->{'company'}{'name'}}{'moq'} or $ss{$s->{'company'}{'name'}}{'moq'} > $moq
528 0 0 0 not defined $r->{'sellers'}{$s}{'price_tier'} or defined $opts{'min_qty'} and $r->{'sellers'}{$s}{'stock'} < $opts{'min_qty'}
0 0 0 not defined $r->{'sellers'}{$s}{'price_tier'} or defined $opts{'min_qty'} and $r->{'sellers'}{$s}{'stock'} < $opts{'min_qty'} or defined $opts{'max_price'} and $r->{'sellers'}{$s}{'moq_price'} > $opts{'max_price'}
0 0 0 defined $opts{'max_moq'} and $r->{'sellers'}{$s}{'moq'} > $opts{'max_moq'} or defined $opts{'seller'} and not $s =~ /$opts{'seller'}/i
0 0 0 not defined $r->{'sellers'}{$s}{'price_tier'} or defined $opts{'min_qty'} and $r->{'sellers'}{$s}{'stock'} < $opts{'min_qty'} or defined $opts{'max_price'} and $r->{'sellers'}{$s}{'moq_price'} > $opts{'max_price'} or (defined $opts{'max_moq'} and $r->{'sellers'}{$s}{'moq'} > $opts{'max_moq'} or defined $opts{'seller'} and not $s =~ /$opts{'seller'}/i)