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 5 120 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 88 0 1354 $self->{'schema'}{$key}{'optional'} and $self->{'schema'}{$key}{'optional'}
259 0 44 104 exists $self->{'schema'}{$match_key} and $self->{'schema'}{$match_key}{'regex'}
287 147 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 98 187 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 209 $p{'data'} // undef
21 191 $p{'verbose'} // undef
209 3 $p{'depth'} // 0
104 108 $p{'indent'} // 4
209 3 $p{'parent_keys'} // ["root"]
285 153 0 $self->{'data'}{$key} // "(undefined)"

or 3 conditions

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