Condition Coverage

blib/lib/CPAN/Mirrors.pm
Criterion Covered Total %
condition 2 55 3.6


and 3 conditions

line !l l&&!r l&&r condition
313 0 0 0 defined $callback and ref $callback ne ref sub { }
334 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
395 0 0 0 defined $args{'callback'} and ref $args{'callback'} ne ref sub { }
408 0 0 0 @mirrors and @tests < $n
0 0 0 @mirrors and @tests < $n and $tries++ < 15
459 0 0 0 exists $$seen{$mirror->hostname} && defined $$seen{$mirror->hostname}->rtt && defined $ping_cache_limit
524 0 0 0 $continent and $country
611 0 0 0 $verbose and not $alive

or 2 conditions

line l !l condition
202 0 0 $args{'how_many'} || 1
205 0 0 $args{'continents'} || []
265 0 0 $n ||= 3
387 0 0 $args{'n'} ||= 3
517 0 0 $mirror ||= {}
525 0 0 $continent || 'unknown'
526 0 0 $country || 'unknown'
568 1 0 $arg ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
274 0 0 0 $n eq "*" or $n > @long_list
334 0 0 0 defined $a->rtt || defined $b->rtt
582 1 0 0 $self->{'http'} || $self->{'ftp'}