Branch Coverage

blib/lib/DBIx/Class/ResultSetColumn.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
42 0 717 if ref $class
44 0 717 unless $column
57 705 12 defined $as_index ? :
61 4 4307 if ($_ =~ /^ \Q$alias\E \. ([^\.]+) $ /x) { }
4307 0 elsif (not $_ =~ /\./) { }
74 6 711 if (scalar grep({not exists $$colmap{$_->[0]};} $rsrc->schema->storage->_extract_order_criteria($orig_attrs->{'order_by'})))
96 3 695 if (not $orig_attrs->{'group_by'} and $orig_attrs->{'collapse'})
98 3 0 if ($colmap->{$select} and $rsrc->_identifying_column_set([$colmap->{$select}])) { }
418 3 14 wantarray ? :
444 3 23 if ($rs->_resolved_attrs->{'group_by'})
452 1 25 if wantarray
472 0 0 if (ref $self and $self->{'_parent_resultset'}) { }
498 5 694 if ($self->{'_parent_resultset'}{'attrs'}{'distinct'})
503 2 3 unless ($cols{$select})