Branch Coverage

lib/Templer/Plugin/Factory.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
121 0 0 unless -d $directory
142 2 18 if (UNIVERSAL::can($plugin, "init"))
166 0 45 unless $name
189 0 22 unless $name
233 82 9 if (UNIVERSAL::can($plugin, "expand_variables"))
259 2 18 if (UNIVERSAL::can($plugin, "cleanup"))
280 2 27 unless $name
288 23 4 if $obj
323 2 13 unless $name
331 9 4 if $obj