Condition Coverage

blib/lib/Text/TemplateLite/Standard.pm
Criterion Covered Total %
condition 36 50 72.0


and 3 conditions

line !l l&&!r l&&r condition
281 1 0 4 length $value and $value ne '0'
301 2 2 1 length $value and $value ne '0'
318 3 1 0 length $value && $value ne '0'
340 0 3 4 defined $_ && length $_
365 3 4 3 length $cond and $cond ne '0'
405 2 0 3 $name ne '*?' and not $name =~ /^do/
409 0 1 2 length $value and $value ne '0'
415 3 1 6 length $value and $value ne '0'
4 0 6 length $value and $value ne '0' and not $renderer->exceeded_limits
537 0 0 0 $args[1] and defined(my $max_len = $$renderer{'limits'}{'step_length'})
566 1 6 0 @args > 1 and not looks_like_number($args[1])
567 3 4 0 @args > 2 and not looks_like_number($args[2])
704 3 7 0 @args == 2 && $args[1]
718 3 1 0 @args == 2 && $args[1]

or 2 conditions

line l !l condition
905 3 0 $$args[1] || []

or 3 conditions

line l !l&&r !l&&!r condition
820 2 2 2 not defined $max or $value > $max
840 2 2 2 not defined $min or $value < $min