blib/lib/MooseX/ConfigCascade/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
55 | 289 | 23 | if (not $self->_att_name and $$conf_h{ref $self->_to_set}) { } |
10 | 16 | elsif ($self->_att_name and $$conf_h{$self->_att_name}) { } | |
72 | 4051 | 8 | if ($to_set->can($att_name) and not defined $self->_args->{$att_name}) |
77 | 4041 | 10 | 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')) { } |
10 | 0 | elsif ($tc->is_a_type_of('Object') and $to_set->$att_name->DOES($self->_role_name)) { } |