blib/lib/Mail/Karmasphere/Parser/Simple/IPList.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::IPList; | ||||||
2 | |||||||
3 | 2 | 2 | 2357 | use strict; | |||
2 | 6 | ||||||
2 | 77 | ||||||
4 | 2 | 2 | 12 | use warnings; | |||
2 | 2 | ||||||
2 | 73 | ||||||
5 | 2 | 2 | 12 | use base 'Mail::Karmasphere::Parser::Simple::List'; | |||
2 | 4 | ||||||
2 | 799 | ||||||
6 | |||||||
7 | 1 | 1 | 4 | sub _streams { "ip4" } | |||
8 | |||||||
9 | 1 | 1 | 8 | sub _type { "ip4" } | |||
10 | |||||||
11 | 0 | 0 | 0 | sub my_format { "simple.iplist" } # the source table's "magic" field | |||
12 | |||||||
13 | 1; |