| blib/lib/TAP/Parser/SourceHandler/Executable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 70 | 221 | 86 | if ($meta->{'is_file'}) { } |
| 12 | 74 | elsif ($meta->{'is_hash'}) { } | |
| 73 | 0 | 4 | if $file->{'execute'} and $file->{'binary'} |
| 74 | 2 | 219 | if $file->{'lc_ext'} eq '.bat' |
| 75 | 4 | 215 | if $file->{'execute'} |
| 78 | 12 | 0 | if $src->raw->{'exec'} |
| 106 | 11 | 4 | if ($meta->{'is_hash'}) { } |
| 1 | 3 | elsif ($meta->{'is_scalar'}) { } | |
| 1 | 2 | elsif ($meta->{'is_array'}) { } | |
| 107 | 0 | 11 | unless $source->raw->{'exec'} |
| 116 | 2 | 13 | unless @command |
| 121 | 2 | 11 | unless $source->test_args |