| blib/lib/App/Open.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 28 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 65 | 3 | 11 | unless $config and $$self{'filename'} |
| 66 | 1 | 10 | unless $config->isa('App::Open::Config') |
| 67 | 1 | 9 | unless $self->is_url or -e $$self{'filename'} |
| 120 | 12 | 2 | if (not $u->scheme or $u->scheme eq 'file') { } |
| 121 | 0 | 12 | if $u->scheme |
| 201 | 2 | 3 | if ($self->is_url) { } |
| 206 | 2 | 7 | if $program |
| 210 | 4 | 1 | if $program |
| 213 | 4 | 1 | if ($program) |
| 218 | 1 | 4 | if (/%s/) |
| 226 | 3 | 1 | unless $command_changed |
| 246 | 0 | 0 | unless @command |
| 248 | 0 | 0 | if ($self->config->config->{'fork'}) { } |
| 249 | 0 | 0 | if (fork) |