| blib/lib/Tapper/PRC/Testcontrol.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 46 | 43.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 150 | 6 | 0 | 0 | $grace_period > 0 and kill 0, $pid |
| 165 | 0 | 0 | 4 | $pid and $pid > 1 |
| 226 | 0 | 0 | 21 | defined $read and defined $write |
| 238 | 0 | 0 | 0 | $chdir eq 'AUTO' and $program =~ m[^/] |
| 434 | 0 | 0 | 0 | $error and not -d $self->cfg->{'paths'}{'prc_nfs_mountdir'} . '/live' |
| line | l | !l | condition |
|---|---|---|---|
| 67 | 0 | 2 | $self->cfg->{'guest_number'} || 0 |
| 266 | 7 | 5 | $test_program->{'timeout'} || 0 |
| 399 | 0 | 8 | $self->cfg->{'test_type'} || '' |
| 451 | 0 | 11 | $self->cfg->{'guest_number'} || 0 |
| 462 | 0 | 11 | $self->cfg->{'test_type'} || '' |
| 487 | 0 | 0 | $self->cfg->{'timeout_testprogram'} || 0 |
| 505 | 10 | 5 | $testprogram->{'runtime'} || 0 |
| 513 | 15 | 0 | $testprogram->{'timeout'} ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 129 | 12 | 0 | 18 | -e "$output.stdout" or -e "$output.stderr" |
| 211 | 19 | 0 | 0 | -f $program or -l $program |
| 508 | 15 | 0 | 0 | $testprogram->{'program'} ||= $testprogram->{'test_program'} |
| 509 | 5 | 10 | 0 | $testprogram->{'timeout'} ||= $testprogram->{'timeout_testprogram'} |
| 678 | 0 | 6 | 2 | $self->cfg->{'test_program'} or $self->cfg->{'testprogram_list'} |