| blib/lib/Math/LiveStats.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 25 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 124 | 0 | 0 | 0 | defined $timestamp and defined $value |
| 125 | 0 | 0 | 0 | @{$self->{'data'};} and $self->{'data'}[-1]{'timestamp'} == $timestamp |
| 151 | 0 | 0 | 0 | @{$self->{'data'};} and $self->{'data'}[$stats->{'start_index'}]{'timestamp'} < $window_start |
| 162 | 0 | 0 | 0 | @{$self->{'data'};} and $self->{'data'}[0]{'timestamp'} < $window_start |
| 237 | 0 | 0 | 0 | $before and $after |
| 360 | 0 | 0 | 0 | defined $window and exists $self->{'stats'}{$window} |
| line | l | !l | condition |
|---|---|---|---|
| 226 | 0 | 0 | $self->{'data'}[$stats->{'start_index'}] || undef |
| 481 | 0 | 0 | $stats->{'n'} || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 228 | 0 | 0 | 0 | not $oldest_in_window or $oldest_in_window->{'timestamp'} > $window_start |