blib/lib/HTML/Blitz/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 15 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
11 | 0 | 239 | 0 | @_ > 1 and (@_ - 1) % 2 |
54 | 1 | 0 | 0 | @_ > 2 and (@_ - 2) % 2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 3 | 235 | 0 | $self->{'_perl_src'} //= $self->{'_codegen'}->assemble("data_format", "sigil", "data_format_mapping", {"array", "", "bool", "", "func", "", "html", "", "str", ""}) |
69 | 0 | 235 | 0 | $self->{'_sub'} //= do { my $err; my $src = $self->_perl_src; my $fn; { local $@; $fn = eval $src; $err = $@; }; $fn // croak($err) } |
78 | 235 | 0 | 0 | $fn // croak($err) |