Condition Coverage

blib/lib/Indent/Word.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
81 3 4 17 $self->_length($second) >= $self->{'line_size'} and $second =~ /^\s*\S+\s+/ms
7 2 15 $self->_length($second) >= $self->{'line_size'} and $second =~ /^\s*\S+\s+/ms and $last_second_length != $self->_length($second)

or 3 conditions

line l !l&&r !l&&!r condition
93 4 1 10 not $first or $self->_length($first) < $self->_length($indent)
5 0 10 not $first or $self->_length($first) < $self->_length($indent) or $first =~ /^$indent\s*$/ms