Condition Coverage

blib/lib/Set/Streak.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
197 2 3 3 defined $streak->[1] and not $streak->[1] == $cur_period

or 3 conditions

line l !l&&r !l&&!r condition
131 1 1 0 $args{'start_period'} == $prev_period or $args{'start_period'} == $prev_period + 1
146 4 6 10 not defined $streak->[1] or $streak->[1] == $prev_period
184 6 22 0 $streaks{$key}[1] //= $period
219 21 9 4 $streak_b->[0] <=> $streak_a->[0] or $start_a <=> $start_b