| lib/App/TimeTracker/Command/Core.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 51 | 21.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 279 | 0 | 0 | 0 | $tags and @$tags |
| 386 | 0 | 0 | 0 | $+{'year'} and $+{'month'} |
| 470 | 1 | 1 | 0 | $self->can('autocomplete') and $self->autocomplete |
| line | l | !l | condition |
|---|---|---|---|
| 226 | 0 | 0 | join(', ', @{$task->tags;}) || ' ' |
| 227 | 0 | 0 | $task->duration || 'working' |
| 232 | 0 | 0 | $task->description_short || ' ' |
| 287 | 0 | 0 | $report->{$project}{$tags->[0]}{'desc'} //= '' |
| 308 | 3 | 0 | $report->{$project}{'_total'} || 0 |
| 363 | 0 | 0 | $data->{$tag}{'desc'} || 'no desc' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 28 | 3 | 1 | 0 | $self->at || now() |
| 53 | 6 | 0 | 0 | $self->at || now() |
| 64 | 6 | 0 | 0 | $stop_self->at || now() |
| 155 | 0 | 0 | 0 | $self->at || now() |
| 183 | 0 | 0 | 0 | $task->seconds // $task->_build_seconds |
| 211 | 0 | 0 | 0 | $LIST_FORMATS{$format} || $LIST_FORMATS{'default'} |
| 221 | 0 | 0 | 0 | $task->seconds // $task->_build_seconds |
| 262 | 5 | 0 | 0 | $task->seconds // $task->_build_seconds |
| 408 | 2 | 0 | 0 | $cwd ||= 'Path::Class::Dir'->new->absolute |
| 636 | 3 | 3 | 0 | $self->this || $self->last |