Condition Coverage

blib/lib/MorboDB/Cursor.pm
Criterion Covered Total %
condition 17 45 37.7


and 3 conditions

line !l l&&!r l&&r condition
104 0 0 0 ref $f and ref $f eq 'HASH'
159 0 1 3 $order and ref $order eq 'Tie::IxHash'
0 0 1 $order and ref $order eq 'HASH'
273 9 26 0 $self->started_iterating and not $self->has_next
323 14 43 0 not $self->_has_sort and $self->_skip
57 0 0 not $self->_has_sort and $self->_skip and $skipped < $self->_skip
334 70 23 7 $self->_limit and scalar @docs == $self->_limit
348 0 0 17 defined $$doc_a{$attr} and not ref $$doc_a{$attr}
0 0 17 defined $$doc_a{$attr} and not ref $$doc_a{$attr} and defined $$doc_b{$attr}
0 0 17 defined $$doc_a{$attr} and not ref $$doc_a{$attr} and defined $$doc_b{$attr} and not ref $$doc_b{$attr}
350 2 0 15 $$doc_a{$attr} =~ /^\d+(\.\d+)?$/ and $$doc_b{$attr} =~ /^\d+(\.\d+)?$/
378 0 0 0 defined $$doc_a{$attr} and not defined $$doc_b{$attr}
379 0 0 0 defined $$doc_b{$attr} and not defined $$doc_a{$attr}
399 4 0 0 $self->_limit and scalar @docs > $self->_limit

or 3 conditions

line l !l&&r !l&&!r condition
287 0 0 0 exists $self->_fields->{$_} or $_ eq '_id'