blib/lib/CPAN/Mirrors.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 52 | 3.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
297 | 0 | 0 | 0 | defined $callback and ref $callback ne ref sub { } |
317 | 0 | 0 | 0 | defined $a->rtt and defined $b->rtt |
0 | 0 | 0 | defined $a->rtt and not defined $b->rtt | |
0 | 0 | 0 | not defined $a->rtt and defined $b->rtt | |
378 | 0 | 0 | 0 | defined $args{'callback'} and ref $args{'callback'} ne ref sub { } |
390 | 0 | 0 | 0 | @mirrors and @tests < $n |
0 | 0 | 0 | @mirrors and @tests < $n and $tries++ < 15 | |
487 | 0 | 0 | 0 | $continent and $country |
line | l | !l | condition |
---|---|---|---|
195 | 0 | 0 | $args{'how_many'} || 1 |
198 | 0 | 0 | $args{'continents'} || [] |
249 | 0 | 0 | $n ||= 3 |
370 | 0 | 0 | $args{'n'} ||= 3 |
480 | 0 | 0 | $mirror ||= {} |
488 | 0 | 0 | $continent || 'unknown' |
489 | 0 | 0 | $country || 'unknown' |
531 | 1 | 0 | $arg ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
258 | 0 | 0 | 0 | $n eq '*' or $n > @long_list |
317 | 0 | 0 | 0 | defined $a->rtt || defined $b->rtt |
429 | 0 | 0 | 0 | not defined $$seen{$mirror->hostname}->rtt or time - $$seen{$mirror->hostname}->rtt > $ping_cache_limit |
545 | 1 | 0 | 0 | $self->{'http'} || $self->{'ftp'} |