| blib/lib/Wiktionary/Parser/Section/AlternativeForms.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 10 | 60.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 3 | 66.6 |
| pod | 0 | 1 | 0.0 |
| total | 8 | 14 | 57.1 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Wiktionary::Parser::Section::AlternativeForms; | ||||||
| 2 | |||||||
| 3 | 3 | 3 | 20 | use Wiktionary::Parser::Section; | |||
| 3 | 9 | ||||||
| 3 | 104 | ||||||
| 4 | |||||||
| 5 | 3 | 3 | 18 | use base qw(Wiktionary::Parser::Section); | |||
| 3 | 8 | ||||||
| 3 | 530 | ||||||
| 6 | |||||||
| 7 | sub new { | ||||||
| 8 | 0 | 0 | 0 | my $class = shift; | |||
| 9 | 0 | my %args = @_; | |||||
| 10 | 0 | my $self = bless Wiktionary::Parser::Section->new(%args), $class; | |||||
| 11 | 0 | return $self; | |||||
| 12 | } | ||||||
| 13 | |||||||
| 14 | 1; |