line | % | coverage | branch |
48 | 0 | T | F | @_ ? : |
50 | 0 | T | F | if ($interface ne 'intranet') { } |
57 | 0 | T | F | 'C4::Context'->config('template_cache_dir') ? : |
| 0 | T | F | 'C4::Context'->config('template_cache_dir') ? : |
| 0 | T | F | unless my $template = 'Template'->new({'EVAL_PERL', 1, 'ABSOLUTE', 1, 'PLUGIN_BASE', 'Koha::Template::Plugin', 'COMPILE_EXT', 'C4::Context'->config('template_cache_dir') ? '.ttc' : '', 'COMPILE_DIR', 'C4::Context'->config('template_cache_dir') ? 'C4::Context'->config('template_cache_dir') : '', 'INCLUDE_PATH', ["$htdocs/$theme/$lang/includes", "$htdocs/$theme/en/includes"], 'FILTERS', {}}) |
91 | 0 | T | F | if ($self->interface eq 'intranet') { } |
99 | 0 | T | F | 'C4::Context'->preference('yuipath') eq 'local' ? : |
103 | 0 | T | F | $$self{'interface'} ne 'intranet' ? : |
115 | 0 | T | F | if (ref $$vars{$k} eq 'ARRAY') { } |
| 0 | T | F | elsif (ref $$vars{$k} eq 'HASH') { } |
122 | 0 | T | F | if utf8::is_utf8($$vars{$k}) |
127 | 0 | T | F | unless $template->process($self->filename, $vars, \$data) |
135 | 0 | T | F | if (ref $element eq 'ARRAY') |
139 | 0 | T | F | if (ref $element eq 'HASH') |
143 | 0 | T | F | if utf8::is_utf8($element) |
150 | 0 | T | F | if (ref $$hashref{$key} eq 'ARRAY') |
154 | 0 | T | F | if (ref $$hashref{$key} eq 'HASH') |
158 | 0 | T | F | if utf8::is_utf8($$hashref{$key}) |
182 | 0 | T | F | if (ref $val eq 'ARRAY' and not scalar @$val) { } |
| 0 | T | F | elsif (ref $val eq 'HASH' and not scalar %$val) { } |
184 | 0 | T | F | if ($key) { } |
212 | 0 | T | F | $is_intranet ? : |
218 | 0 | T | F | unless (-f $filename) |
228 | 0 | T | F | unless $query |
236 | 0 | T | F | $is_intranet ? : |
239 | 0 | T | F | 'C4::Context'->preference('yuipath') eq 'local' ? : |
| 0 | T | F | $is_intranet ? : |
252 | 0 | T | F | if $$current_lang{'script'} |
258 | 0 | T | F | if $$sublang{'enabled'} |
262 | 0 | T | F | $num_languages_enabled <= 1 ? : |
| 0 | T | F | unless @$languages_loop < 2 |
275 | 0 | T | F | unless $query |
282 | 0 | T | F | $is_intranet ? : |
288 | 0 | T | F | if (-e "$htdocs/$theme/$lang/modules/$tmpl") |
317 | 0 | T | F | $is_intranet ? : |
323 | 0 | T | F | if ($query->cookie('KohaOpacLanguage')) |
329 | 0 | T | F | unless ($lang) |
336 | 0 | T | F | unless first sub {
$_ eq $lang;
}
, @languages |
339 | 0 | T | F | unless $lang |