Branch Coverage

blib/lib/MooseX/ConfigCascade/Util.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
55 275 1 if (not $self->_att_name and $$conf_h{ref $self->_to_set}) { }
0 2 elsif ($self->_att_name and $$conf_h{$self->_att_name}) { }
72 3899 8 if ($to_set->can($att_name) and not defined $self->_args->{$att_name})
77 3899 0 if ($tc->is_a_type_of('Str') or $tc->is_a_type_of('HashRef') or $tc->is_a_type_of('ArrayRef') or $tc->is_a_type_of('Bool')) { }
0 0 elsif ($tc->is_a_type_of('Object') and $to_set->$att_name->DOES($self->_role_name)) { }