blib/lib/Template/Semantic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 1 | 0 | 0 | &blessed($template) and $template->isa('GLOB') |
line | l | !l | condition |
---|---|---|---|
39 | 13 | 0 | $name ||= '' |
60 | 168 | 0 | $source || '' |
64 | 160 | 6 | $vars || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
17 | 1 | 24 | 0 | $self->{'parser'} ||= do { my $parser = 'XML::LibXML'->new; $parser->no_network(1); $parser->recover(2); $parser->$_($opt{$_}) foreach (keys %opt); $parser } |
34 | 0 | 150 | 0 | $self->{'filter'}{$name} ||= $code |
50 | 1 | 0 | 1 | ref $template eq 'GLOB' or &blessed($template) and $template->isa('GLOB') |