Condition Coverage

lib/App/TimeTracker/Command/Core.pm
Criterion Covered Total %
condition 9 46 19.5


and 3 conditions

line !l l&&!r l&&r condition
269 0 0 0 $tags and @$tags
376 0 0 0 $+{'year'} and $+{'month'}
460 1 1 0 $self->can('autocomplete') and $self->autocomplete

or 2 conditions

line l !l condition
217 0 0 $task->duration || 'working'
0 0 $task->description_short || ''
277 0 0 $report->{$project}{$tags->[0]}{'desc'} //= ''
298 0 0 $report->{$project}{'_total'} || 0
353 0 0 $data->{$tag}{'desc'} || 'no desc'

or 3 conditions

line l !l&&r !l&&!r condition
27 3 1 0 $self->at || now()
52 6 0 0 $self->at || now()
63 6 0 0 $stop_self->at || now()
154 0 0 0 $self->at || now()
182 0 0 0 $task->seconds // $task->_build_seconds
213 0 0 0 $task->seconds // $task->_build_seconds
252 0 0 0 $task->seconds // $task->_build_seconds
398 2 0 0 $cwd ||= 'Path::Class::Dir'->new->absolute
620 1 3 0 $self->this || $self->last