Condition Coverage

blib/lib/Test2/Tools/Command.pm
Criterion Covered Total %
condition 23 30 76.6


and 3 conditions

line !l l&&!r l&&r condition
79 2 0 5 $_[0]{'status'}{'code'} == $status->{'code'} and $_[0]{'status'}{'signal'} == $status->{'signal'}
2 0 5 $_[0]{'status'}{'code'} == $status->{'code'} and $_[0]{'status'}{'signal'} == $status->{'signal'} and $_[0]{'status'}{'iscore'} == $status->{'iscore'}
100 3 2 2 defined $_[0]{'stdout'} and ref $_[0]{'stdout'} eq "Regexp"
116 3 2 2 defined $_[0]{'stderr'} and ref $_[0]{'stderr'} eq "Regexp"
157 0 0 9 $expect->{'code'} == $status->{'code'} and $expect->{'signal'} == $status->{'signal'}
0 1 8 $expect->{'code'} == $status->{'code'} and $expect->{'signal'} == $status->{'signal'} and $expect->{'iscore'} == $status->{'iscore'}

or 2 conditions

line l !l condition
108 2 3 $_[0]{'stdout'} // ""
124 2 3 $_[0]{'stderr'} // ""
139 1 8 $name //= "exit status"

or 3 conditions

line l !l&&r !l&&!r condition
32 1 7 0 $_[0]{'timeout'} || $timeout
77 2 5 0 $_[0]{'name'} // join($", @cmd)