line |
true |
false |
branch |
22
|
5 |
2 |
unless $self |
24
|
6 |
1 |
unless %opts |
36
|
4 |
20 |
if ($typetype) |
37
|
1 |
3 |
if $typetype ne 'CODE' |
45
|
1 |
19 |
if none sub {
/^$type$/;
}
, @types |
47
|
2 |
17 |
if (not defined $value and $type ne 'Bool') |
52
|
3 |
14 |
if ($type eq 'Str') { } |
|
2 |
12 |
elsif ($type eq 'Int') { } |
|
2 |
10 |
elsif ($type eq 'Num') { } |
|
4 |
6 |
elsif ($type eq 'ArrayRef') { } |
|
4 |
2 |
elsif ($type eq 'HashRef') { } |
|
2 |
0 |
elsif ($type eq 'Bool') { } |
62
|
2 |
2 |
if ($reftype and $reftype eq 'ARRAY') { } |
70
|
2 |
2 |
if ($reftype and $reftype eq 'HASH') { } |
78
|
0 |
2 |
if ($value) { } |