| blib/lib/ACME/2026.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 66 | 21.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 211 | 0 | 0 | 1 | defined $path and length $path |
| 231 | 0 | 0 | 1 | defined $path and length $path |
| 255 | 0 | 0 | 2 | defined $title and length $title |
| 319 | 0 | 0 | 0 | defined $items->[$idx]{'id'} and $items->[$idx]{'id'} == $id |
| 338 | 0 | 0 | 0 | defined $note and length $note |
| 394 | 0 | 0 | 0 | defined $tag and length $tag |
| 475 | 1 | 0 | 0 | @_ == 1 and ref $_[0] eq "HASH" |
| 483 | 0 | 0 | 2 | defined $plan->{'title'} and length $plan->{'title'} |
| 490 | 0 | 0 | 4 | defined $item->{'id'} and $item->{'id'} > $max_id |
| 576 | 0 | 0 | 1 | defined $note and length $note |
| 596 | 0 | 0 | 0 | defined $sort and length $sort |
| 671 | 0 | 0 | 1 | defined $path and length $path |
| line | l | !l | condition |
|---|---|---|---|
| 620 | 0 | 0 | $ACME::2026::a->{'created_at'} || '' |
| 0 | 0 | $ACME::2026::b->{'created_at'} || '' | |
| 627 | 0 | 0 | $ACME::2026::a->{'updated_at'} || '' |
| 0 | 0 | $ACME::2026::b->{'updated_at'} || '' | |
| 634 | 0 | 0 | $ACME::2026::a->{'title'} || '' |
| 0 | 0 | $ACME::2026::b->{'title'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 230 | 1 | 0 | 0 | $path ||= $plan->{'storage'} |
| 299 | 0 | 0 | 0 | exists $attrs{'tags'} or exists $attrs{'tag'} |
| 493 | 2 | 0 | 0 | $plan->{'next_id'} || $max_id + 1 |
| 519 | 0 | 0 | 7 | not defined $status or $status eq "" |
| 520 | 3 | 4 | 0 | $status eq "todo" or $status eq "done" |
| 7 | 0 | 0 | $status eq "todo" or $status eq "done" or $status eq "skipped" |