Branch Coverage

blib/lib/Bread/Board/Container.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
74 48 1 if $self->_has_type_mapping_for($type)
78 1 0 if $possible->isa($type)
89 45 21 if $self->_has_type_mapping_for($type)
93 1 25 if $possible->isa($type)
102 0 227 unless &blessed($service) and $service->does('Bread::Board::Service')
111 0 33 unless &blessed($container) and $container->isa('Bread::Board::Container') || $container->isa('Bread::Board::Container::Parameterized')
127 0 29 unless defined $type_constraint
130 0 29 unless &blessed($service) and $service->does('Bread::Board::Service')
144 24 111 exists $params{'parameters'} ? :
147 113 22 if (my $service_path = $params{'service'}) { }
22 0 elsif (my $type = $params{'type'}) { }
154 0 0 defined $service ? :
0 109 unless &blessed($service) and $service->does('Bread::Board::Service')
162 0 22 unless $self->has_type_mapping_for($type)
168 0 22 unless find_type_constraint($type)->check($result)