blib/lib/WoW/Armory/Class/Time.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WoW::Armory::Class::Time; | ||||||
2 | |||||||
3 | 2 | 2 | 12 | use strict; | |||
2 | 3 | ||||||
2 | 70 | ||||||
4 | 2 | 2 | 10 | use warnings; | |||
2 | 4 | ||||||
2 | 63 | ||||||
5 | |||||||
6 | ######################################################################## | ||||||
7 | package WoW::Armory::Class::Time; | ||||||
8 | |||||||
9 | 2 | 2 | 11 | use base 'WoW::Armory::Class'; | |||
2 | 4 | ||||||
2 | 1385 | ||||||
10 | |||||||
11 | 2 | 121 | use constant FIELDS => [ | ||||
12 | 'hours', 'milliseconds', 'minutes', 'seconds', 'time' | ||||||
13 | 2 | 2 | 13 | ]; | |||
2 | 3 | ||||||
14 | |||||||
15 | __PACKAGE__->mk_accessors; | ||||||
16 | |||||||
17 | 1; |