blib/lib/CLDR/Number/Role/Format.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 25 | 72.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
175 | 0 | 0 | 102 | not defined $num_subpattern and $nonquoted =~ / ^ ( .*? ) # pre\342\200\223number pattern ( (?: \* \X )? [\@#0-9,.]+ ) # number pattern ( .* ) $ # post\342\200\223number pattern /x |
272 | 32 | 127 | 96 | $primary_group and $primary_group + $self->minimum_grouping_digits <= CORE::length $int |
line | l | !l | condition |
---|---|---|---|
290 | 255 | 0 | CORE::length $int || 0 |
295 | 205 | 50 | CORE::length $frac || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
135 | 41 | 0 | 205 | $cache->{'attribute'}{$input_pattern} || $cache->{'pattern'}{$input_pattern} && $cache->{'attribute'}{$cache->{'pattern'}{$input_pattern}[0]} |
146 | 99 | 0 | 41 | $pattern && $pattern->[1] || $CLDR::Number::Role::Format::N |
150 | 7 | 133 | 0 | $pattern && $pattern->[2] || $CLDR::Number::Role::Format::M . $self->_positive_pattern |
242 | 10 | 7 | 264 | $num == $INF or $num == -$INF |
277 | 7 | 89 | 0 | $self->secondary_grouping_size || $primary_group |