Branch Coverage

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


line true false branch
13 0 0 if (defined $_[0]) { }
16 0 0 if $_[0]
19 0 0 unless (-f $path)
27 0 0 unless defined $node and ref $node eq 'HASH'
28 0 0 if (exists $$node{'file'}) { }
29 0 0 if (exists $$node{'directory'}) { }
40 0 0 unless (-d $path)
49 0 0 unless defined $given and $given and @_
51 0 0 if defined $path and index(standartize_path_slashes($path), $given) > -1
70 0 0 unless defined $string
74 0 0 if ($string =~ /^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i)
79 0 0 if ($string =~ /^(\d+),(\d+),(\d+)$/)
91 0 0 unless (defined $name)
95 0 0 unless $name =~ /\.xpm$/
98 0 0 unless -e $path
101 0 0 unless ($bitmap)
111 0 0 if ($^O eq 'MSWin32')
112 0 0 if (Kephra::API::settings()->{'app'}{'xp_style'} eq '1' and not -r $xp_def_file)
116 0 0 if (Kephra::API::settings()->{'app'}{'xp_style'} eq '0' and -r $xp_def_file)
141 0 0 $^O =~ /win/i ? :