Subroutine Coverage

blib/lib/Device/CurrentCost/Message.pm
Criterion Covered Total %
subroutine 30 30 100.0
pod 21 21 100.0


line count pod subroutine
1 5 n/a BEGIN
2 5 n/a BEGIN
8 5 n/a BEGIN
10 5 n/a BEGIN
11 5 n/a BEGIN
12 5 n/a BEGIN
16 18 Yes new
24 5 Yes device_type
32 19 Yes device
39 19 Yes device_version
45 15 n/a _find_device
54 187 Yes message
57 191 n/a _parse_field
71 5 Yes dsb
75 5 Yes days_since_boot
79 4 Yes time
90 5 Yes time_in_seconds
98 5 Yes boot_time
103 9 Yes sensor
106 8 Yes id
109 5 Yes type
112 3 Yes tmpr
115 3 Yes temperature
118 59 Yes has_history
121 21 Yes has_readings
125 76 Yes units
132 56 Yes value
146 15 Yes summary
178 24 Yes history
199 101 n/a _parse_history