Branch Coverage

blib/lib/Factory/Sub.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
12 1 1 if (@import)
31 7 3 if (scalar @{$factory;} - 1 == scalar @params)
34 3 10 unless eval { do { $factory_params[$i] = $factory->[$i]->(ref $factory->[$i] eq 'Type::Tiny' && scalar @{$factory->[$i]{'coercion'}{'type_coercion_map'};} ? $factory->[$i]->coerce($factory_params[$i]) : $factory_params[$i]) } }
36 3 10 ref $factory->[$i] eq 'Type::Tiny' && scalar @{$factory->[$i]{'coercion'}{'type_coercion_map'};} ? :
50 10 27 if ($ref eq 'ARRAY') { }
6 21 elsif ($ref eq 'HASH') { }
0 21 elsif ($ref eq 'SCALAR') { }