blib/lib/Text/HikiDoc/Plugin/aa.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 18 | 19 | 94.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Text::HikiDoc::Plugin::aa; | ||||||
2 | |||||||
3 | 1 | 1 | 3 | use strict; | |||
1 | 1 | ||||||
1 | 24 | ||||||
4 | 1 | 1 | 8 | use warnings; | |||
1 | 1 | ||||||
1 | 26 | ||||||
5 | 1 | 1 | 3 | use base 'Text::HikiDoc::Plugin'; | |||
1 | 1 | ||||||
1 | 6 | ||||||
6 | |||||||
7 | sub to_html { | ||||||
8 | 2 | 2 | 1 | 2 | my $self = shift; | ||
9 | 2 | 50 | 6 | my $str = @_ ? join("\n",@_) : ''; | |||
10 | |||||||
11 | # $str =~ s/\n/ {empty_element_suffix}\n/g; |
||||||
12 | # return ' '.$str.' '; |
||||||
13 | 2 | 24 | return ''.$str.''; |
||||
14 | } | ||||||
15 | |||||||
16 | 1; |