blib/lib/String/Errf.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 15 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
116 | 11 | 5 | 53 | defined $args[0] && length $args[0] && !($args[0] =~ /=/) |
166 | 43 | 0 | 11 | defined $$arg{'precision'} and length $$arg{'precision'} |
line | l | !l | condition |
---|---|---|---|
112 | 69 | 0 | $parse_compact ||= sub { Carp::croak('no compact format allowed, but compact format found'); } |
185 | 6 | 3 | $$arg{'type'} || 'datetime' |
186 | 4 | 5 | $$arg{'tz'} || 'local' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
194 | 5 | 4 | 0 | $zone eq 'local' or $zone eq 'UTC' |