| blib/lib/Pod/Loom/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 20 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 84 | 7 | 12 | 0 | not $collector and $cmd =~ /^(\w+)-(\S+)/ |
| 19 | 0 | 0 | not $collector and $cmd =~ /^(\w+)-(\S+)/ and $$self{'collect'}{$1} | |
| 90 | 7 | 0 | 12 | $cmd =~ /^(begin|for)$/ and $$event{'content'} =~ s/^\s*(Pod::Loom\b\S*)\s*// |
| 7 | 0 | 0 | $cmd eq 'end' and $$event{'content'} =~ /^\s*Pod::Loom\b/ |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 0 | 12 | $$self{'collect'}{$1} ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 140 | 2 | 11 | 0 | $$self{'encoding'} ||= find_encoding('iso-8859-1') |
| 156 | 13 | 0 | 0 | (shift())->{'encoding'} ||= find_encoding('iso-8859-1') |