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 697 7 defined $self{'alias'} and not ref $self{'alias'}
133 27 0 86 $is_optional && $constraint->parent && $constraint->parent->{'uniq'} eq &Optional()->{'uniq'} && $constraint->type_parameter
160 686 0 2 $needs_clone and not $signature->{'loaded_Storable'}
172 341 339 8 $args{'is_named'} and $self->has_alias
254 520 83 84 $constraint->has_coercion and $constraint->coercion->can_be_inlined
280 677 7 3 $strictness and $$strictness eq 1
677 2 5 $strictness and $$strictness
287 677 8 2 $strictness and not $$strictness
325 119 82 387 $args{'output_slot'} and $args{'output_slot'} ne $varname
333 80 105 202 not $in_big_optional_block and $varname =~ /\{/

or 2 conditions

line l !l condition
31 8 696 $self{'alias'} ||= []
122 445 243 $args{'type'} || 'arg'
151 272 69 $args{'input_var'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
59 14 86 577 $_[0]->has_default || grep(($_->{'uniq'} == &Optional()->{'uniq'}), $_[0]->type->parents)
77 8 9 130 $_[0]->has_default or $_[0]->coerce
169 397 291 0 $self->name || $args{'input_slot'}
188 8 0 0 $self->name || $args{'input_slot'}
303 70 541 0 $really_optional || $constraint
307 16 45 0 $really_optional || $constraint