line |
true |
false |
branch |
52
|
19 |
0 |
if ($type->can('compiled_check')) { } |
|
0 |
0 |
elsif (my $check_method = $type->can('check')) { } |
54
|
0 |
19 |
unless ref $check eq 'CODE' |
69
|
7 |
12 |
if (not $has_coercion or $type->$has_coercion) |
70
|
7 |
0 |
if ($type->can('coercion')) |
72
|
7 |
0 |
if ($coercion_obj->can('compiled_coercion')) { } |
|
0 |
0 |
elsif (my $coerce_method = $coercion_obj->can('coerce')) { } |
74
|
0 |
7 |
unless ref $coercion eq 'CODE' |
86
|
0 |
7 |
unless (defined $coercion) |
87
|
0 |
0 |
if (my $coerce_method = $type->can('coerce')) { } |
|
0 |
0 |
elsif ($has_coercion) { } |
98
|
0 |
19 |
if ($type->can('message') and ref(my $message = $type->message) eq 'CODE') { } |
|
19 |
0 |
elsif (my $get_message_method = $type->can('get_message')) { } |
151
|
0 |
0 |
if @_ |
163
|
2500 |
125 |
unless @_ |
184
|
24 |
233 |
if (defined $coerce) |
187
|
1 |
23 |
if defined $err |
191
|
19 |
237 |
unless &$check($value) |
204
|
20 |
20 |
if $mutates |
209
|
5 |
180 |
if (ref $code eq 'CODE') { } |
217
|
5 |
180 |
if ($callback and not $mutates) { } |
222
|
180 |
0 |
!$callback || $mutates ? : |
|
105 |
75 |
$mutates ? : |
239
|
0 |
180 |
unless $code = eval "sub { $code }" |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
1 |
0 |
defined wantarray ? : |
|
0 |
1 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
2 |
0 |
defined wantarray ? : |
|
0 |
2 |
wantarray ? : |
|
0 |
1 |
wantarray ? : |
|
3 |
0 |
defined wantarray ? : |
|
0 |
3 |
wantarray ? : |
|
0 |
2 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
4 |
0 |
defined wantarray ? : |
|
0 |
4 |
wantarray ? : |
|
0 |
2 |
wantarray ? : |
|
2 |
0 |
defined wantarray ? : |
|
0 |
2 |
wantarray ? : |
|
0 |
1 |
wantarray ? : |
|
7 |
0 |
defined wantarray ? : |
|
0 |
7 |
wantarray ? : |
|
0 |
3 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
99 |
defined wantarray ? : |
|
0 |
99 |
wantarray ? : |
|
0 |
98 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
defined wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
wantarray ? : |
|
5 |
99 |
defined wantarray ? : |
|
0 |
104 |
wantarray ? : |
|
0 |
5 |
wantarray ? : |
|
8 |
0 |
defined wantarray ? : |
|
0 |
8 |
wantarray ? : |
|
0 |
5 |
wantarray ? : |
|
5 |
0 |
defined wantarray ? : |
|
0 |
5 |
wantarray ? : |
|
0 |
3 |
wantarray ? : |