Condition Coverage

lib/Data/Processor/Validator.pm
Criterion Covered Total %
condition 32 45 71.1


and 3 conditions

line !l l&&!r l&&r condition
85 3 2 0 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$schema_key}{'array'}
105 4 0 1 not defined $member and $self->{'schema'}{$schema_key}{'allow_empty'}
184 81 0 1163 $self->{'schema'}{$key}{'optional'} and $self->{'schema'}{$key}{'optional'}
241 0 42 97 exists $self->{'schema'}{$match_key} and $self->{'schema'}{$match_key}{'regex'}
269 131 3 3 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$schema_key}{'array'}
275 7 0 0 not defined $elem and $self->{'schema'}{$schema_key}{'allow_empty'}
313 91 167 14 exists $self->{'schema'}{$key} and $self->{'schema'}{$key}{'value'}
323 13 0 1 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$key}{'array'}
328 5 0 0 not defined $elem and $self->{'schema'}{$key}{'allow_empty'}

or 2 conditions

line l !l condition
29 3 188 $p{'data'} // undef
14 177 $p{'verbose'} // undef
188 3 $p{'depth'} // 0
92 99 $p{'indent'} // 4
188 3 $p{'parent_keys'} // ['root']
267 137 0 $self->{'data'}{$key} // '(undefined)'

or 3 conditions

line l !l&&r !l&&!r condition
29 191 0 0 $schema // confess('cannot validate without "schema"')
92 0 99 $p{'errors'} // 'Data::Processor::Error::Collection'->new