Branch Coverage

blib/lib/Validator/LIVR.pm
Criterion Covered Total %
branch 34 46 73.9


line true false branch
86 0 4 unless ref $rule_builder eq 'CODE'
97 0 0 unless $alias->{'name'}
118 386 201 if ref $field_rules ne 'ARRAY'
135 71 145 unless $self->{'is_prepared'}
137 1 215 if (ref $data ne 'HASH')
142 2 213 if $self->{'is_auto_trim'}
148 0 607 unless $validators and @$validators
157 132 607 exists $result{$field_name} ? :
162 256 483 if ($err_code) { }
464 19 elsif (defined $field_result) { }
2 34 elsif (exists $data->{$field_name} and not exists $result{$field_name}) { }
174 88 127 if (keys %errors) { }
193 0 11075 unless ref $rule_builder eq 'CODE'
204 0 16 unless $alias->{'name'}
221 337 373 if (ref $livr_rule eq 'HASH') { }
225 195 142 unless ref $args eq 'ARRAY'
236 0 710 unless $self->{'validator_builders'}{$name}
244 0 16 unless $alias->{'name'}
245 0 16 unless $alias->{'rules'}
258 21 11 if ($result) { }
272 6 4 if (not $ref_type and $data) { }
4 0 elsif ($ref_type eq 'HASH') { }
0 0 elsif ($ref_type eq 'ARRAY') { }