| lib/Wiki/JSON/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 39 | 79.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 366 | 2 | 70 | 74 | not $options->{'is_nowiki'} and length $buffer |
| 574 | 21 | 8 | 7 | $options->{'is_italic'} && $options->{'is_bold'} |
| 1333 | 0 | 1 | 59 | defined $last_element and not ref $last_element |
| line | l | !l | condition |
|---|---|---|---|
| 342 | 103 | 123 | $i //= 0 |
| 343 | 103 | 123 | $buffer //= "" |
| 345 | 103 | 123 | $options //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 124 | 14 | 6 | 47 | $options->{'is_bold'} or $options->{'is_italic'} |
| 142 | 0 | 0 | 1 | $options->{'br_found'} or $options->{'element_found'} |
| 344 | 103 | 123 | 0 | $interrupt //= sub { return; } |
| 369 | 1 | 0 | 3 | $options->{'element_found'} or $options->{'br_found'} |
| 384 | 2 | 4 | 140 | $options->{'is_bold'} or $options->{'is_italic'} |
| 524 | 5 | 0 | 3 | length $buffer or not @$output |
| 1131 | 5 | 0 | 0 | $buffer || $link |
| 1239 | 1 | 1 | 5 | length $current_buffer or $needs_arg |