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
36 0 0 0 $udp_too and check_port($current_port, 'udp')
250 0 0 0 $res->{'success'} and $res->{'content'} =~ /^"[0-9\.]+:[0-9]+"$/
318 4 0 0 defined $binpath and -x $binpath
341 0 0 0 $version and $version =~ /v(\d+)\.(\d+)\.(\d+)/
365 0 0 0 $minver <= $version and $maxver > $version

or 3 conditions

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