Branch Coverage

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


line true false branch
15 0 116 if (@_ == 2) { }
116 0 elsif (@_ == 3) { }
27 0 171 if defined $operator
34 0 0 if @{$self->{'operands'};} >= 2
41 0 0 if @{$self->{'operands'};} >= 2
49 0 0 if defined $operand
57 0 0 if defined $operand
70 228 0 if (&blessed($arg) and $arg->can('to_filter')) { }
88 16 41 unless $options
93 57 0 unless $delim
100 114 0 if (&blessed($arg) and $arg->can('to_SQL')) { }
103 14 100 if ($@)
110 0 0 if ($placeholder) { }
120 42 15 if (wantarray) { }
141 0 171 if (@{$self->{'operands'};} != 2)
145 0 171 if not $self->operator