Branch Coverage

blib/lib/NBI/EcoScheduler.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
94 8 11 $w_start > $now + 60 ? :
95 8 11 if $candidate >= $w_end
100 6 5 if ($fits and not $overlaps) { }
2 3 elsif (not $overlaps) { }
106 3 6 defined $day_t3 ? :
2 9 defined $day_t2 ? :
5 11 defined $day_t1 ? :
110 6 10 unless defined $day_best
113 8 2 if (not defined $best_epoch) { }
0 2 elsif ($day_tier < $best_tier) { }
123 7 3 if $best_tier <= 2
126 8 1 if defined $best_epoch
142 2 3 if $secs <= 60
146 1 2 if $days
147 1 1 if $hours
161 3 13 $is_weekend ? :
179 39 0 if ($part =~ /^(\d{1,2}):(\d{2})-(\d{1,2}):(\d{2})$/) { }
199 5 10 if $start < $b and $end > $a