Condition Coverage

blib/lib/Catmandu/Store/MongoDB/CQL.pm
Criterion Covered Total %
condition 21 30 70.0


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 2 $self->mapping and $self->mapping->{'default_relation'}
76 0 0 2 $self->mapping and $self->mapping->{'default_index'}
89 0 35 0 $self->mapping and $self->mapping->{'strip_separating_underscores'}
97 30 2 1 ref $op and $op->{'field'}
106 30 2 1 ref $op and $op->{'filter'}
122 30 2 1 ref $op and $op->{'cb'}

or 3 conditions

line l !l&&r !l&&!r condition
139 12 0 23 $base eq '=' or $base eq 'scr'
265 2 2 4 $op eq '$and' or $op eq '$or'
289 4 0 20 index($value, '^') == 0 or rindex($value, '^') == length($value) - 1
4 0 20 index($value, '^') == 0 or rindex($value, '^') == length($value) - 1 or index($value, '*') >= 0