blib/lib/Translate/Fluent/ResourceGroup.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 34 | 55.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
152 | 8 | 7 | 0 | not $context and $variables->{'__context'} |
162 | 1 | 1 | 13 | $res and $res->isa('Translate::Fluent::Elements::Message') |
252 | 0 | 40 | 4 | $lang and $lang =~ /\-/ |
line | l | !l | condition |
---|---|---|---|
89 | 0 | 2 | delete $context->{'recursive'} // 0 |
169 | 11 | 2 | $variables // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
61 | 0 | 12 | 0 | $context->{$_} //= $fcontext{$_} |
126 | 10 | 3 | 0 | $context->{$fbo} || ($fbo eq 'language' ? 'dev' : 'default') |
164 | 0 | 13 | 0 | $_ctx ||= 'Translate::Fluent::ResourceGroup::Context'->new('context', $context, 'resgroup', $self) |
195 | 13 | 17 | 0 | $context->{'language'} || $self->default_language |
199 | 13 | 17 | 0 | $context->{$fb} || ($fb eq 'language' ? $lang : 'default') |
223 | 0 | 0 | 0 | $context->{$fbnext} || $fbnext eq 'language' |
248 | 0 | 40 | 0 | $default_lang ||= $self->default_language |