blib/lib/Text/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 25 | 96.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
120 | 7 | 1 | 1 | $self->{'UNTAINT'} and _is_clean($self->{'SOURCE'}) |
217 | 44 | 257 | 6 | not $delim_pats and $t eq "\\\\" |
44 | 251 | 6 | not $delim_pats and $t =~ /^\\([{}])$/ | |
354 | 87 | 31 | 2 | defined $fi_package and defined $fi_safe |
line | l | !l | condition |
---|---|---|---|
62 | 111 | 1 | _param('type', %a) || 'FILE' |
170 | 7 | 0 | $type || 'STRING' |
305 | 2 | 114 | _param('broken', %fi_a) || $fi_self->{'BROKEN'} || \&Text::Template::_default_broken |
306 | 1 | 119 | _param('broken_arg', %fi_a) || [] |
309 | 10 | 109 | _param('filename', %fi_a) || $fi_self->{'FILENAME'} || 'template' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
191 | 2 | 19 | 86 | shift() || $self->{'DELIM'} |