blib/lib/Test2/Tools/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 22 | 81.8 |
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" |
line | l | !l | condition |
---|---|---|---|
108 | 2 | 3 | $_[0]{'stdout'} // "" |
124 | 2 | 3 | $_[0]{'stderr'} // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 1 | 7 | 0 | $_[0]{'timeout'} || $timeout |
77 | 2 | 5 | 0 | $_[0]{'name'} // join($", @cmd) |