Condition Coverage

lib/DateTimeX/Web.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
80 35 0 2 &blessed($zone) && $zone->isa('DateTime::TimeZone')
92 34 0 2 &blessed($locale) && ($locale->isa('DateTime::Locale::root') || $locale->isa('DateTime::Locale::FromData'))
257 4 3 0 @_ == 1 and &blessed($_[0])
7 0 0 @_ == 1 and &blessed($_[0]) and $_[0]->isa('DateTime')

or 2 conditions

line l !l condition
35 9 22 $config{'on_error'} ||= 'croak'
48 1 23 $config{'time_zone'} || delete $config{'timezone'} || 'UTC'
49 3 28 $config{'locale'} || 'en-US'

or 3 conditions

line l !l&&r !l&&!r condition
272 10 0 0 $options ||= $self->{'config'}