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
30 5996 0 0 defined $cb and ref $cb eq "CODE"
39 5996 0 0 defined $regex and ref $regex eq "Regexp"
5996 0 0 defined $regex and ref $regex eq "Regexp" and $line =~ /$regex/u

or 2 conditions

line l !l condition
28 0 5996 $option->{'continuous_read'} || undef
37 0 5996 $option->{'end_if_matched'} || undef
55 555 0 $check_with_command ||= "which"

or 3 conditions

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