Branch Coverage

lib/Template/Constants.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
122 0 4 unless defined $debug or ref $self
124 1 3 if ($debug =~ /^\d+$/) { }
126 3 12 if $flag =~ /^DEBUG_(OFF|ALL|FLAGS)$/
132 0 12 unless defined($value = $$Template::Constants::DEBUG_OPTIONS{$flag})
136 2 10 if ($debug & $flag)
138 0 2 unless defined $value
142 0 1 wantarray ? :
149 1 4 unless defined $value