Branch Coverage

blib/lib/Taskwarrior/Kusarigama/Plugin/Command/Progress.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
38 0 0 unless my $goal = $task->{'goal'}
53 1 2 if ($rate > 1) { }
1 1 elsif ($rate > 0.14285714285714285) { }
1 0 elsif ($rate > 0.033333333333333333) { }
78 0 0 unless @tasks
88 0 0 $2 ? :
0 0 !$save ? :
97 0 0 if $save
98 0 0 if $note and $save
99 0 0 if ($progress >= $task->{'goal'}) { }
0 0 elsif ($task->{'due'}) { }
101 0 0 if $save
107 0 0 if ($should_be_at)
115 0 0 if (my $so_far = eval { do { $progress / ($span - $now) } })
120 0 0 if (my $needed = eval { do { ($task->{'goal'} - $progress) / $now } })
125 0 0 if @stats