Condition Coverage

blib/lib/MozRepl/Client.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

line !l l&&!r l&&r condition
142 11 0 0 defined $$args{'timeout'} and $$args{'timeout'} > 0

or 2 conditions

line l !l condition
70 0 11 $ENV{'MOZREPL_HOST'} || 'localhost'
71 0 11 $ENV{'MOZREPL_PORT'} || 4242
72 0 11 $ENV{'MOZREPL_TIMEOUT'} || 10
73 0 11 $$args{'extra_client_args'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
70 0 11 0 $$args{'host'} ||= $ENV{'MOZREPL_HOST'} || 'localhost'
71 0 11 0 $$args{'port'} ||= $ENV{'MOZREPL_PORT'} || 4242
72 0 11 0 $$args{'timeout'} ||= $ENV{'MOZREPL_TIMEOUT'} || 10