Condition Coverage

blib/lib/Acme/TextLayout.pm
Criterion Covered Total %
condition 26 33 78.7


and 3 conditions

line !l l&&!r l&&r condition
229 8382 33 0 $C eq ' ' and defined $chars{$C}
8415 0 0 $C eq ' ' and defined $chars{$C} and $chars{$C} == 1
256 102 32 48 $_ =~ /$char/ and not defined $top
273 46 56 80 defined $first and $n >= 0
290 46 56 80 defined $last and $n >= 0
475 20 20 0 $self->_in_x(\@r, \@other) and $other[0] == $r[0] - 1 || $other[1] == $r[0] - 1
503 34 38 0 $self->_in_x(\@r, \@other) and $other[0] == $r[0] + 1 || $other[1] == $r[0] + 1
530 36 5 7 $self->_in_y(\@r, \@other) and $other[3] == $r[2] - 1
557 52 7 5 $self->_in_y(\@r, \@other) and $other[2] == $r[3] + 1

or 3 conditions

line l !l&&r !l&&!r condition
475 6 0 14 $other[0] == $r[0] - 1 || $other[1] == $r[0] - 1
503 9 0 29 $other[0] == $r[0] + 1 || $other[1] == $r[0] + 1