Condition Coverage

blib/lib/Test/Consul.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 0 $udp_too and check_port($current_port, 'udp')
248 0 0 0 $res->{'success'} and $res->{'content'} =~ /^"[0-9\.]+:[0-9]+"$/
303 3 0 0 defined $binpath and -x $binpath
326 0 0 0 $version and $version =~ /v(\d+)\.(\d+)\.(\d+)/
350 0 0 0 $minver <= $version and $maxver > $version

or 3 conditions

line l !l&&r !l&&!r condition
302 0 0 3 $ENV{'CONSUL_BIN'} || which('consul')