Branch Coverage

blib/lib/Net/Statsd/Lite.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
80 0 25 unless my $sock = "IO::Socket::INET"->new("PeerAddr", $self->host, "PeerPort", $self->port, "Proto", $self->proto)
119 87 87 if (defined $rate) { }
131 87 87 if (defined $rate)
139 87 87 if (defined $rate) { }
186 0 29 if $suffix =~ /[\n]/u
187 0 29 if $metric =~ /[\N{U+00}-\N{U+1f}:|]/u
188 0 29 if $value =~ /[\N{U+00}-\N{U+1f}:|]/u
192 23 6 if ($self->autoflush)
200 1 5 if length $data > $avail
209 3 28 if ($Buffers{$index} ne "")
221 0 29 if $is_global