| line |
true |
false |
branch |
|
29
|
2 |
1 |
exists $values->{'of'} ? : |
|
30
|
0 |
3 |
unless defined $of |
|
31
|
1 |
2 |
unless (Types::TypeTiny::is_TypeTiny($of)) |
|
40
|
0 |
3 |
$type->has_coercion ? : |
|
|
1 |
2 |
exists $values->{'where'} ? : |
|
46
|
2 |
1 |
$INC{'Type/Registry.pm'} ? : |
|
|
3 |
0 |
unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'} |
|
53
|
2 |
184 |
unless @_ |
|
57
|
2 |
182 |
unless Types::TypeTiny::is_TypeTiny($param) |
|
62
|
9 |
173 |
if @_ |
|
63
|
4 |
178 |
if @_ |
|
67
|
173 |
9 |
if ($min == 0 and $max == -1) { } |
|
|
0 |
9 |
elsif (&Type::Tiny::_USE_MOUSE() and $param->_has_xsub and $min == 0 and $max == -1) { } |
|
69
|
143 |
30 |
if $paramname |
|
79
|
0 |
0 |
if $maker |
|
88
|
173 |
9 |
if $min == 0 and $max == -1 |
|
93
|
10 |
12 |
if @$array < $min |
|
97
|
5 |
4 |
if $max == -1 |
|
101
|
0 |
0 |
if @$array > $max |
|
105
|
0 |
4 |
if $min == 0 |
|
109
|
2 |
8 |
if @$array < $min |
|
110
|
3 |
5 |
if @$array > $max |
|
119
|
9 |
173 |
if @_ |
|
120
|
4 |
178 |
if @_ |
|
124
|
173 |
9 |
if ($min == 0 and $max == -1) |
|
129
|
10 |
172 |
unless $param->can_be_inlined |
|
133
|
1007 |
394 |
if $xsubname and not $Type::Tiny::AvoidCallbacks |
|
136
|
106 |
288 |
if ($min != 0) |
|
139
|
36 |
358 |
if ($max > 0) |
|
144
|
4 |
390 |
if $param->{'uniq'} eq &Types::Standard::Any()->{'uniq'} |
|
157
|
0 |
3 |
if @{$type->parameters;} > 1 |
|
158
|
0 |
3 |
if @{$type->parameters;} > 2 |
|
160
|
0 |
3 |
if ($min != 0 and @$value < $min) |
|
167
|
0 |
3 |
if ($max > 0 and @$value > $max) |
|
176
|
4 |
3 |
if $param->check($item) |
|
190
|
32 |
25 |
unless $param->has_coercion |
|
195
|
11 |
14 |
if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { } |
|
221
|
72 |
0 |
@_ ? : |
|
224
|
1 |
279 |
unless $coercable_item->check($item) |