Branch Coverage

blib/lib/OPTiMaDe/Filter/AndOr.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
12 0 116 if (@_ == 2) { }
116 0 elsif (@_ == 3) { }
24 0 171 if defined $operator
31 0 0 if @{$self->{'operands'};} >= 2
38 0 0 if @{$self->{'operands'};} >= 2
46 0 0 if defined $operand
54 0 0 if defined $operand
67 228 0 if (&blessed($arg) and $arg->can('to_filter')) { }
85 16 41 unless $options
90 57 0 unless $delim
97 114 0 if (&blessed($arg) and $arg->can('to_SQL')) { }
100 14 100 if ($@)
107 0 0 if ($placeholder) { }
117 42 15 if (wantarray) { }
138 0 171 if (@{$self->{'operands'};} != 2)
142 0 171 if not $self->operator