Branch Coverage

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


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