Condition Coverage

blib/lib/Test2/Tools/Command.pm
Criterion Covered Total %
condition 14 28 50.0


and 3 conditions

line !l l&&!r l&&r condition
79 2 2 1 defined $_[0]{'stdout'} and ref $_[0]{'stdout'} eq "Regexp"
84 2 2 1 defined $_[0]{'stderr'} and ref $_[0]{'stderr'} eq "Regexp"

or 2 conditions

line l !l condition
82 0 0 $_[0]{'stdout'} // ""
87 0 0 $_[0]{'stderr'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
33 1 5 0 $_[0]{'timeout'} || $timeout
76 1 4 0 $_[0]{'name'} // join($", @cmd)
80 1 0 0 $result ||= &like($stdout, $_[0]{'stdout'}, "stdout - $name")
82 4 0 0 $result ||= &is($stdout, scalar($_[0]{'stdout'} // ""), "stdout - $name")
85 1 0 0 $result ||= &like($stderr, $_[0]{'stderr'}, "stderr - $name")
87 4 0 0 $result ||= &is($stderr, scalar($_[0]{'stderr'} // ""), "stderr - $name")