Branch Coverage

blib/lib/Simple/Factory.pm
Criterion Covered Total %
branch 25 26 96.1


line true false branch
104 1 31 if (scalar @args == 1)
109 25 6 if (scalar @args >= 2 and not exists $hash_args{'build_class'} and not exists $hash_args{'build_conf'})
119 1 24 if ($hash_args{'inline'})
134 2 26 if ($self->eager)
147 1 75 unless my $method = $class->can($self->build_method)
160 38 9 if ($self->autoderef and ref $args)
169 1 0 if not $self->silence
210 1 5 if ($self->has_build_conf_for($key) and $conf{'not_override'}) { }
3 2 elsif ($self->has_build_conf_for($key)) { }
233 2 1 unless $self->has_cache
241 33 5 unless $self->has_cache
251 41 7 unless $self->has_cache
257 2 5 if $cached