Branch Coverage

lib/Template/Plugin/Date.pm
Criterion Covered Total %
branch 20 36 55.5


line true false branch
44 10 9 $params ? :
80 7 12 ref $_[$#_] eq 'HASH' ? :
84 6 13 @_ ? :
86 0 19 @_ ? :
88 0 19 @_ ? :
91 12 7 if ($time =~ /^-?\d+$/) { }
93 0 12 if ($gmt) { }
107 6 1 if (@parts >= 6)
108 3 3 if (length $parts[0] == 4) { }
118 1 6 unless (@date)
128 5 13 if ($locale) { }
141 0 25 if (defined $setlocale and $try_locale eq $setlocale)
159 0 0 if $@
166 0 0 if $@
187 0 0 if $method eq 'DESTROY'
190 0 0 unless $sub
206 0 0 if $method eq 'DESTROY'
209 0 0 unless $sub