| blib/lib/Kwiki/Textile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 4 | 6 | 66.6 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 |
| pod | n/a | ||
| total | 6 | 8 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Kwiki::Textile; | ||||||
| 2 | 2 | 2 | 93583 | use v5.6.1; | |||
| 2 | 11 | ||||||
| 2 | 107 | ||||||
| 3 | 2 | 2 | 2499 | use Text::Textile 'textile'; | |||
| 0 | |||||||
| 0 | |||||||
| 4 | our $VERSION = '0.01'; | ||||||
| 5 | |||||||
| 6 | use constant | ||||||
| 7 | class_id => 'formatter', | ||||||
| 8 | class_title => 'Kwiki Textile Formatter'; | ||||||
| 9 | |||||||
| 10 | sub new { bless {} } | ||||||
| 11 | sub init {} | ||||||
| 12 | |||||||
| 13 | sub text_to_html { | ||||||
| 14 | my $self = shift; | ||||||
| 15 | return textile(shift); | ||||||
| 16 | } | ||||||
| 17 | |||||||
| 18 | __END__ |