line |
true |
false |
branch |
62
|
0 |
0 |
unless $module_string or $module_string =~ /^[\w:]+$/ |
588
|
6 |
18 |
if ($arg eq 1 or $arg eq 0) { } |
592
|
0 |
6 |
if ($last_idx < 1) |
598
|
6 |
6 |
$transform_key_ref ? : |
610
|
3 |
0 |
if defined $_ |
611
|
3 |
0 |
if defined $_ |
|
1 |
1 |
$transform_key_ref ? : |
629
|
1 |
230 |
unless ($rule_ref) |
635
|
64 |
166 |
if (defined $$rule_ref{-'as'}) |
636
|
0 |
64 |
unless _check_parent_rules($$rule_ref{-'as'}, $_) |
649
|
2 |
3 |
unless ($ref_type) |
656
|
1 |
2 |
unless ($get_contents_ref) |
670
|
22 |
3 |
defined $_ ? : |
673
|
0 |
25 |
if $message_store |
714
|
0 |
12 |
if ($container_type eq 'ARRAY') { } |
|
12 |
0 |
elsif ($container_type eq 'HASH') { } |
736
|
5 |
0 |
$trouble_level > $trouble_accepted ? : |
742
|
39 |
2 |
if not $message_store && $mode or $mode ne '-clear' |
755
|
0 |
8 |
unless (is_valid('mode', -'Enum', ['die', 'warn', 'silent', 'off'], $mode)) |
762
|
0 |
8 |
if ($mode eq 'die') { } |
|
3 |
5 |
elsif ($mode eq 'warn') { } |
|
3 |
2 |
elsif ($mode eq 'silent') { } |
|
2 |
0 |
elsif ($mode eq 'off') { } |
799
|
2 |
17 |
$$rule_store{$rule} ? : |
804
|
1 |
15 |
if (rule_known($rule_name)) |
845
|
1 |
2 |
if '' eq shift() |
863
|
3 |
0 |
if defined $_ |
875
|
3 |
0 |
if defined $_ |
914
|
1 |
2 |
if ($type eq 'String') |
991
|
3 |
5 |
if $special_rule |
993
|
3 |
5 |
unless (defined $$validation_options_ref[$value_pos]) |
996
|
3 |
0 |
if (defined $default and $value_pos >= 0) |
1004
|
6 |
2 |
if ($correction_action) |
1019
|
5 |
1 |
if ($correction_done) { } |
1021
|
5 |
0 |
if ($value_pos >= 0) |
1022
|
4 |
1 |
unless ($validation_options_copied) |
1030
|
1 |
0 |
defined $result ? : |
1049
|
2 |
88 |
if (not is_valid('key', 'Scalar', $first_arg)) { } |
1062
|
27 |
63 |
unless (is_valid('option_ref', 'HashRef', $hash_ref)) |
1069
|
53 |
37 |
unless (defined $value) |
1070
|
0 |
53 |
if ($option_args_ref) |
1083
|
6 |
900 |
if ($off) |
1085
|
5 |
1 |
if $$special_rules{$_[1]} |
1086
|
6 |
0 |
if $value_pos >= 0 |
1092
|
0 |
900 |
unless ($rule_info) |
1100
|
250 |
650 |
unless ($rule_ref) |
1103
|
199 |
51 |
if $special_rule |
1107
|
2 |
49 |
if (not $ref_type) { } |
|
34 |
15 |
elsif ($ref_type eq 'HASH') { } |
|
15 |
0 |
elsif ($ref_type eq 'CODE') { } |
1135
|
153 |
546 |
defined $$rule_ref{-'as'} ? : |
1139
|
105 |
593 |
unless ($parent_is_valid and $$rule_ref{-'where'}()) |
1140
|
97 |
8 |
defined $_ ? : |
1142
|
11 |
94 |
if $message_store |
1145
|
61 |
3 |
if defined $result |