blib/lib/Email/Blaster/Event.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | package Email::Blaster::Event; | ||||||
3 | |||||||
4 | 1 | 1 | 5 | use strict; | |||
1 | 3 | ||||||
1 | 25 | ||||||
5 | 1 | 1 | 5 | use warnings 'all'; | |||
1 | 1 | ||||||
1 | 27 | ||||||
6 | 1 | 1 | 4 | use base 'Email::Blaster::Model'; | |||
1 | 3 | ||||||
1 | 30 | ||||||
7 | |||||||
8 | __PACKAGE__->set_up_table('events'); | ||||||
9 | |||||||
10 | __PACKAGE__->has_a( | ||||||
11 | event_type => | ||||||
12 | 'Email::Blaster::Event::Type' => | ||||||
13 | 'event_type_id' | ||||||
14 | ); | ||||||
15 | |||||||
16 | 1;# return true: | ||||||
17 |