Condition Coverage

blib/lib/Rex.pm
Criterion Covered Total %
condition 47 77 61.0


and 3 conditions

line !l l&&!r l&&r condition
198 46509 0 0 $^O =~ /^MSWin/iu and not $o
360 3719 0 0 exists $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} and $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} == 1
3719 0 0 exists $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} and $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} == 0
546 681 4 0 $addition1 and ref $addition1 eq "ARRAY"
646 3 0 0 defined $dev_release and $c_major == $major
3 0 0 defined $dev_release and $c_major == $major and $c_minor > $minor
3 0 0 $c_major >= $major and $c_minor > $minor
663 1 3 0 $add =~ /^\d+\.\d+$/u and $add >= "1.4"
669 1 3 0 $add =~ /^\d+\.\d+$/u and $add >= "1.3"
675 1 3 0 $add =~ /^\d+\.\d+$/u and $add >= 1
681 1 3 0 $add =~ /^\d+\.\d+$/u and $add >= "0.56"
687 1 3 0 $add =~ /^\d+\.\d+$/u and $add >= "0.55"
693 1 2 1 $add =~ /^\d+\.\d+$/u and $add >= "0.54"
703 1 2 1 $add =~ /^\d+\.\d+$/u and $add >= "0.53"
709 1 2 1 $add =~ /^\d+\.\d+$/u and $add >= "0.51"
736 1 2 1 $add =~ /^\d+\.\d+$/u and $add >= "0.4"
743 1 2 1 $add =~ /^\d+\.\d+$/u and $add >= "0.35"
750 1 0 3 $add =~ /^\d+\.\d+$/u and $add >= "0.31"
945 685 0 0 exists $ENV{'REX_SUDO'} and $ENV{'REX_SUDO'}

or 2 conditions

line l !l condition
163 110 0 $ENV{'HOME'} || ''
439 0 0 $param->{'port'} || 22
440 0 0 $param->{'timeout'} || 5
553 84 601 $what ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
568 44 0 641 $what eq "-base" or $what eq "base"
44 4 637 $what eq "-base" or $what eq "base" or $what eq "-feature"
630 4 0 681 $what eq "-feature" or $what eq "feature"
646 0 0 3 $c_major > $major or $c_major >= $major and $c_minor > $minor