Branch Coverage

blib/lib/Cache/Elasticache/Memcache.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
93 0 9 @_ == 1 ? :
95 1 8 unless defined $args->{'config_endpoint'}
96 1 7 if defined $args->{'servers'}
100 7 0 if defined $self->{'config_endpoint'}
103 2 5 exists $args->{'update_period'} ? :
216 0 0 if (defined $self->{'config_endpoint'} and time - $self->{'_last_update'} > $self->{'update_period'})
245 2 2 if ($self->_hasServerListChanged($servers))
258 2 2 unless scalar @$servers == scalar @{$self->{'servers'};}
261 0 6 unless grep {$server eq $_;} @{$$self{'servers'};}
292 0 13 unless $socket
300 128 55 if (defined $line)
304 2 181 if $count == 30
313 0 13 unless defined $data and $data ne ''
318 13 43 if ($line =~ /$node_regex/)