Branch Coverage

blib/lib/Types/TypedCodeRef/Factory.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
24 17 23 unless defined $reftype and $reftype eq 'CODE'
48 11 5 if (@type_parameters == 2) { }
2 3 elsif (@type_parameters == 1) { }
52 6 5 if (ref $params_types eq 'ARRAY') { }
3 2 elsif (ref $params_types eq 'HASH') { }
63 2 9 ref $return_types eq 'ARRAY' ? :
85 4 19 if (@_ == 0) { }
4 15 elsif (@_ == 1) { }
14 1 elsif (@_ == 2) { }
125 23 5 if defined $meta
140 1 2 if (@type_parameters == 0)