Condition Coverage

blib/lib/String/Errf.pm
Criterion Covered Total %
condition 15 21 71.4


and 3 conditions

line !l l&&!r l&&r condition
205 0 4 0 $arg and $arg->{'on_undef'}
286 72 0 2 not defined $hunk->{'replacement'} and my $on_undef = $self->{'String::Errf'}{'on_undef'}
307 11 5 53 defined $args[0] && length $args[0] && !($args[0] =~ /=/)
358 43 0 11 defined $arg->{'precision'} and length $arg->{'precision'}

or 2 conditions

line l !l condition
303 69 0 $parse_compact ||= sub { Carp::croak('no compact format allowed, but compact format found'); }
376 6 3 $arg->{'type'} || 'datetime'
377 4 5 $arg->{'tz'} || 'local'

or 3 conditions

line l !l&&r !l&&!r condition
385 5 4 0 $zone eq 'local' or $zone eq 'UTC'