| blib/lib/App/Greple/xlate/Text.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 28 | 82.1 |
| line | true | false | branch |
|---|---|---|---|
| 106 | 8 | 60 | if (not $paragraph) { } |
| 138 | 30 | 8 | if ($obj->attr->{'paragraph'}) |
| 144 | 11 | 3 | s/\A(\s+)//u ? : |
| 5 | 9 | s/(\h+)$//u ? : | |
| 150 | 2 | 6 | if (@space == @text + 1) |
| 153 | 0 | 8 | if @text != @space |
| 156 | 11 | 3 | if length $head > 0 |
| 157 | 5 | 9 | if length $tail > 0 |
| 168 | 4 | 26 | s/\A(\s+)//u ? : |
| 169 | 0 | 30 | s/(\h+)$//u ? : |
| 172 | 4 | 26 | if length $head |
| 173 | 0 | 30 | if length $tail |
| 181 | 38 | 0 | unless $obj->{'UNSTRIP'} |
| 182 | 38 | 0 | if (my $unstrip = $obj->{'UNSTRIP'}) |