blib/lib/Wiktionary/Parser/Section/Etymology.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 13 | 14 | 92.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Wiktionary::Parser::Section::Etymology; | ||||||
2 | |||||||
3 | 3 | 3 | 38 | use Wiktionary::Parser::Section; | |||
3 | 23 | ||||||
3 | 88 | ||||||
4 | |||||||
5 | 3 | 3 | 15 | use base qw(Wiktionary::Parser::Section); | |||
3 | 6 | ||||||
3 | 573 | ||||||
6 | |||||||
7 | sub new { | ||||||
8 | 6 | 6 | 0 | 9 | my $class = shift; | ||
9 | 6 | 29 | my %args = @_; | ||||
10 | 6 | 28 | my $self = bless Wiktionary::Parser::Section->new(%args), $class; | ||||
11 | 6 | 26 | return $self; | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |