| blib/lib/App/PDF/Link/Icons.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 30 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 1 | 1 | if ($env->{'all'}) |
| 35 | 0 | 0 | if ($env->{'icons'}{$_}) { } |
| 42 | 1 | 1 | if $env->{'all'} |
| 45 | 15 | 0 | if ($file =~ /^builtin:(.*)/) { } |
| 49 | 0 | 15 | unless $data |
| 54 | 1 | 14 | if ($type eq 'jpg') { } |
| 0 | 14 | elsif ($type eq 'jpeg') { } | |
| 1 | 13 | elsif ($type eq 'biab') { } | |
| 69 | 0 | 0 | unless -r $file |
| 70 | 0 | 0 | if ($file =~ /\.png$/i) { } |
| 0 | 0 | elsif ($file =~ /\.jpe?g$/i) { } | |
| 0 | 0 | elsif ($file =~ /\.gif$/i) { } | |
| 91 | 0 | 2 | unless %icons |
| 93 | 1 | 1 | if $icons{$ext} |
| 94 | 1 | 0 | if defined $icons{' fallback'} |