Branch Coverage

blib/lib/DBR/Query/Part/Compare.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
43 0 830 unless ref($field) =~ /^DBR::Config::Field/
44 0 830 unless ref $value eq 'DBR::Query::Part::Value'
50 590 240 if ($$value{'is_number'}) { }
51 0 590 unless $num_operators{$operator}
53 0 240 unless $str_operators{$operator}
57 0 830 if ($operator eq 'between' or $operator eq 'notbetween') { }
85 745 elsif ($value->count != 1) { }
25 720 elsif ($value->is_null) { }
58 0 0 unless $value->count == 2
61 84 1 if $operator eq 'eq'
62 1 84 if $operator eq 'not'
64 25 0 if $operator eq 'eq'
65 0 25 if $operator eq 'not'