| line |
true |
false |
branch |
|
34
|
7 |
14 |
if $err |
|
50
|
9 |
6 |
if (my $blessed = builtin::blessed($constraint)) { } |
|
|
5 |
1 |
elsif (my $reftype = builtin::reftype($constraint)) { } |
|
51
|
2 |
7 |
if $constraint->isa("Type::Tiny") |
|
52
|
6 |
1 |
if $constraint->can("check") |
|
53
|
0 |
1 |
if grep {$constraint->isa($_);} @ALLOWED_CONSTRAINT_CLASSES |
|
57
|
4 |
1 |
if ($reftype eq 'CODE') { } |
|
|
1 |
0 |
elsif ($reftype eq 'HASH') { } |
|
72
|
1 |
1 |
if $type->is_anon |
|
96
|
0 |
1 |
unless eval "require $blessed" |
|
110
|
1 |
20 |
unless defined $name |
|
111
|
1 |
19 |
if $FORBIDDEN_NAME{$name} |
|
112
|
1 |
18 |
if $caller->can($name) |
|
115
|
1 |
17 |
unless defined $constraint |
|
117
|
3 |
14 |
if $err |
|
120
|
1 |
13 |
$name =~ /^_/ ? : |
|
137
|
13 |
1 |
unless ($kura_item->{'is_private'}) |