blib/lib/Plack/Middleware/I18N.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 9 | 88.8 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 4 | 1 | 6 | $lang ||= $self->_detect_from_session($env) |
42 | 5 | 1 | 5 | $lang ||= $self->_detect_from_header($env) |
45 | 6 | 6 | 0 | $lang ||= $self->i18n->default_language |