Condition Coverage

lib/App/TimeTracker/Command/Core.pm
Criterion Covered Total %
condition 11 51 21.5


and 3 conditions

line !l l&&!r l&&r condition
301 0 0 0 $tags and @$tags
446 0 0 0 $+{'year'} and $+{'month'}
535 1 1 0 $self->can("autocomplete") and $self->autocomplete

or 2 conditions

line l !l condition
232 0 0 join(', ', @{$task->tags;}) || ' '
233 0 0 $task->duration || 'working'
238 0 0 $task->description_short || ' '
310 0 0 $report->{$project}{$tags->[0]}{'desc'} //= ""
335 3 0 $report->{$project}{'_total'} || 0
423 0 0 $data->{$tag}{'desc'} || 'no desc'

or 3 conditions

line l !l&&r !l&&!r condition
29 3 1 0 $self->at || now()
55 6 0 0 $self->at || now()
68 6 0 0 $stop_self->at || now()
157 0 0 0 $self->at || now()
187 0 0 0 $task->seconds // $task->_build_seconds
217 0 0 0 $LIST_FORMATS{$format} || $LIST_FORMATS{'default'}
227 0 0 0 $task->seconds // $task->_build_seconds
269 5 0 0 $task->seconds // $task->_build_seconds
467 7 0 0 $cwd ||= "Path::Class::Dir"->new->absolute
740 3 3 0 $self->this || $self->last