blib/lib/LaTeX/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 22 | 72.7 |
line | true | false | branch |
---|---|---|---|
63 | 0 | 1 | unless open FILE, $$self{'file'} |
67 | 1 | 25 | if (/^%/) |
87 | 1 | 0 | unless (defined $$self{'content'}) |
94 | 24 | 1 | if ($content =~ /^(.*?)([\\\{])/s) { } |
98 | 11 | 13 | if ($prematch ne '') |
104 | 13 | 11 | if ($match eq '{') { } |
11 | 0 | elsif ($match eq '\\') { } | |
110 | 11 | 0 | if ($content =~ /^(\\[\w\\]+)/) { } |
0 | 0 | elsif ($content =~ /^(\\.)/) { } | |
150 | 2 | 270 | if ($c eq $begin) |
153 | 15 | 257 | if ($c eq $end) |