Branch Coverage

blib/lib/Type/Alias.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
27 1 14 if ($target_package->can($type_name))
47 1 12 if ($target_package->can($alias_name))
63 1 4 if ($target_package->can($type_function))
76 84 26 if (&blessed($v)) { }
22 4 elsif (ref $v) { }
77 82 2 if ($v->can('check') and $v->can('get_message')) { }
85 8 14 if (ref $v eq 'ARRAY') { }
8 6 elsif (ref $v eq 'HASH') { }
5 1 elsif (ref $v eq 'CODE') { }
96 18 5 if (@_)
97 1 17 unless (@_ == 1 and ref $_[0] eq "ARRAY")
112 3 1 defined $v ? :
119 4 17 if ((ref $type_args || '') eq 'CODE') { }