| lib/Coro/Twiggy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 107 | 0 | 1 | if ($listen) { } |
| 1 | 0 | elsif (not $port =~ /^\d+$/) { } | |
| 154 | 0 | 6 | unless $self |
| 158 | 1 | 5 | if (my $err = $@) |
| 159 | 1 | 0 | if utf8::is_utf8($err) |
| 165 | 1 | 4 | unless ('ARRAY' eq ref $res) |
| 170 | 1 | 3 | unless @$res >= 2 |
| 171 | 0 | 3 | unless @$res > 2 |
| 174 | 0 | 3 | unless defined $$res[0] and $$res[0] =~ /^\d+$/ |
| 175 | 0 | 3 | unless 'ARRAY' eq ref $$res[1] |
| 176 | 0 | 3 | unless 'ARRAY' eq ref $$res[2] |
| 193 | 0 | 2 | if utf8::is_utf8($dump) |