line |
true |
false |
branch |
10
|
7 |
6 |
if (ref $_[0] eq 'ARRAY') { } |
20
|
1 |
12 |
if not defined $value or $value eq '' |
22
|
6 |
6 |
unless grep {$value eq $_;} @$allowed_values |
33
|
2 |
8 |
if not defined $value or $value eq '' |
35
|
4 |
4 |
if length $value > $max_length |
46
|
2 |
10 |
if not defined $value or $value eq '' |
48
|
5 |
5 |
if length $value < $min_length |
59
|
2 |
6 |
if not defined $value or $value eq '' |
61
|
1 |
5 |
if length $value < $length |
62
|
2 |
3 |
if length $value > $length |
73
|
2 |
6 |
if not defined $value or $value eq '' |
75
|
1 |
5 |
if length $value < $min_length |
76
|
2 |
3 |
if length $value > $max_length |
86
|
2 |
8 |
$is_ignore_case ? : |
90
|
2 |
8 |
if not defined $value or $value eq '' |
92
|
4 |
4 |
unless $value =~ /$re/ |