| blib/lib/TaskForest/Calendar.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 35 | 42 | 83.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 195 | 0 | 1 | 305 | $y and $m |
| 1 | 0 | 305 | $y and $m and $d | |
| 206 | 2 | 104 | 0 | $y eq '*' || $y == $$today{'year'} and $m eq '*' || $m == $$today{'mon'} |
| 6 | 98 | 0 | $y eq '*' || $y == $$today{'year'} and $m eq '*' || $m == $$today{'mon'} and $d eq '*' || $d == $$today{'mday'} | |
| 228 | 67 | 0 | 28 | defined $nth and defined $dow |
| 241 | 21 | 2 | 1 | $nth == 4 and scalar @$dates < 5 |
| 297 | 7701 | 532 | 184 | $m == 2 and $dt->is_leap_year |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 125 | 77 | 12 | 726 | $match eq '+' or $match eq '-' |
| 156 | 769 | 20 | 26 | $components[0] eq '+' or $components[0] eq '-' |
| 198 | 0 | 99 | 53 | $m < 1 or $m > 12 |
| 199 | 0 | 1 | 15 | $d < 1 or $d > 31 |
| 206 | 56 | 48 | 2 | $y eq '*' || $y == $$today{'year'} |
| 52 | 46 | 6 | $m eq '*' || $m == $$today{'mon'} | |
| 83 | 12 | 3 | $d eq '*' || $d == $$today{'mday'} |