Subroutine Coverage

blib/lib/Device/CurrentCost.pm
Criterion Covered Total %
subroutine 24 25 96.0
pod 10 10 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
13 5 n/a BEGIN
14 5 n/a BEGIN
15 5 n/a BEGIN
16 5 n/a BEGIN
17 5 n/a BEGIN
18 5 n/a BEGIN
22 13 Yes new
27 0 n/a __ANON__
37 3 Yes device
40 14 Yes type
44 6 Yes baud
50 40 Yes filehandle
53 2 Yes serial_port
57 12 Yes open
85 21 Yes read
108 35 Yes read_one
151 3 Yes sensor_history
160 17 n/a _discard_buffer_check
169 58 n/a _time_now