blib/lib/TimeSeries/AdaptiveFilter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 32 | 71.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
125 | 119 | 94 | 98 | @lookback > $floor and $lookback[0][0] < $epoch - $lookback_period |
143 | 3 | 169 | 1 | @minute and $minute[0] < $epoch - 60 |
172 | 0 | 1 | @minute and $minute[0] < $epoch - 60 and @ads >= $build_up_count | |
156 | 0 | 40 | 41 | @minute and $minute[0] < $epoch - 60 |
174 | 39 | 1 | 0 | not $accepted and $lookback_rejected > $cap * @lookback |
line | l | !l | condition |
---|---|---|---|
86 | 1 | 3 | $params->{'floor'} // 6 |
88 | 0 | 4 | $params->{'cap'} // 0.2 |
90 | 0 | 4 | $params->{'lookback_capacity'} // 20 |
92 | 0 | 4 | $params->{'lookback_period'} // 4 |
93 | 0 | 4 | $params->{'decay_speeds'} // [0.03, 0.01, 0.003] |
94 | 1 | 3 | $params->{'build_up_count'} // 5 |
95 | 0 | 4 | $params->{'reject_criterium'} // 4 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
125 | 80 | 0 | 311 | @lookback > $lookback_capacity or @lookback > $floor and $lookback[0][0] < $epoch - $lookback_period |