Condition Coverage

blib/lib/TimeSeries/AdaptiveFilter.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

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

or 2 conditions

line l !l condition
85 1 3 $params->{'floor'} // 6
87 0 4 $params->{'cap'} // 0.2
89 0 4 $params->{'lookback_capacity'} // 20
91 0 4 $params->{'lookback_period'} // 4
92 0 4 $params->{'decay_speeds'} // [0.03, 0.01, 0.003]
93 1 3 $params->{'build_up_count'} // 5
94 0 4 $params->{'reject_criterium'} // 4

or 3 conditions

line l !l&&r !l&&!r condition
125 80 0 311 @lookback > $lookback_capacity or @lookback > $floor and $lookback[0][0] < $epoch - $lookback_period