Branch Coverage

blib/lib/LWP/ConnCache.pm
Criterion Covered Total %
branch 4 36 11.1


line true false branch
12 1 0 if (exists $cnf{'total_capacity'})
15 0 0 if (%cnf and $^W)
38 0 0 unless $c->[1] eq $type and $c->[2] eq $key
49 1 0 if (@_)
61 0 0 if (@_)
73 0 1 $type ? :
75 0 0 unless $self->{'cc_limit'}
77 0 0 unless defined $limit
79 0 0 unless $conns->[$i][1] eq $type
80 0 0 if (--$limit < 0)
86 1 0 if (defined(my $total = $self->{'cc_limit_total'}))
96 0 0 if $DEBUG
102 0 0 if (ref $checker ne 'CODE')
104 0 0 if (not defined $checker) { }
0 0 elsif (_looks_like_number($checker)) { }
127 0 0 if (&$checker(@$_))
132 0 0 unless $drop
156 0 0 if not $type or $type and $type eq $_->[1]