Branch Coverage

lib/File/DataClass/ResultSet.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
282 2 3 unless my $result = $self->$_find($id)
293 8 0 &is_hashref($args) ? :
295 3 5 unless ($result = $self->$_find($id))
296 2 1 unless $optional
301 0 5 unless $result->delete
305 5 1 $res ? :
331 2 0 &is_hashref($args) ? :
346 0 2 unless my $list = $args->{'list'}
349 1 1 unless $items->[0]
357 1 0 $res ? :
379 0 2 unless my $list = $args->{'list'}
382 1 1 unless $items->[0]
390 1 0 $res ? :
396 3 1 if (my $id = $args->{'id'} // $args->{'name'})