blib/lib/Perinci/Object/Metadata.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 23 | 91.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
96 | 2 | 1 | 3 | @_ and ref $_[0] eq 'HASH' |
107 | 2 | 1 | 3 | @_ and ref $_[0] eq 'HASH' |
118 | 2 | 1 | 3 | @_ and ref $_[0] eq 'HASH' |
129 | 2 | 1 | 3 | @_ and ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
22 | 19 | 0 | $meta //= {} |
29 | 5 | 3 | ${$self;}->{'v'} // 1 |
51 | 5 | 34 | ${$self;}->{'default_lang'} // 'en_US' |
56 | 1 | 38 | $opts->{'mark_different_lang'} // 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 2 | 15 | 0 | $opts->{'lang'} || $ENV{'LANGUAGE'} || $ENV{'LANG'} || $deflang |