Condition Coverage

blib/lib/PONAPI/DAO/Request/Role/HasDataMethods.pm
Criterion Covered Total %
condition 17 20 85.0


and 3 conditions

line !l l&&!r l&&r condition
10 2 3 82 $self->check_data_has_type and $self->check_data_type_match
5 2 80 $self->check_data_has_type and $self->check_data_type_match and $self->check_data_attributes
45 1 80 0 $e and exists $e->{'attributes'}
60 1 78 0 $e and exists $e->{'relationships'}
64 5 7 1 not $self->repository->has_one_to_many_relationship($type, $rel_type) and ref $e->{'relationships'}{$rel_type} eq 'ARRAY'
12 0 1 not $self->repository->has_one_to_many_relationship($type, $rel_type) and ref $e->{'relationships'}{$rel_type} eq 'ARRAY' and @{$e->{'relationships'}{$rel_type};} > 1

or 2 conditions

line l !l condition
20 85 1 $_ || ''