Branch Coverage

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


line true false branch
40 10 9 $params ? :
76 7 12 ref $_[$#_] eq 'HASH' ? :
80 6 13 @_ ? :
82 0 19 @_ ? :
84 0 19 @_ ? :
87 12 7 if ($time =~ /^-?\d+$/) { }
89 0 12 if ($gmt) { }
103 6 1 if (@parts >= 6)
104 3 3 if (length $parts[0] == 4) { }
114 1 6 unless (@date)
124 5 13 if ($locale) { }
133 0 25 if (defined $setlocale and $try_locale eq $setlocale)
151 0 0 if $@
158 0 0 if $@
179 0 0 if $method eq 'DESTROY'
182 0 0 unless $sub
198 0 0 if $method eq 'DESTROY'
201 0 0 unless $sub