Condition Coverage

blib/lib/YATT/Lite/WebMVC0/Partial/LangSwitch.pm
Criterion Covered Total %
condition 0 20 0.0


and 3 conditions

line !l l&&!r l&&r condition
39 0 0 0 not $user and my $sub = $self->can('load_current_user')
54 0 0 0 $user and $sub = $user->can('pref_lang')
0 0 0 $user and $sub = $user->can('pref_lang') and my $ul = &$sub($user)

or 2 conditions

line l !l condition
20 0 0 $self->{'cf_default_lang'} // 'en'

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 not $ck_lang or $ck_lang ne $lang
66 0 0 0 $con->accept_language('filter', $self->{'cf_lang_list'} // ['en', 'ja']) || $yatt->default_lang
0 0 0 $lang ||= $con->accept_language('filter', $self->{'cf_lang_list'} // ['en', 'ja']) || $yatt->default_lang