Condition Coverage

blib/lib/Data/Model.pm
Criterion Covered Total %
condition 36 51 70.5


and 3 conditions

line !l l&&!r l&&r condition
83 0 4 5 exists $$schema{'driver'} && $$schema{'driver'}
104 82 1 0 $target and $model ne $target
145 2 366 272 $RUN_VALIDATION and $query
187 246 0 386 $key_array and ref $key_array
246 374 12 $key_array and ref $key_array and not defined $$key_array[0]
198 104 8 20 $query and ref $$query{'index'} eq 'HASH'
207 246 374 12 $key_array and not @{$key_array;}
264 1 0 51 $results and ref $results eq 'HASH'
292 28 533 12 @_ and not @{$query;}
311 116 0 174 exists $$iterator_options{'end'} and ref $$iterator_options{'end'} eq 'CODE'
352 529 0 12 ref $model and $model->isa('Data::Model::Row')
429 30 0 45 ref $row and $row->isa('Data::Model::Row')
493 45 0 52 ref $row and $row->isa('Data::Model::Row')

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 ref $self || $self
208 374 246 0 $key_array or $query
268 0 8 104 $$schema{'options'}{'bare_row'} or not $obj
421 194 0 0 ref $self || $self