Branch Coverage

lib/Template/Config.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
64 0 0 unless $class->load($module)
83 0 1272 $@ ? :
99 137 2 defined $_[0] && ref $_[0] eq 'HASH' ? :
102 0 139 unless $class->load($Template::Config::PARSER)
117 155 4 defined $_[0] && ref $_[0] eq 'HASH' ? :
120 0 159 unless $class->load($Template::Config::PROVIDER)
136 158 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
139 0 159 unless $class->load($Template::Config::PLUGINS)
155 158 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
158 0 159 unless $class->load($Template::Config::FILTERS)
176 0 174 unless $class->load($Template::Config::ITERATOR)
191 161 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
194 0 162 unless $class->load($Template::Config::STASH)
209 156 2 defined $_[0] && ref $_[0] eq 'HASH' ? :
212 0 158 unless $class->load($Template::Config::CONTEXT)
227 154 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
230 0 155 unless $class->load($Template::Config::SERVICE)
246 7 0 defined $_[0] && ref $_[0] eq 'HASH' ? :
249 0 7 unless $class->load($Template::Config::CONSTANTS)
268 0 0 if $dir