Condition Coverage

lib/Data/Processor/Validator.pm
Criterion Covered Total %
condition 34 51 66.6


and 3 conditions

line !l l&&!r l&&r condition
57 1 116 0 $self->{'schema_keys'}{$a} and $self->{'schema'}{$self->{'schema_keys'}{$a}}{'order'}
59 0 0 0 $self->{'schema_keys'}{$b} and $self->{'schema'}{$self->{'schema_keys'}{$b}}{'order'}
95 3 2 0 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$schema_key}{'array'}
115 4 0 1 not defined $member and $self->{'schema'}{$schema_key}{'allow_empty'}
202 81 0 1242 $self->{'schema'}{$key}{'optional'} and $self->{'schema'}{$key}{'optional'}
259 0 44 97 exists $self->{'schema'}{$match_key} and $self->{'schema'}{$match_key}{'regex'}
287 131 3 3 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$schema_key}{'array'}
293 7 0 0 not defined $elem and $self->{'schema'}{$schema_key}{'allow_empty'}
331 91 166 14 exists $self->{'schema'}{$key} and $self->{'schema'}{$key}{'value'}
341 13 0 1 ref $self->{'data'}{$key} eq ref [] and $self->{'schema'}{$key}{'array'}
346 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"]
285 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