Branch Coverage

blib/lib/App/TimelogTxt/Day.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
13 1 4 unless $stamp
14 1 3 unless App::TimelogTxt::Utils::is_datestamp($stamp)
34 7 2 $last ? :
36 6 3 if $last and $last->task
37 6 3 if $last and $last->project
47 0 0 unless ref $project
59 0 0 if $self->is_complete
68 1 6 if ($event->is_stop)
75 2 4 if $$self{'tasks'}{$task}
88 0 1 unless $$tasks{$a}{'proj'} cmp $$tasks{$b}{'proj'}
91 2 2 if ($$curr{'proj'} ne $last_proj)
159 2 2 if ($task =~ s/\@(\S+)\s*//) { }
161 1 1 if ($task) { }