Branch Coverage

blib/lib/Moose/Meta/Method/Delegation.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
20 1 54 unless exists $options{'attribute'}
25 1 53 unless &blessed($options{'attribute'}) and $options{'attribute'}->isa("Moose::Meta::Attribute")
31 1 52 unless $options{'package_name'} and $options{'name'}
36 1 51 unless $options{'delegate_to_method'} and not ref $options{'delegate_to_method'} or "CODE" eq ref $options{'delegate_to_method'}
42 0 51 unless exists $options{'curried_arguments'}
45 1 50 unless $options{'curried_arguments'} and "ARRAY" eq ref $options{'curried_arguments'}
61 50 0 @_ == 1 ? :
76 0 50 if ref $method_to_call
113 44 6 $attr->has_read_method ? :
116 2 48 @{$self->curried_arguments;} ? :
145 49 1 if defined $definition->{'file'} and defined $definition->{'line'}
167 2 48 if (@{$self->curried_arguments;})
171 6 44 unless ($self->associated_attribute->has_read_method)
184 6 0 &blessed($accessor) ? :