| blib/lib/Net/PulseMeter/Sensor/Timelined/Indicator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 11 | 11 | 100.0 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 | 
| pod | 0 | 1 | 0.0 | 
| total | 15 | 16 | 93.7 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package Net::PulseMeter::Sensor::Timelined::Indicator; | ||||||
| 2 | 1 | 1 | 849 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 36 | ||||||
| 3 | 1 | 1 | 7 | use warnings 'all'; | |||
| 1 | 3 | ||||||
| 1 | 46 | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 6 | use base qw/Net::PulseMeter::Sensor::Timeline/; | |||
| 1 | 1 | ||||||
| 1 | 651 | ||||||
| 6 | |||||||
| 7 | sub aggregate_event { | ||||||
| 8 | 2 | 2 | 0 | 4 | my ($self, $key, $value) = @_; | ||
| 9 | 2 | 6 | $self->r->set($key, $value); | ||||
| 10 | } | ||||||
| 11 | |||||||
| 12 | 1; |