Branch Coverage

blib/lib/DBIx/Class/FilterColumn.pm
Criterion Covered Total %
branch 32 46 69.5


line true false branch
15 1 5 if defined $colinfo->{'_inflate_info'} and $self->isa('DBIx::Class::InflateColumn')
17 0 5 unless ref $attrs eq 'HASH'
21 1 1 unless $attrs->{'filter_from_storage'} or $attrs->{'filter_to_storage'}
25 0 4 defined $acc ? :
32 0 14 if &is_literal_value($value)
36 0 14 unless exists $info->{'_filter_info'}
40 13 1 defined $filter ? :
46 4 16 if &is_literal_value($value)
50 0 16 unless exists $info->{'_filter_info'}
54 13 3 defined $unfilter ? :
61 0 33 unless exists $self->result_source->columns_info->{$col}{'_filter_info'}
64 19 14 if exists $self->{'_filtered_column'}{$col}
81 4 0 if not exists $self->{'_column_data'}{$col} and exists $self->{'_filtered_column'}{$col}
95 0 11 unless $self->{'_filtered_column'}
112 0 13 unless $self->{'_filtered_column'}
128 14 3 if exists $self->{'_filtered_column'}{$col}
138 10 12 if (not $self->in_storage or $self->is_column_changed($col)) { }
158 5 4 unless $data
159 4 0 if (exists $colinfos->{$col}{'_filter_info'})
165 0 4 unless exists $self->{'_column_data'}{$col}
176 0 7 unless my $rsrc = $data->{'-result_source'}
182 0 7 unless $data
183 6 0 if (exists $colinfos->{$col}{'_filter_info'})