| blib/lib/Template/Plugin/MARC.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 183 | 1 | 2 | ref $_[-1] eq 'HASH' ? : |
| 187 | 1 | 2 | unless defined $marc |
| 204 | 18 | 2 | if $$self{'record'} |
| 208 | 2 | 0 | if (ref $$self{'marc'} eq 'MARC::Record') |
| 213 | 14 | 4 | unless $$recordhash{"f$tag"} |
| 214 | 14 | 4 | unless $$recordhash{"f$tag" . 's'} |
| 216 | 12 | 6 | unless $$recordhash{"$section"} |
| 245 | 10 | 37 | if $testfield->has($selector, $$selectors{$selector}) |