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 1203 $@ ? :
99 128 2 defined $_[0] && ref $_[0] eq 'HASH' ? :
102 0 130 unless $class->load($Template::Config::PARSER)
117 145 4 defined $_[0] && ref $_[0] eq 'HASH' ? :
120 0 149 unless $class->load($Template::Config::PROVIDER)
136 148 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
139 0 149 unless $class->load($Template::Config::PLUGINS)
155 148 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
158 0 149 unless $class->load($Template::Config::FILTERS)
176 0 174 unless $class->load($Template::Config::ITERATOR)
191 151 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
194 0 152 unless $class->load($Template::Config::STASH)
209 146 2 defined $_[0] && ref $_[0] eq 'HASH' ? :
212 0 148 unless $class->load($Template::Config::CONTEXT)
227 144 1 defined $_[0] && ref $_[0] eq 'HASH' ? :
230 0 145 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