blib/lib/String/Errf.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 21 | 76.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
205 | 0 | 2 | 2 | $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'} |
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' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
385 | 5 | 4 | 0 | $zone eq "local" or $zone eq "UTC" |