Branch Coverage

blib/lib/Net/Statsd/Lite.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
76 0 22 unless my $sock = 'IO::Socket::INET'->new('PeerAddr', $self->host, 'PeerPort', $self->port, 'Proto', $self->proto)
106 81 81 if (defined $rate) { }
118 81 81 if (defined $rate)
126 81 81 if (defined $rate) { }
174 20 6 if ($self->autoflush)
182 1 5 if length $data > $avail
193 3 26 if ($Buffers{$index} ne '')
208 0 27 if $is_global