Branch Coverage

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


line true false branch
24 17 21 unless defined $reftype and $reftype eq 'CODE'
48 11 4 if (@type_parameters == 2) { }
1 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' ? :
84 4 18 if (@_ == 0) { }
3 15 elsif (@_ == 1) { }
14 1 elsif (@_ == 2) { }
124 21 5 if defined $meta
139 1 2 if (@type_parameters == 0)