| blib/lib/MCP/Run.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 33 | 54.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 0 | 1 | 1 | $first_word and grep {$_ eq $first_word;} @$allowed |
| 73 | 1 | 0 | 2 | defined $vresult and not ref $vresult |
| 1 | 1 | 1 | defined $vresult and not ref $vresult and $vresult eq 1 | |
| 74 | 1 | 0 | 1 | defined $vresult && length $vresult |
| line | l | !l | condition |
|---|---|---|---|
| 100 | 6 | 0 | $result->{'exit_code'} // -1 |
| 101 | 6 | 0 | $result->{'stdout'} // "" |
| 102 | 6 | 0 | $result->{'stderr'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 79 | 0 | 1 | 3 | $args->{'working_directory'} // $self->working_directory |
| 80 | 0 | 4 | 0 | $args->{'timeout'} // $self->timeout |
| 81 | 0 | 0 | 4 | $args->{'compress'} // $self->compress |
| 105 | 4 | 2 | 0 | $compress //= $self->compress |
| 124 | 0 | 0 | 0 | $_compressor //= "MCP::Run::Compress"->new |