Condition Coverage

blib/lib/Type/Params/Parameter.pm
Criterion Covered Total %
condition 46 54 85.1


and 3 conditions

line !l l&&!r l&&r condition
32 0 708 7 defined $self{'alias'} and not ref $self{'alias'}
133 30 0 86 $is_optional && $constraint->parent && $constraint->parent->{'uniq'} eq &Optional()->{'uniq'} && $constraint->type_parameter
160 697 0 2 $needs_clone and not $signature->{'loaded_Storable'}
172 349 342 8 $args{'is_named'} and $self->has_alias
254 531 83 84 $constraint->has_coercion and $constraint->coercion->can_be_inlined
280 688 7 3 $strictness and $$strictness eq 1
688 2 5 $strictness and $$strictness
287 688 8 2 $strictness and not $$strictness
325 119 85 390 $args{'output_slot'} and $args{'output_slot'} ne $varname
333 80 106 204 not $in_big_optional_block and $varname =~ /\{/

or 2 conditions

line l !l condition
31 8 707 $self{'alias'} ||= []
122 451 248 $args{'type'} || 'arg'
151 280 69 $args{'input_var'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
59 17 86 585 $_[0]->has_default || grep(($_->{'uniq'} == &Optional()->{'uniq'}), $_[0]->type->parents)
77 10 9 133 $_[0]->has_default or $_[0]->coerce
169 403 296 0 $self->name || $args{'input_slot'}
188 8 0 0 $self->name || $args{'input_slot'}
303 70 552 0 $really_optional || $constraint
307 16 45 0 $really_optional || $constraint