Condition Coverage

blib/lib/Net/ICal/Duration.pm
Criterion Covered Total %
condition 36 52 69.2


and 3 conditions

line !l l&&!r l&&r condition
159 9 0 3 defined $sign && $sign eq '-'
401 6 1 6 $weeks and $days

or 2 conditions

line l !l condition
162 2 6 $weeks || 0
5 3 $days || 0
166 2 5 $hours || 0
4 3 $mins || 0
4 3 $secs || 0
335 5 2 $$self{'nsecs'}{'value'} || 0
336 5 2 $$self{'ndays'}{'value'} || 0
337 7 0 $$self{'sign'}{'value'} || 1
440 2 2 $self->nsecs || 0
441 4 0 $self->ndays || 0
442 4 0 $dur1_nsecs + $dur1_ndays * 60 * 60 * 24 || 0
444 4 0 $dur2->nsecs || 0
445 4 0 $dur2->ndays || 0
446 4 0 $dur2_nsecs + $dur2_ndays * 60 * 60 * 24 || 0

or 3 conditions

line l !l&&r !l&&!r condition
161 2 6 4 defined $weeks or defined $days
165 4 3 5 defined $hours or defined $mins
7 0 5 defined $hours or defined $mins or defined $secs
316 0 0 0 defined $self->nsecs || defined $self->ndays
433 0 0 0 'Net::ICal::Duration'->new($durstring) || warn("Couldn't turn string $durstring into a Net::ICal::Duration")
449 4 0 0 defined $dur1_totalsecs or defined $dur2_totalsecs