line |
true |
false |
branch |
56
|
1 |
16 |
if ($self->_has_name)
|
57
|
0 |
1 |
$self->_has_caller ? :
|
78
|
13 |
4 |
if (ref $self->params eq 'HASH') { }
|
|
4 |
0 |
elsif (ref $self->params eq 'ARRAY') { }
|
95
|
6 |
12 |
unless ref $spec
|
101
|
12 |
4 |
unless $spec->{'optional'} or exists $spec->{'default'}
|
104
|
4 |
14 |
if exists $spec->{'default'}
|
107
|
7 |
11 |
if $spec->{'type'}
|
110
|
2 |
11 |
if ($self->slurpy) { }
|
111
|
1 |
1 |
if ref $self->slurpy
|
243
|
2 |
2 |
$first_optional_idx == -1 ? :
|
|
4 |
0 |
if $first_optional_idx != 0
|
247
|
2 |
2 |
unless $self->slurpy
|
257
|
0 |
6 |
if exists $spec->{'default'}
|
260
|
1 |
5 |
if $spec->{'type'}
|
263
|
1 |
3 |
if (ref $self->slurpy)
|
282
|
2 |
4 |
ref $spec ? :
|
283
|
2 |
4 |
if ($spec->{'optional'}) { }
|
|
0 |
4 |
elsif ($in_optional) { }
|
364
|
0 |
4 |
if ref $default and &reftype($default) ne 'CODE'
|
370
|
1 |
3 |
if (ref $default) { }
|
375
|
2 |
1 |
if (defined $default) { }
|
376
|
1 |
1 |
if (&looks_like_number($default)) { }
|
401
|
0 |
8 |
unless &blessed($type)
|
405
|
2 |
6 |
if $spec->{'optional'}
|
411
|
2 |
6 |
if $spec->{'optional'}
|
423
|
0 |
0 |
$type->can('can_be_inlined') ? :
|
|
10 |
0 |
$type->can('inline_assert') ? :
|
|
0 |
10 |
$type->can('can_inline_coercion_and_check') ? :
|
443
|
4 |
6 |
if ($type->has_coercion)
|
445
|
1 |
3 |
if ($coercion->can_be_inlined) { }
|
460
|
7 |
3 |
if ($type->can_be_inlined) { }
|
483
|
0 |
0 |
if ($type->can_inline_coercion_and_check) { }
|
484
|
0 |
0 |
if ($type->has_coercions) { }
|
500
|
0 |
0 |
if ($c->can_be_inlined) { }
|
540
|
0 |
0 |
if ($type->has_coercion)
|
566
|
0 |
0 |
$type->can_be_inlined ? :
|