| blib/lib/FormValidator/LazyWay/Fix/URI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 11 | 11 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 15 | 16 | 93.7 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package FormValidator::LazyWay::Fix::URI; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 5 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 34 | ||||||
| 4 | 1 | 1 | 5 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 22 | ||||||
| 5 | 1 | 1 | 3389 | use URI; | |||
| 1 | 6283 | ||||||
| 1 | 13 | ||||||
| 6 | |||||||
| 7 | sub format { | ||||||
| 8 | 1 | 1 | 0 | 1 | my $text = shift; | ||
| 9 | |||||||
| 10 | 1 | 5 | return URI->new($text); | ||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | 1; |