Condition Coverage

blib/lib/Type/Params/Alternatives.pm
Criterion Covered Total %
condition 17 22 77.2


and 3 conditions

line !l l&&!r l&&r condition
117 23 0 24 defined $meta->{'max_args'} and defined $meta->{'min_args'}
123 6 7 34 $meta->{'source'} and not $meta->{'source'} =~ /return/
13 17 17 $meta->{'source'} and not $meta->{'source'} =~ /return/ and not keys %{$$meta{"environment"};}

or 2 conditions

line l !l condition
33 0 69 exists $self->{$_} or $self->{$_} = $self->{'base_options'}{$_}
34 18 0 $self->{'sig_class'} ||= "Type::Params::Signature"
35 2 16 $self->{'message'} ||= "Parameter validation failed"
39 41 0 $_[0]{'base_options'} ||= {}
40 18 0 $_[0]{'alternatives'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
42 5 17 1 $_[0]{'meta_alternatives'} ||= $_[0]->_build_meta_alternatives