Branch Coverage

blib/lib/DBIx/Custom/Where.pm
Criterion Covered Total %
branch 38 42 90.4


line true false branch
23 3 314 unless $self->can($attr)
35 42 123 unless ref $clause eq "ARRAY"
36 6 159 unless @$clause
42 165 0 $c eq 'a-zA-Z0-9_' ? :
47 0 165 exists $ENV{'DBIX_CUSTOM_TAG_PARSE'} ? :
51 129 33 if @$where
60 180 270 if (ref $clause eq 'ARRAY') { }
68 3 177 unless $VALID_OPERATIONS{$op}
74 186 99 if $pushed
75 186 99 if $pushed
77 135 42 if $where->[-1] eq $op
80 42 135 if ($where->[-1] eq '(') { }
82 0 42 if ($where->[-1] || '') eq $op
103 9 261 unless (defined $column)
114 243 18 if (ref $param eq 'HASH') { }
18 0 elsif (not defined $param) { }
115 204 39 if (exists $param->{$column})
116 102 102 if (ref $param->{$column} eq 'ARRAY') { }
99 3 elsif ($count == 1) { }
118 54 48 if exists $param->{$column}[$count - 1] and ref $param->{$column}[$count - 1] ne "DBIx::Custom::NotExists"
122 153 90 if $pushed