Condition Coverage

blib/lib/Elasticsearch/Role/Bulk.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

line !l l&&!r l&&r condition
177 0 0 0 $$results{'errors'} and $on_error || $on_conflict
188 0 0 0 $on_conflict && $error =~ /$Conflict/
0 0 0 $on_error && &$on_error($action, $result, $j)

or 2 conditions

line l !l condition
111 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
132 0 0 0 $metadata{'_index'} or $self->_bulk_args->{'index'}
134 0 0 0 $metadata{'_type'} or $self->_bulk_args->{'type'}
145 0 0 0 delete $$params{'_source'} || delete $$params{'source'} || throw('Param', "Missing <source> for action <$action>: " . $serializer->encode($orig))
177 0 0 0 $on_error || $on_conflict
0 0 0 $on_success or $$results{'errors'} and $on_error || $on_conflict