line |
true |
false |
branch |
107
|
5 |
6 |
unless defined $args{'seconds'} |
112
|
13 |
42 |
if (defined $args{$_}) |
114
|
13 |
0 |
if ($args{$_} =~ /-?[0-9]+$/) { } |
115
|
6 |
7 |
if ($args{$_} < 0) |
120
|
7 |
6 |
unless ($_ eq "seconds") |
129
|
2 |
9 |
if (defined $args{'sign'}) |
132
|
2 |
0 |
if ($args{'sign'} =~ /[+-]/) { } |
134
|
0 |
2 |
$args{'sign'} eq '+' ? : |
135
|
0 |
2 |
$args{'sign'} eq '+' ? : |
146
|
1 |
10 |
if ($seconds_only) { } |
|
4 |
6 |
elsif (defined $args{'ical'}) { } |
|
6 |
0 |
elsif (not $seconds_only) { } |
158
|
1 |
10 |
unless %args |
189
|
2 |
3 |
unless $w |
200
|
0 |
4 |
unless $d |
210
|
0 |
4 |
unless $h |
221
|
0 |
4 |
unless $m |
232
|
0 |
4 |
unless $s |
301
|
7 |
0 |
if (my $ar_hms = $self->_hms) |
308
|
5 |
2 |
if (defined $ar_wd) |
310
|
2 |
3 |
if ($weeks and $days) { } |
|
0 |
3 |
elsif ($weeks) { } |
320
|
2 |
5 |
$self->{'sign'} < 0 ? : |
327
|
6 |
1 |
!($value =~ /PT?$/) ? : |
428
|
0 |
7 |
unless (defined $magic) |
435
|
0 |
7 |
$sign_str eq '-' ? : |
469
|
2 |
8 |
defined $sign && $sign eq '-' ? : |
471
|
7 |
3 |
if (defined $weeks or defined $days) |
475
|
4 |
1 |
if (defined $hours or defined $minutes or defined $seconds) |
493
|
0 |
1 |
$seconds < 0 ? : |
519
|
9 |
20 |
if (defined $hms_arrayref) |
526
|
29 |
0 |
if (defined $nsecs) { } |
552
|
7 |
20 |
if (defined $wd_arrayref) |
560
|
25 |
2 |
if (defined(my $ndays = $self->{'ndays'})) { } |