| blib/lib/HTML/FromText.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 26 | 73.0 |
| line | l | !l | condition | |
|---|---|---|---|---|
| 83 | 145 | 11 | 0 | $$options{$_} and $self->$_ |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 332 | 166 | 11 | 9 | $open_space and $_ - $$open_space{'start'} > 1 |
| 351 | 1 | 17 | 18 | substr($line, $$spaces{$pos}{'end'}, 1) eq ' ' and not $key |
| 355 | 18 | 18 | 0 | $spots{$$spaces{$pos}{'start'}} and $key ne $$spaces{$pos}{'start'} |
| 369 | 0 | 1 | 17 | exists $spots{$$space{'start'}} and $spots{$$space{'end'}} |
| 405 | 14 | 5 | 0 | not $text =~ /^(\s+).+(?:\n\1.+)*$/ and $strict |
| 412 | 7 | 0 | 2 | $prev_para and $$prev_para{'html'} =~ /<(\w+)>/ |
| line | l | !l | condition |
|---|---|---|---|
| 27 | 38 | 1 | $options ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 62 | 0 | 39 | 0 | blessed $class || $class |