blib/lib/App/JobLog/Command/summary.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 36 | 115 | 31.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 15 | 0 | 0 | $opt->{'no_totals'} and $dateless || $opt->{'no_date'} || is_hidden('date') |
0 | 0 | 0 | $opt->{'no_totals'} and $dateless || $opt->{'no_date'} || is_hidden('date') and !single_interval($merge_level) || $opt->{'no_time'} || is_hidden('time') | |
0 | 0 | 0 | $opt->{'no_totals'} and $dateless || $opt->{'no_date'} || is_hidden('date') and !single_interval($merge_level) || $opt->{'no_time'} || is_hidden('time') and $opt->{'no_duration'} || is_hidden('duration') | |
0 | 0 | 0 | $opt->{'no_totals'} and $dateless || $opt->{'no_date'} || is_hidden('date') and !single_interval($merge_level) || $opt->{'no_time'} || is_hidden('time') and $opt->{'no_duration'} || is_hidden('duration') and $opt->{'no_tags'} || is_hidden('tags') | |
0 | 0 | 0 | $opt->{'no_totals'} and $dateless || $opt->{'no_date'} || is_hidden('date') and !single_interval($merge_level) || $opt->{'no_time'} || is_hidden('time') and $opt->{'no_duration'} || is_hidden('duration') and $opt->{'no_tags'} || is_hidden('tags') and $opt->{'no_description'} || is_hidden('description') | |
153 | 0 | 0 | 15 | $last_e and $last_e->is_open |
155 | 14 | 1 | 0 | $then->year == $today->year && $then->month == $today->month && $then->day == $today->day |
272 | 0 | 0 | 0 | $t2->{'suffix'} and $t2->{'suffix'} eq 'x' |
422 | 0 | 4 | 0 | @$args and $opt->date |
424 | 4 | 0 | 0 | defined $opt->{'columns'} and $opt->columns < 1 |
line | l | !l | condition |
---|---|---|---|
39 | 6 | 9 | $opt->{'tag'} || [] |
40 | 0 | 15 | $opt->{'exclude_tag'} || [] |
41 | 0 | 15 | $opt->{'match'} || [] |
42 | 0 | 15 | $opt->{'no_match'} || [] |
55 | 11 | 4 | $opt->{'merge'} or '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 15 | 0 | 0 | join(' ', @$args) || $opt->{'date'} |
46 | 15 | 0 | 0 | $time_expr ||= $opt->{'date'} |
86 | 0 | 0 | 15 | $merge_level == &MERGE_ALL() || $merge_level == &MERGE_SAME_TAGS() |
87 | 0 | 0 | 0 | $dateless || $opt->{'no_date'} || is_hidden('date') |
0 | 0 | 0 | !single_interval($merge_level) || $opt->{'no_time'} || is_hidden('time') | |
0 | 0 | 0 | $opt->{'no_duration'} || is_hidden('duration') | |
0 | 0 | 0 | $opt->{'no_tags'} || is_hidden('tags') | |
0 | 0 | 0 | $opt->{'no_description'} || is_hidden('description') | |
110 | 0 | 0 | 15 | $opt->{'no_vacation'} || $opt->{'notes'} |
0 | 0 | 15 | $dateless || $opt->{'no_date'} || is_hidden('date') | |
0 | 0 | 15 | $opt->{'no_time'} || is_hidden('time') | |
0 | 0 | 13 | $opt->{'notes'} || $opt->{'no_duration'} || is_hidden('duration') | |
0 | 0 | 15 | $opt->{'no_tags'} || is_hidden('tags') | |
0 | 0 | 15 | $opt->{'no_description'} || is_hidden('description') | |
2 | 0 | 13 | $opt->{'notes'} || $opt->{'no_totals'} | |
183 | 6 | 0 | 9 | %tags or %excluded_tags |
6 | 0 | 9 | %tags or %excluded_tags or @no_match | |
0 | 0 | 9 | %tags or %excluded_tags or @no_match or @match | |
0 | 0 | 9 | %tags or %excluded_tags or @no_match or @match or $time | |
187 | 8 | 0 | 0 | %tags or %excluded_tags |
191 | 1 | 6 | 2 | $good ||= $tags{$t} |
195 | 0 | 0 | 6 | @no_match or @match |
268 | 0 | 0 | 0 | $t2->{'hour'} < $t1->{'hour'} or $t2->{'minute'} < $t1->{'minute'} |
0 | 0 | 0 | $t2->{'hour'} < $t1->{'hour'} or $t2->{'minute'} < $t1->{'minute'} or $t2->{'second'} < $t1->{'second'} | |
420 | 4 | 0 | 0 | @$args or $opt->date |