| lib/Consul/Simple/Test.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 16 | 56.2 |
| line | true | false | branch |
|---|---|---|---|
| 8 | 0 | 4 | if (not $can_test) |
| 17 | 0 | 8 | if ($uname ne 'Linux' and $uname ne 'Darwin') |
| 22 | 0 | 8 | if ($arch ne 'x86_64') |
| 27 | 0 | 8 | unless defined $new_pid |
| 28 | 4 | 4 | unless ($new_pid) |
| 30 | 0 | 4 | if $ENV{'PWD'} and $ENV{'PWD'} =~ m[/t$] |
| 40 | 0 | 4 | unless $ret eq '0' |
| 45 | 4 | 0 | if $consul_daemon_pid |