| blib/lib/Data/TOON/Decoder.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 45 | 48.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 22 | 0 | 47 | 0 | @lines and $lines[-1] eq "" |
| 107 | 3 | 17 | 10 | @non_empty == 1 and not $first =~ /:/u |
| 225 | 12 | 2 | 28 | $i < @fields and $i < @values |
| 376 | 29 | 0 | 1 | $value =~ /^[+-]?0\d/u and not $value =~ /^[+-]?0\./u |
| line | l | !l | condition |
|---|---|---|---|
| 12 | 0 | 47 | $opts{'strict'} // 1 |
| 0 | 47 | $opts{'max_depth'} // 100 | |
| 117 | 140 | 0 | $target_depth //= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 40 | 0 | 0 | 234 | not defined $line or $line =~ /^\s*$/u |
| 69 | 0 | 0 | 0 | not $line or $line =~ /^\s*$/u |
| 130 | 0 | 0 | 149 | not $line or $line =~ /^\s*$/u |
| 168 | 106 | 0 | 28 | not $rest or $rest =~ /^\s*$/u |
| 204 | 0 | 0 | 14 | not $line or $line =~ /^\s*$/u |
| 240 | 0 | 0 | 3 | not $peek_line or $peek_line =~ /^\s*$/u |
| 268 | 0 | 0 | 7 | not $line or $line =~ /^\s*$/u |
| 302 | 0 | 0 | 4 | not $next_line or $next_line =~ /^\s*$/u |
| 308 | 2 | 0 | 2 | $next_depth < $depth + 1 or $next_depth > $depth + 1 |