Branch Coverage

blib/lib/Bread/Board/Service/Inferred.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
45 0 34 unless defined $type_constraint
51 0 34 unless $type_constraint->isa('Moose::Meta::TypeConstraint::Class') or $type_constraint->is_subtype_of('Object')
61 1 33 if ($self->has_service) { }
82 27 7 unless (exists $params{'class'})
84 26 1 if ($type_constraint->isa('Moose::Meta::TypeConstraint::Class')) { }
99 1 0 $meta->isa('Moose::Meta::Role') ? :
1 33 unless $meta->isa('Moose::Meta::Class')
106 34 2 if $_->is_required
118 2 30 if exists $params{'dependencies'}{$name}
121 15 15 $type_constraint->isa('Moose::Meta::TypeConstraint::Class') ? :
126 11 19 if ($current_container->has_type_mapping_for($type_name)) { }
1 18 elsif (exists $seen->{$type_name}) { }
130 0 1 if (&blessed($seen->{$type_name})) { }
145 10 8 if ($type_constraint->isa('Moose::Meta::TypeConstraint::Class') or $type_constraint->is_subtype_of('Object')) { }
157 7 1 if ($self->infer_params) { }
167 19 7 if defined $service
171 22 7 if ($self->infer_params)
173 2 0 $_->has_type_constraint ? :
192 1 28 if ($self->has_service) { }