Condition Coverage

lib/App/Sandy/PieceTable.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
100 1 15 0 defined $piece and @{$piece->{'annot2'};}
16 0 0 defined $piece and @{$piece->{'annot2'};} and $pos == $piece->{'pos'}
142 0 0 0 defined $next_piece and @{$piece->{'annot2'};}
198 2 0 0 @{$piece->{'annot2'};} and $pos == $piece->{'pos'}
291 1980 181 249 $piece and $self->_do_overlap($start, $len, $piece->{'offset'}, $piece->{'len'})
299 0 181 249 $start1 <= $end2 && $start2 <= $end1
341 31 42 2193 $pos >= $start && $pos <= $end