blib/lib/Text/HikiDoc/Plugin/sup.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | 1 | 2 | 50.0 |
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::sup; | ||||||
2 | |||||||
3 | 1 | 1 | 3 | use strict; | |||
1 | 2 | ||||||
1 | 21 | ||||||
4 | 1 | 1 | 15 | use warnings; | |||
1 | 1 | ||||||
1 | 18 | ||||||
5 | 1 | 1 | 3 | use base 'Text::HikiDoc::Plugin'; | |||
1 | 1 | ||||||
1 | 4 | ||||||
6 | |||||||
7 | sub to_html { | ||||||
8 | 3 | 3 | 1 | 2 | my $self = shift; | ||
9 | 3 | 50 | 6 | my $str = shift || ''; | |||
10 | |||||||
11 | 3 | 31 | return ''.$str.''; | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |