blib/lib/Template/Alloy/Velocity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 40 | 61 | 65.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
22 | 0 | 0 | 266 | $str_ref and defined $$str_ref |
105 | 156 | 0 | 12 | $n and not $self->{'_no_interp'} |
107 | 0 | 0 | 12 | defined $pointer->[-1] and not ref $pointer->[-1] |
130 | 12 | 0 | 148 | not $not and $self->{'SHOW_UNDEFINED_INTERP'} |
142 | 0 | 0 | 0 | defined $pointer->[-1] and not ref $pointer->[-1] |
188 | 278 | 4 | 22 | $pre_chomp and $pointer->[-1] |
4 | 8 | 14 | $pre_chomp and $pointer->[-1] and not ref $pointer->[-1] | |
204 | 0 | 0 | 2 | UNIVERSAL::can($err, 'node') and not $err->node |
234 | 0 | 14 | 0 | defined $parent_node->[3] and @in_view |
239 | 0 | 10 | 4 | $pointer->[-1] and not $pointer->[-1][6] |
277 | 284 | 0 | 16 | $node->[6] and $node->[0] eq 'MACRO' |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 266 | $self->{'V2EQUALS'} || 0 |
69 | 0 | 16 | $capture->[4] ||= [] |
253 | 0 | 16 | $node->[4] ||= [] |
260 | 0 | 64 | $node->[4] ||= [] |
314 | 0 | 200 | $self->{'SYNTAX'} || 'velocity' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
109 | 0 | 8 | 160 | $self->{'_no_interp'} or $n % 2 |
148 | 6 | 4 | 318 | $$str_ref =~ / \G \# .*\n? /cgx or $$str_ref =~ / \G \* .*? \*\# /cgsx |
153 | 278 | 38 | 2 | $$str_ref =~ / \G (\w+) /cgx or $$str_ref =~ / \G \{ (\w+) (\}) /cgx |
186 | 2 | 24 | 278 | $pre_chomp ||= $self->{'PRE_CHOMP'} |
211 | 80 | 16 | 218 | $func eq 'END' or $dirs->{$func}[4] |
272 | 2 | 24 | 274 | $1 || $self->{'POST_CHOMP'} |