lib/MKDoc/Text/Structured/H2.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::H2; | ||||||
2 | 20 | 20 | 98 | use MKDoc::Text::Structured::Inline; | |||
20 | 35 | ||||||
20 | 475 | ||||||
3 | 20 | 20 | 102 | use warnings; | |||
20 | 37 | ||||||
20 | 444 | ||||||
4 | 20 | 20 | 92 | use strict; | |||
20 | 37 | ||||||
20 | 2061 | ||||||
5 | |||||||
6 | |||||||
7 | sub process | ||||||
8 | { | ||||||
9 | 5 | 5 | 0 | 10 | my $self = shift; | ||
10 | 5 | 10 | my $text = join "\n", @{$self->{lines}}; | ||||
5 | 34 | ||||||
11 | 5 | 25 | $text = MKDoc::Text::Structured::Inline::process ($text); | ||||
12 | 5 | 30 | return "$text"; |
||||
13 | } | ||||||
14 | |||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | |||||||
19 | __END__ |