blib/lib/Template/Alloy/VMethod.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 37 | 35.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
240 | 0 | 12 | 0 | $what and $what =~ /^(keys|values|each|pairs)$/ |
247 | 0 | 39 | 0 | defined $str and defined $pat |
272 | 0 | 99 | 0 | defined $str and length $str |
273 | 6 | 93 | 0 | defined $n and length $n |
323 | 9 | 3 | 0 | @replace == 1 and ref $replace[0] eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
188 | 27 | 0 | shift() || (return '') |
197 | 30 | 0 | shift() || (return '') |
208 | 6 | 0 | shift() || 1 |
325 | 0 | 6 | $i || 0 |
342 | 0 | 27 | $i ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 0 | 0 | 0 | $JSON ||= do { require JSON; 'JSON'->new->utf8->allow_nonref->allow_unknown->allow_blessed->convert_blessed->canonical } |
27 | 0 | 0 | 0 | $JSONP ||= do { require JSON; 'JSON'->new->utf8->allow_nonref->allow_unknown->allow_blessed->convert_blessed->canonical->pretty } |
289 | 0 | 0 | 6 | $2 > $#$start || $2 == 0 |
368 | 0 | 0 | 0 | $$t{'OUTPUT_PATH'} || $t->throw('redirect', 'OUTPUT_PATH is not set') |