Condition Coverage

blib/lib/DateTime/Incomplete.pm
Criterion Covered Total %
condition 38 59 64.4


and 3 conditions

line !l l&&!r l&&r condition
220 17 1 0 defined $base and not UNIVERSAL::can($base, 'utc_rd_values')
274 30 10 2 $$self{'base'} and defined $v
300 0 0 0 $_[0]->has_year and $_[0]->has_month
304 0 0 0 $_[0]->has_hour and $_[0]->has_minute
324 18 1 1 not $can and $self->_has($_)
325 1 15 3 $can and not $self->_has($_)
617 11 1 2 defined $$self{'base'} and not exists $param{'base'}
620 10 0 4 defined $param{'base'} and UNIVERSAL::can($param{'base'}, 'utc_rd_values')
648 0 0 4 defined $dt and UNIVERSAL::can($dt, 'utc_rd_values')
676 36 14 0 defined $$self{'base'} and not defined $base
678 0 0 50 defined $base and UNIVERSAL::can($base, 'utc_rd_values')
713 140 20 0 $overflow and $field eq $FIELDS[0]
768 103 32 0 $overflow and $field eq $FIELDS[0]
804 3 2 0 defined $$self{'base'} and not defined $base
806 0 0 5 defined $base and UNIVERSAL::can($base, 'utc_rd_values')
878 6 11 43 exists $$self{'has'}{$_} and defined $$self{'has'}{$_}

or 2 conditions

line l !l condition
543 3 1 shift() || 9

or 3 conditions

line l !l&&r !l&&!r condition
138 6 8 18 not @fields or $fields[0] ne 'year'
660 0 0 14 $key eq 'time_zone' or $key eq 'locale'
846 2 0 3 $start or $end