Condition Coverage

lib/Rex/Interface/Exec/Base.pm
Criterion Covered Total %
condition 6 18 33.3


and 3 conditions

line !l l&&!r l&&r condition
31 5995 0 0 defined $cb and ref $cb eq "CODE"
40 5995 0 0 defined $regex and ref $regex eq "Regexp"
5995 0 0 defined $regex and ref $regex eq "Regexp" and $line =~ /$regex/u

or 2 conditions

line l !l condition
29 0 5995 $option->{'continuous_read'} || undef
38 0 5995 $option->{'end_if_matched'} || undef
56 555 0 $check_with_command ||= "which"

or 3 conditions

line l !l&&r !l&&!r condition
17 0 0 0 ref $that || $that