Condition Coverage

blib/lib/XML/Loy/Date/RFC3339.pm
Criterion Covered Total %
condition 17 32 53.1


and 3 conditions

line !l l&&!r l&&r condition
49 29 2 14 $date =~ /^[\d_]+$/ and $date > 5000
99 28 0 3 uc $offset ne 'Z' and my($os_dir, $os_hour, $os_min) = $offset =~ /$OFFSET_RE/
145 0 42 0 $s .= '-%02d' and push @a, $month + 1
146 0 40 0 $s .= '-%02d' and push @a, $mday
147 0 38 0 $s .= 'T%02d:%02d' and push @a, $hour, $min
148 0 36 0 $s .= ':%02d' and push @a, $sec
163 0 0 45 $_[0] and $_[0] =~ /^[_\d]+$/
183 0 0 85 defined $_[0] and grep {$_[0] == $_;} 0..4

or 2 conditions

line l !l condition
81 1 5 $offset ||= 'Z'

or 3 conditions

line l !l&&r !l&&!r condition
134 10 5 30 $_[0] // $self->granularity
137 45 0 0 $self->epoch // time