Branch Coverage

blib/lib/Validator/LIVR.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
80 0 4 unless ref $rule_builder eq 'CODE'
91 0 0 unless $$alias{'name'}
112 194 136 if ref $field_rules ne 'ARRAY'
129 60 105 unless $$self{'is_prepared'}
131 1 164 if (ref $data ne 'HASH')
136 2 162 if $$self{'is_auto_trim'}
142 0 370 unless $validators and @$validators
150 96 370 exists $result{$field_name} ? :
156 122 344 if ($err_code) { }
340 4 elsif (exists $$data{$field_name}) { }
166 59 105 if (keys %errors) { }
185 0 6036 unless ref $rule_builder eq 'CODE'
196 0 16 unless $$alias{'name'}
213 199 201 if (ref $livr_rule eq 'HASH') { }
217 103 96 unless ref $args eq 'ARRAY'
228 0 400 unless $$self{'validator_builders'}{$name}
236 0 16 unless $$alias{'name'}
237 0 16 unless $$alias{'rules'}
250 21 11 if ($result) { }
264 6 4 if (not $ref_type and $data) { }
4 0 elsif ($ref_type eq 'HASH') { }
0 0 elsif ($ref_type eq 'ARRAY') { }