Branch Coverage

blib/lib/MooX/HandlesVia.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
25 29 1 if (my $has = $target->can('has'))
29 26 3 if ($target->isa('Moo::Object')) { }
41 2 33 if not $handles or ref $handles ne 'HASH'
43 29 4 if (my $via = delete $opts{'handles_via'})
44 0 29 ref $via eq 'ARRAY' ? :
55 107 216 if (ref $delegation eq 'ARRAY') { }
216 0 elsif (ref $delegation eq '') { }
57 33 74 if ($via->can($method))
62 74 142 if ($via->can($delegation))
78 0 0 if ref $inflator eq 'CODE'