Branch Coverage

blib/lib/DBIx/Class/Smooth/FilterItem.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
70 0 0 if ($repeats == 1) { }
0 0 elsif ($repeats > 1) { }
79 0 0 if (defined $self->left_hand_prefix)
89 0 0 unless ($self->left_hand_functions)
97 0 0 if ($self->get_part(0) =~ /\./u) { }
0 0 elsif ($self->resultset->result_source->has_column($self->get_part(0))) { }
110 0 0 if ($has_relationship and defined $possible_column and $self->resultset->result_source->relationship_info($possible_relation)->{'class'}->has_column($possible_column)) { }
0 0 elsif ($has_relationship and $self->value->$DBIx::Class::Smooth::FilterItem::_isa('DBIx::Class::Row')) { }
111 0 0 if ($self->value->$DBIx::Class::Smooth::FilterItem::_isa('DBIx::Class::Row'))
128 0 0 if ($part =~ /^ (\w+) \( ([^)]+) \) $/ux)
135 0 0 if ($self->resultset->can($method)) { }
142 0 0 unless (exists $lookup_result->{'value'})
146 0 0 if (exists $lookup_result->{'left_hand_function'})
149 0 0 if (exists $lookup_result->{'left_hand_prefix'})
152 0 0 if (exists $lookup_result->{'sql_operator'})
155 0 0 if (exists $lookup_result->{'operator'})
158 0 0 if (exists $lookup_result->{'quote_value'}) { }
164 0 0 if (scalar keys %$lookup_result)
170 0 0 if (not defined $self->left_hand_functions && scalar @{$self->left_hand_functions} || defined $self->left_hand_prefix and $self->quote_value) { }
173 0 0 if ($self->operator and $self->operator ne '=') { }
182 0 0 if ($self->left_hand_prefix)
187 0 0 if (exists $lhf->{'complete'}) { }
0 0 elsif (exists $lhf->{'name'}) { }
0 0 elsif (exists $lhf->{'start'} and exists $lhf->{'end'}) { }
198 0 0 $self->operator ? :
0 0 $self->sql_operator ? :
200 0 0 if ($self->quote_value) { }
202 0 0 ref $self->value eq 'ARRAY' ? :
206 0 0 ref $self->value eq 'ARRAY' ? :