blib/lib/Indent/Word.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 12 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
71 | 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) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
83 | 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 |