blib/lib/Date/ICal/Duration.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 33 | 87.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
310 | 3 | 0 | 2 | $weeks and $days |
469 | 4 | 4 | 2 | defined $sign && $sign eq '-' |
line | l | !l | condition |
---|---|---|---|
257 | 6 | 0 | $self->{'nsecs'} || 0 |
258 | 3 | 3 | $self->{'ndays'} || 0 |
259 | 6 | 0 | $self->{'sign'} || 1 |
434 | 0 | 7 | $sign_str ||= "+" |
472 | 3 | 4 | $weeks || 0 |
6 | 1 | $days || 0 | |
476 | 5 | 4 | $hours || 0 |
5 | 4 | $minutes || 0 | |
7 | 2 | $seconds || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
471 | 3 | 4 | 3 | defined $weeks or defined $days |
475 | 5 | 1 | 4 | defined $hours or defined $minutes |
6 | 3 | 1 | defined $hours or defined $minutes or defined $seconds |