| blib/lib/OrePAN2/CLI/Inject.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 18 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 39 | 0 | 3 | if ($version) |
| 42 | 0 | 3 | unless my $directory = pop @ARGV |
| 51 | 3 | 0 | if (@ARGV) { } |
| 53 | 0 | 3 | unless /\S/ |
| 54 | 1 | 2 | if $enable_cache and $repository->has_cache($_) |
| 66 | 0 | 0 | unless /\S/ |
| 67 | 0 | 0 | if $enable_cache and $repository->has_cache($_) |
| 77 | 1 | 2 | unless $repository->cache->is_dirty |
| 81 | 2 | 0 | if ($generate_index) |