blib/lib/Test/Consul.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 21 | 9.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 0 | 0 | $udp_too and check_port($current_port, "udp") |
38 | 0 | 0 | 0 | $udp_too and not can_bind("127.0.0.1", $current_port, "udp") |
258 | 0 | 0 | 0 | $res->{'success'} and $res->{'content'} =~ /^"[0-9\.]+:[0-9]+"$/ |
326 | 4 | 0 | 0 | defined $binpath and -x $binpath |
349 | 0 | 0 | 0 | $version and $version =~ /v(\d+)\.(\d+)\.(\d+)/ |
373 | 0 | 0 | 0 | $minver <= $version and $maxver > $version |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
325 | 0 | 0 | 4 | $ENV{'CONSUL_BIN'} || which('consul') |