Condition Coverage

blib/lib/Template/Trivial.pm
Criterion Covered Total %
condition 9 18 50.0


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 $Template::Trivial::TMPL_DIR and not $Template::Trivial::TMPL_DIR =~ m[/$]
221 0 1 15 $_[0] and exists $Template::Trivial::VARIABLES{$_[0]}
1 0 15 $_[0] and exists $Template::Trivial::VARIABLES{$_[0]} and $_[0] =~ /$VAR_RE/

or 3 conditions

line l !l&&r !l&&!r condition
22 0 6 0 ref $class || $class
72 4 0 1 -f $path or -c _
133 1 1 0 -f $path or -c _