blib/lib/BBCode/Tag/HR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 2 | 2 | 100.0 |
total | 18 | 18 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # $Id: HR.pm 284 2006-12-01 07:51:49Z chronos $ | ||||||
2 | package BBCode::Tag::HR; | ||||||
3 | 1 | 1 | 5 | use base qw(BBCode::Tag::Block); | |||
1 | 2 | ||||||
1 | 80 | ||||||
4 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 30 | ||||||
5 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 99 | ||||||
6 | our $VERSION = '0.34'; | ||||||
7 | |||||||
8 | sub toBBCode($):method { | ||||||
9 | 1 | 1 | 1 | 5 | return "[HR]"; | ||
10 | } | ||||||
11 | |||||||
12 | sub toHTML($):method { | ||||||
13 | 1 | 1 | 1 | 5 | return " "; |
||
14 | } | ||||||
15 | |||||||
16 | 1; |