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 191 135 if ref $field_rules ne 'ARRAY'
129 60 105 unless $$self{'is_prepared'}
131 2 163 if (ref $data ne 'HASH')
136 2 161 if $$self{'is_auto_trim'}
142 0 366 unless $validators and @$validators
150 96 366 exists $result{$field_name} ? :
156 119 343 if ($err_code) { }
339 4 elsif (exists $$data{$field_name}) { }
166 58 105 if (keys %errors) { }
185 0 6036 unless ref $rule_builder eq 'CODE'
196 0 16 unless $$alias{'name'}
213 195 201 if (ref $livr_rule eq 'HASH') { }
217 103 92 unless ref $args eq 'ARRAY'
228 0 396 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') { }