Condition Coverage

blib/lib/Locale/CLDR.pm
Criterion Covered Total %
condition 78 217 35.9


and 3 conditions

line !l l&&!r l&&r condition
1152 74 20 0 @_ > 1 and ref $_[-1] eq 'HASH'
1156 21 0 73 1 == @_ and not ref $_[0]
1186 91 0 3 defined $args{'extensions'} and not ref $args{'extensions'}
1637 1 3 3 ref $name and not $name->script_id
1705 2 7 0 ref $name and not $name->region_id
1814 0 0 3 defined $return and length $return
2095 41 0 119 !$grapheme_split && length $gc
2333 0 0 1 $outer > -1 and $inner > -1
0 0 1 $outer > -1 and $inner > -1 and $outer < $inner
2486 732 0 6 not $format and my($dividend, $divisor) = $what =~ /^(.+)-per-(.+)$/u
2820 0 0 0 length $rule->{'before'} and not $text =~ /$rule->{'before'}\G/u
4193 10 1 1 defined $default_currency_format and $default_currency_format ne 'standard'
11 1 0 defined $default_currency_format and $default_currency_format ne 'standard' and $default_currency_format ne 'account'
4404 0 0 0 $type ne 'standard' and not $override
4416 0 0 0 ref $self->extensions and $self->extensions->{'co'}
4430 0 0 0 ref $self->extensions and $self->extentions->{'ka'}
4444 0 0 0 ref $self->extensions and $self->extensions->{'kb'}
4458 0 0 0 ref $self->extensions and $self->extensions->{'kc'}
4472 0 0 0 ref $self->extensions and $self->extensions->{'kf'}
4486 0 0 0 ref $self->extensions and $self->extensions->{'kk'}
4500 0 0 0 ref $self->extensions and $self->extensions->{'kn'}
4514 0 0 0 ref $self->extensions and $self->extensions->{'kr'}
4519 0 0 0 ref($collation_reorder = $bundle->collation_reorder) and @$collation_reorder
4528 0 0 0 ref $self->extensions && $self->extensions->{'ks'}
4548 0 0 0 ref $self->extensions and $self->extensions->{'kv'}

or 2 conditions

line l !l condition
572 0 0 $self->likely_subtag->script || ''
599 0 0 $self->likely_subtag->region || ''
1200 90 4 $args{'language_id'} //= 'und'
1439 0 0 $self->language_name($for) // ''
1785 2 1 $variant // ''
1804 1 2 $key_aliases{$key} // ''
1805 2 1 $key_names{$key} // ''
1837 1 2 $key_aliases{$key} // ''
1838 2 1 $key_names{$key} // ''
2322 12 0 $quote{$_} //= ''
2377 1 0 $self->region_id || '001'
2399 1 0 $self->region_id || '001'
2445 494 244 $type //= 'long'
2501 6 0 $type //= 'long'
2716 0 0 $params{'variant'} // 'Any'
2717 0 0 $params{'text'} // ''
3162 0 3 $type //= 'default'
3598 0 0 $format_data->{$format} // ''
4410 0 0 $override || []
4424 0 0 $collation_type || 'standard'
4438 0 0 $collation_alternate || 'noignore'
4452 0 0 $collation_backwards || 'noignore'
4466 0 0 $collation_case_level || 'false'
4480 0 0 $collation_case_ordering || 'false'
4494 0 0 $collation_normalization || 'true'
4508 0 0 $collation_numeric || 'false'
4522 0 0 $collation_reorder || []
4542 0 0 $collation_strength || 3
4556 0 0 $collation_max_variable || 3

or 3 conditions

line l !l&&r !l&&!r condition
629 0 91 215 $path[$i] eq 'und' or $path[$i] eq 'Any'
785 0 0 0 $for //= $self
1342 0 2 0 $self->region_id || $self->likely_subtag->region_id
0 2 0 $region //= $self->region_id || $self->likely_subtag->region_id
1525 5 1 0 $name //= $self
1566 6 2 0 $name //= $self
1631 6 1 0 $name //= $self
1699 8 1 0 $name //= $self
1767 6 1 0 $name //= $self
1807 1 0 2 exists $valid_keys{$key} or exists $valid_keys{$alias}
0 0 2 exists $valid_keys{$key} or exists $valid_keys{$alias} or exists $valid_keys{$name}
1811 2 1 0 $return //= $bundle->display_name_key->{$alias}
1812 3 0 0 $return //= $bundle->display_name_key->{$name}
1817 0 0 0 $key_names{$name} || $key_names{$alias} || $key_names{$key} || $key
1840 1 0 2 exists $valid_keys{$key} or $valid_keys{$alias}
0 0 2 exists $valid_keys{$key} or $valid_keys{$alias} or $valid_keys{$name}
1845 2 0 1 $bundle->display_name_type->{$key} // $bundle->display_name_type->{$alias}
1 0 0 ($bundle->display_name_type->{$key} // $bundle->display_name_type->{$alias}) // $bundle->display_name_type->{$name}
1910 3 0 0 $locale //= $self
2333 2 0 1 $inner == -1 or $outer > -1 and $inner > -1 and $outer < $inner
2714 0 0 0 $params{'from'} // $self
2728 0 0 0 $transforms->{$variant}{$from}{$to} //= $package->new
3173 3 0 0 $day_period ||= $time < 1200 ? 'am' : 'pm'
3870 0 5 0 $self->region_id || $self->likely_subtag->region_id
0 5 0 $region_id //= $self->region_id || $self->likely_subtag->region_id
4198 2 10 0 $default_currency_format //= $self->default_currency_format
4306 0 9 0 $region_id //= $self->region_id
4334 9 0 0 $currency_id //= $self->default_currency