Branch Coverage

lib/Kephra/Config/Global.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
12 0 0 if ref $conf eq 'HASH'
18 0 0 unless ref $conf eq 'HASH'
24 0 0 unless $file
26 0 0 unless -r $file
33 0 0 defined $_[0] ? :
34 0 0 defined $_[0] ? :
43 0 0 if (-e $file)
45 0 0 if ref $config_tree eq 'HASH'
46 0 0 if (exists $settings{'about'}{'version'} and $settings{'about'}{'version'} ne $Kephra::VERSION)
56 0 0 if %settings
62 0 0 %settings ? :
98 0 0 if -e $file_name
117 0 0 if $Kephra::BENCHMARK
129 0 0 if $Kephra::BENCHMARK
136 0 0 if $Kephra::BENCHMARK
155 0 0 if $Kephra::BENCHMARK
174 0 0 if (-e $configfile) { }
177 0 0 if (%test_hash) { }
204 0 0 if ($config_path eq substr($file_path, 0, $l_path))
210 0 0 if (&$match($file_path, auto_file(), $$conf{'localisation_file'}, $$conf{'commandlist'}{'file'}))
214 0 0 if (&$match($file_path, $$conf{'menubar'}{'file'}))
217 0 0 if (&$match($file_path, $$conf{'toolbar'}{'main'}{'file'}))
220 0 0 if (&$match($file_path, $$conf{'toolbar'}{'search'}{'file'}))
226 0 0 if (&$match($file_path, Kephra::Config::path_from_node($settings{'file'}{'templates'})))
229 0 0 if Kephra::Document::Data::get_attribute('config_file')
245 0 0 if length $file_name > 0
262 0 0 if (-e $file)