| blib/lib/NVMPL/Remote.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 2 | 2 | if (-f $cachefile) |
| 28 | 1 | 1 | if ($age < $ttl) |
| 31 | 0 | 1 | unless open my $fh, "<", $cachefile |
| 38 | 3 | 1 | unless ($use_cache) |
| 44 | 1 | 2 | unless ($resp->{'success'}) |
| 50 | 0 | 2 | unless open my $fh, ">", $cachefile |
| 68 | 1 | 1 | if ($opts{'lts'}) { } |
| 75 | 1 | 1 | if @filtered > $limit |
| 80 | 3 | 5 | $r->{'lts'} ? : |