Branch Coverage

blib/lib/Type/Params/Alternatives.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
10 0 3 if ($] < "5.01")
30 0 18 @_ == 1 ? :
64 6 42 if (is_CodeRef($alt)) { }
28 14 elsif (is_HashRef($alt)) { }
13 1 elsif (is_ArrayRef($alt)) { }
115 37 10 if defined $meta->{'min_args'}
116 24 23 if defined $meta->{'max_args'}
117 24 23 if (defined $meta->{'max_args'} and defined $meta->{'min_args'})
119 24 0 if $meta->{'max_args'} == $meta->{'min_args'}
123 17 30 if ($meta->{'source'} and not $meta->{'source'} =~ /return/ and not keys %{$$meta{'environment'};}) { }
180 12 1 unless $_->{'class_definition'}