blib/lib/Mail/Karmasphere/Parser/Simple/DomainList.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 12 | 91.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 0 | 1 | 0.0 |
total | 16 | 19 | 84.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mail::Karmasphere::Parser::Simple::DomainList; | ||||||
2 | |||||||
3 | 2 | 2 | 2305 | use strict; | |||
2 | 4 | ||||||
2 | 70 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 35 | ||||||
2 | 61 | ||||||
5 | 2 | 2 | 9 | use base 'Mail::Karmasphere::Parser::Simple::List'; | |||
2 | 5 | ||||||
2 | 1105 | ||||||
6 | |||||||
7 | 1 | 1 | 4 | sub _streams { "domain" } | |||
8 | |||||||
9 | 1 | 1 | 4 | sub _type { "domain" } | |||
10 | |||||||
11 | 0 | 0 | 0 | sub my_format { "simple.domainlist" } # the source table's "magic" field | |||
12 | |||||||
13 | 1; |