| blib/lib/XML/XPathScript/Template.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 24 | 54.1 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 0 | 12 | if @_ > 3 |
| 36 | 2 | 0 | $type eq 'ARRAY' ? : |
| 10 | 2 | !$type ? : | |
| 50 | 0 | 3 | unless $$self{$src} |
| 54 | 1 | 2 | if $attributes_ref |
| 65 | 1 | 1 | ref $copy ? : |
| 76 | 0 | 0 | unless @tags |
| 86 | 0 | 0 | $tags ? : |
| 98 | 12 | 2 | if $_ ne $tag |
| 125 | 0 | 0 | @_ == 2 ? : |
| 141 | 0 | 1 | unless $other_template and $other_template =~ /HASH/ |
| 145 | 0 | 1 | if (0 == index($k, ':')) { } |