Branch Coverage

lib/Kephra/Config/Localisation.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
12 0 0 if ref $_[0] eq 'HASH'
15 0 0 if _config()->{'directory'}
18 0 0 if (ref $_[0] eq 'HASH') { }
23 0 0 if defined $_[0]
25 0 0 if (defined $_[0]) { }
33 0 0 if defined $file
34 0 0 unless $l and %$l
42 0 0 unless $lang_file
51 0 0 $lang_file eq file_name() ? :
59 0 0 unless ref $l18n_index eq 'HASH'
96 0 0 if -e $index_file
105 0 0 if -d $_
109 0 0 if (exists $old_index{$file_name} and $age == $old_index{$file_name}{'age'})
118 0 0 if eof $FH
129 0 0 if $filedata{'language'} . '.conf' ne $file_name
130 0 0 if defined $filedata{'purpose'} and $filedata{'purpose'} eq 'global localisation' and !defined($Kephra::PATCHLEVEL) || $filedata{'version'} eq $Kephra::VERSION
146 0 0 $lang eq 'de' ? :