| blib/lib/Net/Statsd/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 81 | 0 | 24 | unless my $sock = "IO::Socket::IP"->new("PeerHost", $self->host, "PeerService", $self->port, "Proto", $self->proto, "Type", 2) |
| 122 | 90 | 90 | if (defined $rate) { } |
| 134 | 90 | 90 | if (defined $rate) |
| 142 | 90 | 90 | if (defined $rate) { } |
| 189 | 0 | 29 | if $suffix =~ /[\n]/u |
| 190 | 0 | 29 | if $metric =~ /[\N{U+00}-\N{U+1f}:|]/u |
| 191 | 0 | 29 | if $value =~ /[\N{U+00}-\N{U+1f}:|]/u |
| 195 | 23 | 6 | if ($self->autoflush) |
| 203 | 1 | 5 | if length $data > $avail |
| 212 | 3 | 29 | if ($Buffers{$index} ne "") |
| 224 | 0 | 30 | if $is_global |