lib/MKDoc/Text/Structured/P.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 18 | 19 | 94.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MKDoc::Text::Structured::P; | ||||||
2 | 20 | 20 | 10464 | use MKDoc::Text::Structured::Inline; | |||
20 | 57 | ||||||
20 | 931 | ||||||
3 | 20 | 20 | 212 | use warnings; | |||
20 | 38 | ||||||
20 | 660 | ||||||
4 | 20 | 20 | 109 | use strict; | |||
20 | 30 | ||||||
20 | 2546 | ||||||
5 | |||||||
6 | sub process | ||||||
7 | { | ||||||
8 | 84 | 84 | 0 | 125 | my $self = shift; | ||
9 | 84 | 121 | my $text = join "\n", @{$self->{lines}}; | ||||
84 | 347 | ||||||
10 | 84 | 333 | $text = MKDoc::Text::Structured::Inline::process ($text); | ||||
11 | 84 | 510 | return " $text "; |
||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |