blib/lib/Text/MicroMason/DoubleQuote.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 10 | 12 | 83.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Text::MicroMason::DoubleQuote; | ||||||
2 | |||||||
3 | 1 | 1 | 588 | use strict; | |||
1 | 3 | ||||||
1 | 106 | ||||||
4 | |||||||
5 | ###################################################################### | ||||||
6 | |||||||
7 | # ( $type, $value ) = $mason->lex_token(); | ||||||
8 | sub lex_token { | ||||||
9 | 10 | 50 | 10 | 0 | 44 | / (.*) /xcogs ? ( expr => do { my $x = $1; $x =~ s/\|/\\|/g; "qq|$x|" } ) : () | |
10 | 27 | ||||||
10 | 23 | ||||||
10 | 45 | ||||||
10 | } | ||||||
11 | |||||||
12 | ###################################################################### | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |