line |
true |
false |
branch |
132
|
4 |
309 |
if (exists $args{'return_signature'})
|
137
|
1 |
1 |
if (defined(my $msg = ${$self;}->_return_type_constraint->validate(\@_)))
|
202
|
0 |
2 |
unless $self->has_return_signature
|
211
|
0 |
2 |
unless exists $$param{'type_constraints'}
|
228
|
103 |
107 |
if $param->has_type_constraints
|
232
|
31 |
179 |
if ($param->has_constraints)
|
239
|
23 |
187 |
if ($param->sigil ne '$')
|
244
|
148 |
61 |
$param->required ? :
|
248
|
16 |
193 |
if $param->has_default_value
|
251
|
34 |
175 |
if ($param->has_traits)
|
253
|
0 |
34 |
unless $$trait[1] eq 'coerce'
|
271
|
0 |
6 |
if $@ or not defined $param
|
287
|
3 |
149 |
if ($self->_has_parsed_prototype_injections)
|
292
|
17 |
135 |
$sig->has_invocant ? :
|
300
|
99 |
53 |
$sig->has_positional_params ? :
|
|
48 |
104 |
$sig->has_named_params ? :
|
|
21 |
157 |
does_role($_, 'Parse::Method::Signatures::Param::Placeholder') ? :
|
317
|
3 |
154 |
if ($self->_has_parsed_prototype_injections)
|
323
|
20 |
137 |
$sig->has_invocant ? :
|
328
|
101 |
56 |
if ($sig->has_positional_params)
|
331
|
22 |
103 |
if $$spec{'slurpy'}
|
351
|
52 |
104 |
if ($sig->has_named_params)
|
352
|
1 |
51 |
if $self->_has_slurpy_positional
|
367
|
61 |
61 |
ref $_ ? :
|
373
|
306 |
7 |
unless exists $$spec{'coerce'}
|
387
|
6 |
31 |
exists $$param{'default'} ? :
|
|
37 |
254 |
$#{$_;} < $i ? :
|
393
|
47 |
89 |
if (%named) { }
|
|
8 |
81 |
elsif ($#{$_;} >= $i) { }
|
395
|
3 |
44 |
unless @rest % 2 == 0
|
400
|
48 |
20 |
if (exists $rest{$key})
|
405
|
5 |
15 |
if (exists $$spec{'default'})
|
430
|
43 |
90 |
if (defined(my $msg = $self->type_constraint->validate($args, \$coerced)))
|